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

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

From: Jeff King <hidden>
Date: 2016-08-11 19:24:55

Possibly related (same subject, not in this thread)

On Tue, Dec 19, 2006 at 01:10:59AM -0800, Junio C Hamano wrote:
quoted
in a very unscientific test, without your patch local cloning of the 
LilyPond repo takes 1m33s (user), and with your patch (pread() instead of 
mmap()) it takes 1m13s (user). The real times are somewhat bogus, but 
still in favour of pread(), but only by 8 seconds instead of 20.

This is on Linux 2.4.32.
Interesting.  Anybody have numbers from 2.6?
Similar results to those posted by Marco Roeland (numbers below are
index-pack of linux-2.6 on 2.6.18 i386 smp):

mmap
46.78user 4.18system 0:51.08elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+725627minor)pagefaults 0swaps

pread
45.70user 3.12system 0:48.96elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+363794minor)pagefaults 0swaps
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help