This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ls problem


Carlo,

I think your next step must be to run "ls" under "strace" and see where the excess time (presumably idle time) is going.

Randall Schulz
Mountain View, CA USA


At 17:00 2002-11-19, Carlo Florendo wrote:
Hi Igor,

I tried disabling ntsec and "ls -l" is still slow. I'm using 1.3.15-cygwin-1-3-15-1. "ls -l" and "ls -ln" takes almost the same amount of time. On a directory with 3 short text files, the difference, when I timed "ls -l" and "ls -b", is still considerable.

fcarlo@ZEUS~
$ time ls -b
a b test

real 0m0.024s
user 0m0.030s
sys 0m0.015s

fcarlo@ZEUS ~
$ time ls -l
total 11
-rw-r--r-- 1 fcarlo None 5 Nov 19 13:58 a
-rw-r--r-- 1 fcarlo None 5 Nov 19 13:58 b
-rw-r--r-- 1 fcarlo None 8283 Nov 19 13:59 test

real 0m1.819s
user 0m0.030s
sys 0m0.000s

Best Regards,

Carlo Florendo

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]