This is the mail archive of the 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 07:50:16AM -0400, Jason Tishler wrote:
>On Sun, Sep 07, 2003 at 12:30:21AM -0400, Christopher Faylor wrote:
>> On Sun, Sep 07, 2003 at 12:28:05AM -0400, Christopher Faylor wrote:
>> >On Fri, Sep 05, 2003 at 08:42:49PM -0400, Jason Tishler wrote:
>> >>On Fri, Sep 05, 2003 at 03:01:27PM -0400, Christopher Faylor wrote:
>> >>> If the only concern is that cygcheck takes a long time, now, then,
>> >>> like I said, that is something that can be rectified.
>> >>
>> >>Yes, the above is my real concern.
>> >
>> >I just hacked cygcheck to avoid calling gzip and use a mingw libz.a
>> >(courtesy of Chuck Wilson) and it takes 26 seconds to complete on my
>> >dual PIII 733MHZ WinXP system.  I have most packages installed.
>> >
>> >Is that still too slow?
>> I should add that the previous version took 1 minute, 9 seconds.
>Approximately 3 time faster is a significant improvement, but IMO,
>anything more than a few seconds is still too "expensive."
>What about an option to disable the sanity checking?  In this way,
>Cygwin users do not need to learn new tricks, but powers user still get
>the control they desire.
>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.

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.


Unsubscribe info:
Problem reports:

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