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: latest cygcheck -c is expensive


On Mon, Sep 08, 2003 at 05:05:22PM -0400, Christopher Faylor wrote:
> On Mon, Sep 08, 2003 at 04:32:04PM -0400, Jason Tishler wrote:
> >I see a minor speed up (now) -- 1:24 versus 1:18.  Note this is on my
> >laptop.  Maybe the disk subsystem is so slow as to dominate the
> >throughput?
> 
> In that case, loading gzip.exe once for every package file should have
> shown a substantial penalty.

Due to NT's file system cache, I don't believe the above to be an issue.
I actually have to "flush the cache" between cygcheck runs, otherwise
subsequent runs are *much* faster:

    $ time cygcheck -c >/dev/null

    real    0m9.683s
    user    0m0.010s
    sys     0m0.020s

Of course, the latest version has eliminated the cost of forking gzip
once for every package file.

> Maybe you have fewer packages loaded than I do?

I don't know.  I have the following:

    $ cygcheck -c | wc -l
        319

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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]