Gentoo Archives: gentoo-dev

From: Rich Freeman <rich0@g.o>
To: gentoo-dev@l.g.o
Cc: arfrever@g.o
Subject: Re: [gentoo-dev] Re: proj/portage:master commit in: pym/portage/dbapi/
Date: Mon, 28 Nov 2011 12:57:55
In Reply to: Re: [gentoo-dev] Re: proj/portage:master commit in: pym/portage/dbapi/ by "Michał Górny"
On Mon, Nov 28, 2011 at 3:06 AM, Michał Górny <mgorny@g.o> wrote:
> Have you considered time overhead of moving files in unnatural order?
Rather than re-discuss this point it would probably be better for everybody to just read through the entire thread again, particularly Cirian's post and its follow-ups. My understanding is that the patch has already been reverted. Now, if somebody has a suggestion for how to sort the files in such a way as to improve the performance (assuming that it doesn't already happen in inode order) that would certainly take things forward. Sorting lists in RAM is cheap, disk seeks are expensive. Of course, if you're using tmpfs it is either all in RAM or in swap in the first place, and I'm not sure if swap brings in additional considerations here. Rich