WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Re: cow implementation

To: "Anand" <xen.mails@xxxxxxxxx>, "Molle Bestefich" <molle.bestefich@xxxxxxxxx>
Subject: RE: [Xen-users] Re: cow implementation
From: "Petersson, Mats" <mats.petersson@xxxxxxx>
Date: Tue, 10 Jan 2006 13:09:38 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 10 Jan 2006 12:17:33 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcYV3dWIQhSj4RuwQ3Wk3udnP87hDgAAKI1g
Thread-topic: [Xen-users] Re: cow implementation
 


From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Anand
Sent: 10 January 2006 11:59
To: Molle Bestefich
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Re: cow implementation

Thanks for the reply. And for the filesystem are you using flat images or volumes ?

Isn't tar and gzip combination going to be a cpu hog ? 
Gzip will use up a fair amount of cpu-time, but the time it take to transfer the image that is 30-70% smaller is significantly more than the CPU-time it's taken, so unless you have something else productive to do with your cpu whilst you're backing up/transferring the file(s), you're probably better off compressing the file(s).  
 
--
Mats 
On 1/10/06, Molle Bestefich <molle.bestefich@xxxxxxxxx> wrote:
Anand wrote:
> > > What are you using then ?
> >
> > Uhm, tar+gzip and a differ for now :-)...
> >
> > I'll admit it's far from optimal :-).
>
> huh ? i have to say it just went over my head.
> Care to fly a little low so i can understand something about it ? ;)

I make a tar archive of each domU filesystem:
# tar /backup/domain1_`date +%s`.tar /{bin,sbin,etc,home,lib,opt,usr,var}

Then gzip it.

I'm experimenting with various binary differs so I can diff the backup
locally on the server against the previous backup .tar.gz and only
send the couple of MB that actually changed to my backup server.  The
backups I've made in the past worked by sending the entire .tar.gz,
which is a couple GB each, which was sort of inefficient.



--

regards,

Anand
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>