This is the mail archive of the cygwin@sources.redhat.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]

Re: Cygwin fstat and NT caching


Dan Morris wrote:

> My supervisor pointed out to me yesterday that "du" takes a long time to run
> under Cygwin; out of curiosity, I've been looking into the source of the
> delays, and I'm curious if anyone else has any insights...
>
> This is me running 'du' on my entire hard drive under cygwin :
>
> dmorris@SOAPY /edrive
> $ time du
>
> ... blah blah blah ... all my files go by ... disk spins like mad ...
>
> ... I get some coffee ...
>
> 0       ./cygwin/edrive
> 1       ./cygwin/.ssh
> 208758  ./cygwin
> 7336071 .
>
> real    5m35.523s
> user    0m10.064s
> sys     0m32.877s
>
>

        Command being timed: "du c:/cygwin"
        User time (seconds): 1.10
        System time (seconds): 4.65
        Percent of CPU this job got: 11%
        Elapsed (wall clock) time (h:mm:ss or m:ss): 0:50.05

NT4sp4 - Pentium III HP-Vectra 256M Ram.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


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