Re: [gentoo-user] Re: RFC : fast copying of a whole directory tree

2012-02-14 Thread Florian Philipp
Am 14.02.2012 10:57, schrieb Joerg Schilling: > Florian Philipp wrote: > >>> Even if the i-nodes are sequential on-disk, there's no reason to think >>> that the data blocks associated with the inodes are in any particular >>> order with respect to the i-nodes themselves. >> >> You could probably

Re: [gentoo-user] Re: RFC : fast copying of a whole directory tree

2012-02-14 Thread Mick
On 13 February 2012 22:11, Dale wrote: > Joerg Schilling wrote: >> Nikos Chantziaras wrote: >>  > This works because there are two decoupled processes, shared memory between  > them and the fact that star reads names from directories in one big chunk.  > Honestl

Re: [gentoo-user] Re: RFC : fast copying of a whole directory tree

2012-02-14 Thread Joerg Schilling
Florian Philipp wrote: > > Even if the i-nodes are sequential on-disk, there's no reason to think > > that the data blocks associated with the inodes are in any particular > > order with respect to the i-nodes themselves. > > You could probably find the intended order by using debugfs (at least >

Re: [gentoo-user] Re: RFC : fast copying of a whole directory tree

2012-02-14 Thread Florian Philipp
Am 13.02.2012 16:31, schrieb Grant Edwards: > On 2012-02-13, Michael Orlitzky wrote: >> On 02/13/12 05:49, Helmut Jarausch wrote: >>> >>> I've written a small Python program which outputs the file names in >>> i-node order. If this is fed into tar or cpio nearly no seeks are >>> required during c

Re: [gentoo-user] Re: RFC : fast copying of a whole directory tree

2012-02-13 Thread Pandu Poluan
On Feb 14, 2012 6:00 AM, "Neil Bothwick" wrote: > > On Tue, 14 Feb 2012 00:42:56 +0700, Pandu Poluan wrote: > > > Hehhe... sorry, I'm on the road and don't have Gentoo on my > > smartphone :-P > > Not even via SSH? :P > It's a new phone and I forgot the port-knocking sequence to open the ssh port

Re: [gentoo-user] Re: RFC : fast copying of a whole directory tree

2012-02-13 Thread Neil Bothwick
On Tue, 14 Feb 2012 00:42:56 +0700, Pandu Poluan wrote: > Hehhe... sorry, I'm on the road and don't have Gentoo on my > smartphone :-P Not even via SSH? :P -- Neil Bothwick If at first you don't succeed you'll get lots of advice. signature.asc Description: PGP signature

Re: [gentoo-user] Re: RFC : fast copying of a whole directory tree

2012-02-13 Thread Dale
Joerg Schilling wrote: > Nikos Chantziaras wrote: > >>> > This works because there are two decoupled processes, shared memory >>> between >>> > them and the fact that star reads names from directories in one big >>> chunk. >>> > >>> >>> Honestly, that's news to me. Which package has star? >> >

Re: [gentoo-user] Re: RFC : fast copying of a whole directory tree

2012-02-13 Thread Joerg Schilling
Nikos Chantziaras wrote: > > > This works because there are two decoupled processes, shared memory > > between > > > them and the fact that star reads names from directories in one big > > chunk. > > > > > > > Honestly, that's news to me. Which package has star? > > eix -e star To help star t

Re: [gentoo-user] Re: RFC : fast copying of a whole directory tree

2012-02-13 Thread Pandu Poluan
On Feb 13, 2012 11:41 PM, "Nikos Chantziaras" wrote: > > On 13/02/12 18:29, Pandu Poluan wrote: >> >> >> On Feb 13, 2012 11:15 PM, "Joerg Schilling" >> > > wrote: >> > Correct, there is however a really fast method using "star -copy". >> > >> > This w

[gentoo-user] Re: RFC : fast copying of a whole directory tree

2012-02-13 Thread Nikos Chantziaras
On 13/02/12 18:29, Pandu Poluan wrote: On Feb 13, 2012 11:15 PM, "Joerg Schilling" mailto:joerg.schill...@fokus.fraunhofer.de>> wrote: > Correct, there is however a really fast method using "star -copy". > > This works because there are two decoupled processes, shared memory between > them a

Re: [gentoo-user] Re: RFC : fast copying of a whole directory tree

2012-02-13 Thread Pandu Poluan
On Feb 13, 2012 11:15 PM, "Joerg Schilling" < joerg.schill...@fokus.fraunhofer.de> wrote: > > Grant Edwards wrote: > > > On 2012-02-13, Michael Orlitzky wrote: > > > On 02/13/12 05:49, Helmut Jarausch wrote: > > >> > > >> I've written a small Python program which outputs the file names in > > >>

Re: [gentoo-user] Re: RFC : fast copying of a whole directory tree

2012-02-13 Thread Joerg Schilling
Grant Edwards wrote: > On 2012-02-13, Michael Orlitzky wrote: > > On 02/13/12 05:49, Helmut Jarausch wrote: > >> > >> I've written a small Python program which outputs the file names in > >> i-node order. If this is fed into tar or cpio nearly no seeks are > >> required during copying. > > > >

[gentoo-user] Re: RFC : fast copying of a whole directory tree

2012-02-13 Thread Grant Edwards
On 2012-02-13, Michael Orlitzky wrote: > On 02/13/12 05:49, Helmut Jarausch wrote: >> >> I've written a small Python program which outputs the file names in >> i-node order. If this is fed into tar or cpio nearly no seeks are >> required during copying. > > What makes you think the inodes are se