Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Mon, 8 Sep 2003 17:05:22 -0400
From: Christopher Faylor <cgf-rcm@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: latest cygcheck -c is expensive
Message-ID: <20030908210522.GI27113@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <20030905124047.GD1852@tishler.net> <Pine.GSO.4.56.0309051113580.26266@slinky.cs.nyu.edu> <20030905190127.GB4483@redhat.com> <20030906004249.GO1852@tishler.net> <20030907042805.GA22596@redhat.com> <20030907043021.GA22644@redhat.com> <20030908115016.GC2128@tishler.net> <20030908153621.GE5065@redhat.com> <20030908203203.GE1888@tishler.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20030908203203.GE1888@tishler.net>
User-Agent: Mutt/1.4.1i

On Mon, Sep 08, 2003 at 04:32:04PM -0400, Jason Tishler wrote:
>Chris,
>
>On Mon, Sep 08, 2003 at 11:36:21AM -0400, Christopher Faylor wrote:
>> On Mon, Sep 08, 2003 at 07:50:16AM -0400, Jason Tishler wrote:
>> >BTW, I tried to give cygcheck from the 2003-Sep-08 snapshot a ride.
>> >The ChangeLog and diff seem to indicate the required changes have
>> >been completed.  Unfortunately, my timing showed no difference and
>> >objdump showed no dependency on Mingw zlib:
>> >
>> >    $ objdump -p cygcheck.exe | fgrep 'DLL Name:'
>> >            DLL Name: msvcrt.dll
>> >            DLL Name: msvcrt.dll
>> >            DLL Name: ADVAPI32.DLL
>> >            DLL Name: KERNEL32.dll
>> >
>> >Is the above cockpit error on my part?
>> 
>> Well, sort of, if you are expecting cygcheck to be linked with a mingw
>> zlib DLL.  zlib is linked statically.
>
>Doh!
>
>> I don't know why you aren't seeing a speedup.  It's substantial on my
>> system.  On my PII 500 at work, the difference is 55 seconds for the
>> new cygcheck and 1:29 on the old.  That's not as good as my previously
>> posted figures but it should still be noticeable.  In fact, if you are
>> running from a console window you can even see the difference in that
>> the title bar doesn't flicker.
>
>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.

Maybe you have fewer packages loaded than I do?

cgf

--
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/

