git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marius Storm-Olsen <marius@trolltech.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Stephen Cuppett <cuppett@gmail.com>,
	Steffen Prohaska <prohaska@zib.de>,
	git@vger.kernel.org
Subject: Re: Windows support
Date: Thu, 26 Jul 2007 11:30:11 +0200	[thread overview]
Message-ID: <46A869A3.6050707@trolltech.com> (raw)
In-Reply-To: <alpine.LFD.0.999.0707251131540.3607@woody.linux-foundation.org>

[-- Attachment #1: Type: text/plain, Size: 2253 bytes --]

Linus Torvalds said the following on 25.07.2007 20:43:
> On Wed, 25 Jul 2007, Stephen Cuppett wrote:
>> I don't know if the performance problems are cygwin or not.  More
>>  knowledgeable people might be able to answer, it's just what I'm
>>  observing right now.  It could be more fundamental to the types
>> of access being performed en masse on inode-based versus NTFS
>> systems.
> 
> I think cygwin may add some overhead, but people should really
> realize that Linux is quite often an order of magnitude faster (or
> more) than other systems on some very basic operations.
> 
(..snip..)
> 
> (It will just not be so *blazingly* fast, ie things like "git
> status" will generally not be instantaneous).

Let me present some numbers:
My repository is ~680MB, and 19323 tracked files, in 2264 directories.
When in a compiled state the total is 27540 files, in 4885 directories.

When file system cache is warm, I get the following times:
 Native: dir /B /S               1.077s
         dir /S                  1.707s (shows time, size/type)
 MSys:   ls -f1AUR              34.608s
         find . -type f          6.718s
         git diff (empty diff)   1.18s
         git status              5.5s
and when the system cach is cold:
         git status             54.55s

Maybe you guys have other git commands which are also/more interesting
to look at/benchmark?

Windows people should also be aware that it's possible to tweak the
amount of memory which the OS uses for the file cache. On XP you can
change it _roughly_ in System Properties panel (Right-click on My
Computer), then Advanced - Performance Settings - Advanced -
Memory Usage:
Normal setting is "Programs" for non-servers Windows systems, while
you can select "System cache" make the OS allocate more memory for
the system caches. I've tried both, and the setting doesn't really
affect the file operations much when the cache is warm, but it
probably affects how long the cache stays warm.

Also note that you can use Sysinternal's CacheSet (free), to
manipulate the working-set parameters of the system file cache.
You'll find that here:
    http://www.microsoft.com/technet/sysinternals/FileAndDisk/CacheSet.mspx

-- 
.marius


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 187 bytes --]

  parent reply	other threads:[~2007-07-26  9:29 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-25 10:35 Windows support Dmitry Kakurin
2007-07-25 10:40 ` Johannes Schindelin
2007-08-02  6:57   ` Asger Ottar Alstrup
2007-08-02 10:45     ` Johannes Schindelin
2007-07-25 11:12 ` Steven Grimm
2007-07-26  2:56   ` Dmitry Kakurin
2007-07-26  3:15     ` Shawn O. Pearce
2007-07-26  6:25       ` Steffen Prohaska
2007-07-26  6:53         ` Shawn O. Pearce
2007-07-26  9:41           ` Marius Storm-Olsen
2007-07-26  9:44             ` Marius Storm-Olsen
2007-07-26  5:11     ` Steven Grimm
2007-07-25 11:13 ` Steven Grimm
2007-07-25 12:13 ` Nguyen Thai Ngoc Duy
2007-07-25 14:10   ` Johannes Schindelin
2007-07-25 14:15     ` Nguyen Thai Ngoc Duy
2007-07-25 17:13       ` Johannes Schindelin
2007-07-26 13:00       ` Christian MICHON
2007-07-26 13:20         ` Nguyen Thai Ngoc Duy
2007-07-26 13:32           ` Christian MICHON
2007-07-26 13:55             ` Nguyen Thai Ngoc Duy
2007-07-26 15:25               ` Johannes Sixt
2007-07-26  2:26   ` Dmitry Kakurin
2007-07-26  3:06     ` Junio C Hamano
2007-07-26  3:18       ` Shawn O. Pearce
2007-07-26  4:30         ` Junio C Hamano
2007-07-26  5:28           ` Johannes Schindelin
2007-07-26  5:56             ` Han-Wen Nienhuys
2007-07-26  6:40               ` Johannes Schindelin
2007-07-26  7:02                 ` Han-Wen Nienhuys
2007-07-26  7:13                   ` Shawn O. Pearce
2007-07-26  7:18                     ` Han-Wen Nienhuys
2007-07-26 21:39                       ` Jakub Narebski
2007-07-26  7:52                     ` Julian Phillips
2007-07-26 11:29                   ` Nguyen Thai Ngoc Duy
2007-07-26 12:21                     ` Christian MICHON
2007-07-26 12:37                       ` Nguyen Thai Ngoc Duy
2007-07-26 14:37                         ` Johannes Schindelin
2007-07-26 15:07                           ` Nguyen Thai Ngoc Duy
2007-07-26 15:43                             ` Johannes Schindelin
2007-07-26 16:11                               ` Nguyen Thai Ngoc Duy
2007-07-26 18:13                                 ` David Kastrup
2007-07-26 19:39                                   ` Nguyen Thai Ngoc Duy
2007-07-26 20:04                                     ` David Kastrup
2007-07-26 18:18                                 ` Johannes Schindelin
2007-07-26 16:58                             ` Marius Storm-Olsen
2007-07-26 19:43                               ` Nguyen Thai Ngoc Duy
2007-07-26 20:02                                 ` Christian MICHON
2007-07-26  9:11             ` Robin Rosenberg
2007-07-26 10:35               ` Johannes Sixt
2007-07-26  3:38     ` Johannes Schindelin
2007-07-26  3:54       ` Dmitry Kakurin
2007-07-26  4:00       ` Shawn O. Pearce
2007-07-26  5:30         ` Johannes Schindelin
2007-07-26  6:08           ` Henning Rogge
2007-07-26  8:14             ` Andy Parkins
2007-07-25 12:30 ` Steffen Prohaska
2007-07-25 15:34   ` Noel Grandin
2007-07-26  6:46     ` Johannes Schindelin
2007-07-26  6:48       ` Junio C Hamano
2007-07-25 16:58   ` Stephen Cuppett
2007-07-25 17:56     ` Russ Dill
2007-07-25 19:04       ` Medve Emilian-EMMEDVE1
2007-07-25 19:13         ` Russ Dill
2007-07-25 18:43     ` Linus Torvalds
2007-07-25 22:52       ` Wincent Colaiuta
2007-07-26  9:30       ` Marius Storm-Olsen [this message]
2007-07-26  3:36     ` Shawn O. Pearce
2007-07-25 17:41 ` Daniel Barkalow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46A869A3.6050707@trolltech.com \
    --to=marius@trolltech.com \
    --cc=cuppett@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=prohaska@zib.de \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).