From: Jeff King Date: Tue, 19 Dec 2006 09:47:19 GMT Subject: Re: cloning the kernel - why long time in "Resolving 313037 deltas" Message-ID: <20061219094719.GA25952@coredump.intra.peff.net> In-Reply-To: <7v1wmwtfmk.fsf@assigned-by-dhcp.cox.net> On Tue, Dec 19, 2006 at 01:10:59AM -0800, Junio C Hamano wrote: > > 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