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 -Peff - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html