Re: cloning the kernel - why long time in "Resolving 313037 deltas"
- From
- Marco Roeland <marco.roeland@xs4all.nl>
- Date
- Dec 19, 2006, 08:40 UTC
- Message-ID
- <20061219084017.GB30448@fiberbit.xs4all.nl>
- In-Reply-To
- <20061219083242.GF2511@spearce.org>
On Tuesday December 19th 2006 at 03:32 Shawn Pearce wrote:
Show 6 quoted lines
> > Anyway, try the pread() version first, see if that fixes the OS X problem. > > It does. Without pread() (aka stock 'next') it takes me over an > hour to index a pack of linux-2.6. With pread() its 1m6s to run > index-pack on the same pack file. The indexes are (of course) > identically produced.
I see the same here. From an (estimated) time of 37 minutes down to 52 seconds with the pread() patch. Running the profiler (shark) on the old version showed that 85% of the time was spent in the Mac OS X mmap() system call.