Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 9 Sep 2003 06:55:25 -0400 From: Jason Tishler To: cygwin AT cygwin DOT com Subject: Re: latest cygcheck -c is expensive Message-ID: <20030909105525.GA1892@tishler.net> Mail-Followup-To: cygwin AT cygwin DOT com References: <20030905124047 DOT GD1852 AT tishler DOT net> <20030905190127 DOT GB4483 AT redhat DOT com> <20030906004249 DOT GO1852 AT tishler DOT net> <20030907042805 DOT GA22596 AT redhat DOT com> <20030907043021 DOT GA22644 AT redhat DOT com> <20030908115016 DOT GC2128 AT tishler DOT net> <20030908153621 DOT GE5065 AT redhat DOT com> <20030908203203 DOT GE1888 AT tishler DOT net> <20030908210522 DOT GI27113 AT redhat DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030908210522.GI27113@redhat.com> User-Agent: Mutt/1.4i 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/