This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Very slow Cygwin startup on Windows 7
- From: "Dennis Hagarty (dehagart)" <dehagart at cisco dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Tue, 24 Feb 2015 15:22:37 +0000
- Subject: RE: Very slow Cygwin startup on Windows 7
- Authentication-results: sourceware.org; auth=none
- References: <3FEEC3A37A0B0A48AA326075128C32EE4EE263B8 at xmb-rcd-x01 dot cisco dot com> <20150218111515 dot GL8493 at calimero dot vinschen dot de> <3FEEC3A37A0B0A48AA326075128C32EE4EE26DE4 at xmb-rcd-x01 dot cisco dot com> <20150218125429 dot GN8493 at calimero dot vinschen dot de> <3FEEC3A37A0B0A48AA326075128C32EE4EE275A7 at xmb-rcd-x01 dot cisco dot com> <20150219103235 dot GD26084 at calimero dot vinschen dot de> <3FEEC3A37A0B0A48AA326075128C32EE4EE27AEC at xmb-rcd-x01 dot cisco dot com> <20150220162024 dot GZ26084 at calimero dot vinschen dot de> <20150223211530 dot GA23639 at calimero dot vinschen dot de> <3FEEC3A37A0B0A48AA326075128C32EE4EE2B1C6 at xmb-rcd-x01 dot cisco dot com> <20150224134512 dot GJ437 at calimero dot vinschen dot de>
Yep - absolutely.
>> Using x86_64/cygwin1-20150223.dll.xz??
>>
>> ~ uname -a
>> CYGWIN_NT-6.1 DEHAGART-WS02 1.7.35s(0.286/5/3) 20150223 21:02:38 x86_64 Cygwin
>>
>> ~ cat /etc/nsswitch.conf
>> passwd: db
>> group: db
>>
>> First manual start of bash shell *seemed* to take slightly longer than before and slightly longer than files db setting.
>> But anyway, the timed results show this:
>>
>> cmd /v:on /c "echo !TIME! & C:\cygwin64\bin\mintty.exe /bin/echo "test" & echo !TIME!"
>>
>> C:\Users\dehagart>cmd /v:on /c "echo !TIME! & C:\cygwin64\bin\mintty.exe /bin/echo "test" & echo !TIME!"
>> 14:22:01.74
>> 14:22:02.56 00:00.82
>>
>> C:\Users\dehagart>cmd /v:on /c "echo !TIME! & C:\cygwin64\bin\mintty.exe /bin/echo "test" & echo !TIME!"
>> 14:22:07.10
>> 14:22:07.27 00:00.17
>>
>> C:\Users\dehagart>cmd /v:on /c "echo !TIME! & C:\cygwin64\bin\mintty.exe /bin/echo "test" & echo !TIME!"
>> 14:22:08.99
>> 14:22:09.16 00:00.17
>>
>> C:\Users\dehagart>cmd /v:on /c "echo !TIME! & C:\cygwin64\bin\mintty.exe /bin/echo "test" & echo !TIME!"
>> 14:22:10.72
>> 14:22:10.89 00:00.17
>>
>> I.e. significantly better.
>
>Excellent! Is that something you can live with, including the
>occassional longer time(*)?
>
> (*) Which is probably some background effect, probably mostly to do with
> OS caching stuff.