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-devel

Re: [Xen-devel] Has 3.0.3 been released?

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Has 3.0.3 been released?
From: Aron Griffis <aron@xxxxxx>
Date: Wed, 18 Oct 2006 09:25:50 -0400
Cc: Anthony Liguori <aliguori@xxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Markus Armbruster <armbru@xxxxxxxxxx>
Delivery-date: Wed, 18 Oct 2006 06:26:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C15BE1C9.2B7B%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, Markus Armbruster <armbru@xxxxxxxxxx>, Anthony Liguori <aliguori@xxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
References: <874pu1kd5e.fsf@xxxxxxxxxxxxxxxxx> <C15BE1C9.2B7B%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
Keir Fraser wrote:  [Wed Oct 18 2006, 08:51:05AM EDT]
> > The sparse tree has been an enourmous pain in the neck for me and
> > many others.  If all that pain is outweighed by quicker cloning of
> > Linux repos, then you must do that much more often than I can
> > imagine.
> 
> Yes we do. One option is for us to keep a private sparse tree and
> have a script that pulls out patches and applies them to a public
> full Linux tree.

This may be well-known already, but if the issue is with the
time/space taken by "hg clone", you can make clones faster with 
"cp -al".

Normally "hg clone" will create hard links of everything in the .hg
directory, but it makes copies for the working set.  Using "cp -al"
doubles the savings by making the working set hard links as well.

All the normal tools (patch for example) will handle hard links
correctly, treating them as COW.  AFAIK the only tool that needs
special configuration is vim:

    set backupcopy+=breakhardlink

$ time hg clone xen-unstable.hg xen-unstable.hg-clone
real    0m8.293s

$ time cp -al xen-unstable.hg xen-unstable.hg-clone2
real    0m0.408s

$ time cp -al linux-2.6 linux-2.6-clone
real    0m1.644s

Aron

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>