Spice for Mac redux

Returning to the Spice for Mac problem. Also working on a memory allocation patch. Updates on the Linux hosts and VMs backups.

Backups

This morning, my Synology was completely unresponsive. Investigating a bit, I noticed two things:

  1. The Snapshot Replication tasks were piling up. I think a VM file is changing too quickly for snapshotting to work OK.
  2. On both Big and Muse, there were dozens of rsync jobs piling up… Ooops 😦

So I decided to change my backup strategy:

  1. I modified my backup scripts to use flock, so that only one rsync per machine is active at a time. Otherwise, since I’m using rsync --delete to make sure that my backup does not keep files I removed locally (keeping them in the history is why I have snapshots), two simultaneous rsync collide into one another, one deleting the temporary files that the other creates. Ouch. Using flock allows me to keep a high backup frequency (every 5 minutes), while ensuring that if a large file is modified, enough time is spent copying it.
  2. I moved the backups of VM image files to a separate shared folder, with a much lower snapshot replication schedule (once a day instead of every 5 minutes).

WordPress overwrite

Later notes were lost because I saved from a window that had an older version of the post 😦 From memory, there was:

Investigation of a problem regarding tearing with video rendering, which Marc-André says is a problem on the Mesa side.

Investigation of networking issues with my guests. Apparently, when “something” happens outside, e.g. DNS / DHCP server not responding or something like that, then I lose user bridged networking, and have to reboot. Investigation later showed that the tap0 and tap1 interfaces are gone. Not sure why. Rebooting fixes it, but I wish there was a better way.

 

Advertisements

Author: Christophe de Dinechin

I try to change the world, but that's work in progress. If you want to know me, google "Christophe de Dinechin". Keywords: concept programming, virtualization, OS design, programming languages, video games, 3D, modern physics. Some stuff I did that I'm proud of: the first "true" 3D game for the PC, HP's big iron virtualization, real-time test systems for car electronics, some of the best games for the HP48 calculator, a theory of physics that makes sense (at least to me).

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s