Thread (31 messages) flat view 31 messages, 12 authors, 2016-08-11

Re: cloning the kernel - why long time in "Resolving 313037 deltas"

From: Marco Roeland <hidden>
Date: 2016-08-11 20:16:05

Possibly related (same subject, not in this thread)

On Tuesday December 19th 2006 at 03:32 Shawn Pearce wrote:
quoted
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.
-- 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help