NT directory traversal speed on 25K files on Cygwin

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rutger Nijlunsing
Date: Sunday, February 26, 2006 - 4:17 pm

On Sun, Feb 26, 2006 at 02:55:52PM -0500, Christopher Faylor wrote:

I don't know about native Windows speed, but comparing NutCracker with
Cygwin on a simple 'find . | wc -l' already gives a clue that looking
at Cygwin to benchmark NT file inspection IO will give a skewed
picture:

##### NutCracker
$ time find . | wc -l

real    0m 1.44s
user    0m 0.45s
sys     0m 0.98s
  25794

##### Cygwin
$ time c:\\cygwin\\bin\\find . | wc -l

real    0m 6.72s
user    0m 1.09s
sys     0m 5.59s
  25794

##### CMD.EXE + DIR /S
C:\PROJECT> c:\cygwin\bin\time cmd /c dir /s >NUL
0.01user 0.01system 0:05.70elapsed 0%CPU (0avgtext+0avgdata 6320maxresident)k
0inputs+0outputs (395major+0minor)pagefaults 0swaps

##### Cygwin 'find -ls' (NutCracker doesn't have a '-ls')
C:\PROJECT> c:\cygwin\bin\time c:\cygwin\bin\find -ls | wc -l
2.79user 7.81system 0:10.60elapsed 100%CPU (0avgtext+0avgdata 14480maxresident)k
  25794


Regards,
Rutger.

-- 
Rutger Nijlunsing ---------------------------------- eludias ed dse.nl
never attribute to a conspiracy which can be explained by incompetence
----------------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Should we support Perl 5.6?, Johannes Schindelin, (Mon Feb 20, 11:37 am)
Re: Should we support Perl 5.6?, Eric Wong, (Mon Feb 20, 12:10 pm)
Re: Should we support Perl 5.6?, Andreas Ericsson, (Mon Feb 20, 2:01 pm)
Re: Should we support Perl 5.6?, Junio C Hamano, (Mon Feb 20, 2:15 pm)
NT directory traversal speed on 25K files on Cygwin, Rutger Nijlunsing, (Sun Feb 26, 4:17 pm)
Re: NT directory traversal speed on 25K files on Cygwin, Christopher Faylor, (Sun Feb 26, 6:18 pm)
Re: NT directory traversal speed on 25K files on Cygwin, Andreas Ericsson, (Mon Feb 27, 2:19 am)
Re: NT directory traversal speed on 25K files on Cygwin, Rutger Nijlunsing, (Mon Feb 27, 11:30 am)
Re: NT directory traversal speed on 25K files on Cygwin, Christopher Faylor, (Mon Feb 27, 11:34 am)
Re: NT directory traversal speed on 25K files on Cygwin, Rutger Nijlunsing, (Mon Feb 27, 11:45 am)