git/list[1] front-page[2] threads[3] people[4] search[5] about
 

NT directory traversal speed on 25K files on Cygwin

From
RNRutger Nijlunsing <rutger@nospam.com>
Date
Feb 26, 2006, 23:17 UTC
Message-ID
<20060226231701.GA11961@nospam.com>
In-Reply-To
<20060226195552.GA30735@trixie.casa.cgf.cx>
On Sun, Feb 26, 2006 at 02:55:52PM -0500, Christopher Faylor wrote:
Show 8 quoted lines
> On Thu, Feb 23, 2006 at 03:07:07PM +0100, Alex Riesen wrote:
> >filesystem is slow and locked down, and exec-attribute is NOT really
> >useful even on NTFS (it is somehow related to execute permission and
> >open files.  I still cannot figure out how exactly are they related).
> 
> Again, it's not clear if you're talking about Windows or Cygwin but
> under Cygwin, in the default configuration, the exec attribute means the
> same thing to cygwin as it does to linux.

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
----------------------------------------------------------------------
Previous: Alex RiesenNext: Christopher Faylor
Message 50 of 68 in “Should we support Perl 5.6?”
  1. Johannes SchindelinFeb 20, 2006
  2. Eric WongFeb 20, 2006
  3. Andreas EricssonFeb 20, 2006
  4. Junio C HamanoFeb 20, 2006
  5. fmt-merge-msg: avoid open "-|" list form for Perl 5.6Junio C Hamano, Feb 20, 2006
  6. rerere: avoid open "-|" list form for Perl 5.6Junio C Hamano, Feb 20, 2006
  7. send-email: avoid open "-|" list form for Perl 5.6Junio C Hamano, Feb 20, 2006
  8. svmimport: avoid open "-|" list form for Perl 5.6Junio C Hamano, Feb 20, 2006
  9. cvsimport: avoid open "-|" list form for Perl 5.6Junio C Hamano, Feb 20, 2006
  10. Alex RiesenFeb 21, 2006
  11. Sam VilainFeb 21, 2006
  12. Alex RiesenFeb 21, 2006
  13. Johannes SchindelinFeb 21, 2006
  14. Eric WongFeb 21, 2006
  15. Shawn PearceFeb 21, 2006
  16. Martin LanghoffFeb 21, 2006
  17. Sam VilainFeb 21, 2006
  18. Alex RiesenFeb 22, 2006
  19. Johannes SchindelinFeb 22, 2006
  20. Sam VilainFeb 22, 2006
  21. Junio C HamanoFeb 22, 2006
  22. Johannes SchindelinFeb 22, 2006
  23. Junio C HamanoFeb 22, 2006
  24. Alex RiesenFeb 23, 2006
  25. Junio C HamanoFeb 23, 2006
  26. Alex RiesenFeb 23, 2006
  27. Alex RiesenFeb 23, 2006
  28. Andreas EricssonFeb 23, 2006
  29. Alex RiesenFeb 23, 2006
  30. Andreas EricssonFeb 23, 2006
  31. Alex RiesenFeb 23, 2006
  32. Andreas EricssonFeb 23, 2006
  33. Linus TorvaldsFeb 23, 2006
  34. Junio C HamanoFeb 23, 2006
  35. Johannes SchindelinFeb 23, 2006
  36. Linus TorvaldsFeb 23, 2006
  37. Johannes SchindelinFeb 23, 2006
  38. Linus TorvaldsFeb 23, 2006
  39. Sam VilainFeb 23, 2006
  40. Linus TorvaldsFeb 24, 2006
  41. Alex RiesenFeb 23, 2006
  42. Christopher FaylorFeb 26, 2006
  43. Linus TorvaldsFeb 26, 2006
  44. Christopher FaylorFeb 26, 2006
  45. Alex RiesenMar 2, 2006
  46. Mark WoodingMar 2, 2006
  47. Alex RiesenMar 2, 2006
  48. Christopher FaylorMar 2, 2006
  49. Alex RiesenMar 2, 2006
  50. NT directory traversal speed on 25K files on CygwinRutger Nijlunsing, Feb 26, 2006
  51. Christopher FaylorFeb 27, 2006
  52. Rutger NijlunsingFeb 27, 2006
  53. Christopher FaylorFeb 27, 2006
  54. Andreas EricssonFeb 27, 2006
  55. Rutger NijlunsingFeb 27, 2006
  56. Alex RiesenMar 2, 2006
  57. Alex RiesenMar 2, 2006
  58. Christopher FaylorMar 2, 2006
  59. Alex RiesenMar 2, 2006
  60. Andreas EricssonMar 2, 2006
  61. Alex RiesenMar 2, 2006
  62. Christopher FaylorFeb 26, 2006
  63. Eric WongFeb 24, 2006
  64. Johannes SchindelinFeb 24, 2006
  65. Linus TorvaldsFeb 24, 2006
  66. Eric WongFeb 21, 2006
  67. Alex RiesenFeb 21, 2006
  68. Ron ParkerFeb 21, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.