Re: [Census] So who uses git?
From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-06-15 22:42:18
On Wed, 1 Feb 2006, Alex Riesen wrote:
$ time git update-index --refresh real 0m21.500s user 0m0.358s sys 0m1.406s WinNT, NTFS, 13k files, hot cache.
That's 25% less files than the Linux kernel, and I can do that operation
in 0m0.062s (0.012s user, 0.048s system).
So WinNT/cygwin is about 2.5 _orders_of_maginitude_ slower here, or 340
times slower.
Now, I'm tempted to say that NT is a piece of sh*t, but the fact is, your
CPU-times seem to indicate that most of it is IO (and the "real" cost is
just 1.7 seconds, much of which is system time, which in turn itself is
probably due to the IO costs too - so even that isn't comparable with
the ).
Which may mean that you simply don't have enough memory to cache the whole
thing. Which may be NT sucking, of course ("we don't like to use more than
10% of memory for caches"), but it might also be a tunable (which is sucky
in itself, of course), but finally, it might just be that you just don't
have a ton of memory. I've got 2GB in my machines, although 1GB is plenty
to cache the kernel.
Linus