Re: slow startup after upgrade

2015-02-27 Thread Corinna Vinschen
On Feb 26 16:18, Eric Blake wrote: > On 02/26/2015 03:31 PM, Corinna Vinschen wrote: > > On Feb 26 14:19, Eric Blake wrote: > >> On 02/26/2015 01:24 PM, Corinna Vinschen wrote: > > Fixes are in snapshots, as well as test releases (currently 1.7.35-0.4) > > which can be installed with setup*

Re: slow startup after upgrade

2015-02-27 Thread Corinna Vinschen
On Feb 26 16:00, Andrew DeFaria wrote: > On 2/26/2015 2:34 PM, Corinna Vinschen wrote: > >On Feb 26 14:21, Andrew DeFaria wrote: > >>On 2/26/2015 12:24 PM, Corinna Vinschen wrote: > >>>On Feb 26 12:04, Andrew DeFaria wrote: > On 2/25/2015 4:12 PM, Yaakov Selkowitz wrote: > >On Wed, 2015-02-

Re: slow startup after upgrade

2015-02-26 Thread Andrew DeFaria
On 2/26/2015 2:34 PM, Corinna Vinschen wrote: On Feb 26 14:21, Andrew DeFaria wrote: On 2/26/2015 12:24 PM, Corinna Vinschen wrote: On Feb 26 12:04, Andrew DeFaria wrote: On 2/25/2015 4:12 PM, Yaakov Selkowitz wrote: On Wed, 2015-02-25 at 15:52 -0800, Andrew DeFaria wrote: Can somebody summa

Re: slow startup after upgrade

2015-02-26 Thread Eric Blake
On 02/26/2015 03:31 PM, Corinna Vinschen wrote: > On Feb 26 14:19, Eric Blake wrote: >> On 02/26/2015 01:24 PM, Corinna Vinschen wrote: > Fixes are in snapshots, as well as test releases (currently 1.7.35-0.4) > which can be installed with setup*.exe. Hmmm... https://cygwin.com/fa

Re: slow startup after upgrade

2015-02-26 Thread Corinna Vinschen
On Feb 26 14:21, Andrew DeFaria wrote: > On 2/26/2015 12:24 PM, Corinna Vinschen wrote: > >On Feb 26 12:04, Andrew DeFaria wrote: > >>On 2/25/2015 4:12 PM, Yaakov Selkowitz wrote: > >>>On Wed, 2015-02-25 at 15:52 -0800, Andrew DeFaria wrote: > Can somebody summarize where we're at here. I've be

Re: slow startup after upgrade

2015-02-26 Thread Corinna Vinschen
On Feb 26 14:19, Eric Blake wrote: > On 02/26/2015 01:24 PM, Corinna Vinschen wrote: > >>> Fixes are in snapshots, as well as test releases (currently 1.7.35-0.4) > >>> which can be installed with setup*.exe. > >> > >> Hmmm... https://cygwin.com/faq-nochunks.html#faq.setup.snapshots says: > >> > >>

Re: slow startup after upgrade

2015-02-26 Thread Andrew DeFaria
On 2/26/2015 12:24 PM, Corinna Vinschen wrote: On Feb 26 12:04, Andrew DeFaria wrote: On 2/25/2015 4:12 PM, Yaakov Selkowitz wrote: On Wed, 2015-02-25 at 15:52 -0800, Andrew DeFaria wrote: Can somebody summarize where we're at here. I've been noticing all this email about slow startup and I'm

Re: slow startup after upgrade

2015-02-26 Thread Eric Blake
On 02/26/2015 01:24 PM, Corinna Vinschen wrote: >>> Fixes are in snapshots, as well as test releases (currently 1.7.35-0.4) >>> which can be installed with setup*.exe. >> >> Hmmm... https://cygwin.com/faq-nochunks.html#faq.setup.snapshots says: >> >> You cannot use Cygwin Setup to install a snapsho

Re: slow startup after upgrade

2015-02-26 Thread Corinna Vinschen
On Feb 26 12:04, Andrew DeFaria wrote: > On 2/25/2015 4:12 PM, Yaakov Selkowitz wrote: > >On Wed, 2015-02-25 at 15:52 -0800, Andrew DeFaria wrote: > >>Can somebody summarize where we're at here. I've been noticing all this > >>email about slow startup and I'm excited by the inclusion of domain > >>

Re: slow startup after upgrade

2015-02-26 Thread Andrew DeFaria
On 2/25/2015 4:12 PM, Yaakov Selkowitz wrote: On Wed, 2015-02-25 at 15:52 -0800, Andrew DeFaria wrote: Can somebody summarize where we're at here. I've been noticing all this email about slow startup and I'm excited by the inclusion of domain accounts using /etc/nsswitch.conf, etc. I downloaded

Re: slow startup after upgrade

2015-02-26 Thread Corinna Vinschen
On Feb 25 22:20, Roger Orr wrote: > Good work -- at least in my environment ;-) > > 20150225 DLL: > mkgroup 0.63s > mkpasswd 0.289s > > compared to > > 20150220 DLL: > mkgroup 45.8s > mkpasswd: 4572.7s > > Output is > mkgroup: 53kb, 681 lines > mkpasswd: 132kb, 1081 lines. > > And the output

Re: slow startup after upgrade

2015-02-25 Thread John Hein
Andrey Repin wrote at 00:42 +0300 on Feb 26, 2015: > >> On problematic winxp box: > >> [passwd, group, db_shell: 'files db', 'files db' & /bin/dash] > >> 16.83, 17.03, 24.80, 28.79, 27.99, 27.39 sec > >> > >> [passwd, group, db_shell: db, db & /bin/dash] > >> 23.51, 27.91,

Re: slow startup after upgrade

2015-02-25 Thread Yaakov Selkowitz
On Wed, 2015-02-25 at 15:52 -0800, Andrew DeFaria wrote: > Can somebody summarize where we're at here. I've been noticing all this > email about slow startup and I'm excited by the inclusion of domain > accounts using /etc/nsswitch.conf, etc. I downloaded a newer version of > Cygwin a few weeks

Re: slow startup after upgrade

2015-02-25 Thread Andrew DeFaria
On 2/25/2015 2:20 PM, Roger Orr wrote: Good work -- at least in my environment ;-) 20150225 DLL: mkgroup 0.63s mkpasswd 0.289s compared to 20150220 DLL: mkgroup 45.8s mkpasswd: 4572.7s Output is mkgroup: 53kb, 681 lines mkpasswd: 132kb, 1081 lines. And the output *is* the same :-) Can

RE: slow startup after upgrade

2015-02-25 Thread Roger Orr
: Corinna Vinschen [mailto:corinna-cyg...@cygwin.com] Sent: 25 February 2015 12:52 To: cygwin@cygwin.com Subject: Re: slow startup after upgrade On Feb 25 12:29, Achim Gratz wrote: > Corinna Vinschen cygwin.com> writes: > > > > While you're at it, does the new snapsho

Re: slow startup after upgrade

2015-02-25 Thread Andrey Repin
Greetings, Corinna Vinschen! >> > Works very quickly for me. Problem is, I don't know anything about >> > your environment. Are you working remote or in an office? How many >> > groups are in your user token? What is the result of this funny >> > little statement Dennis created: >> > >>

Re: slow startup after upgrade

2015-02-25 Thread Corinna Vinschen
On Feb 25 11:15, John Hein wrote: > Corinna Vinschen wrote at 09:56 +0100 on Feb 25, 2015: > > Really? This is the first time I see your email address on this ML, and > > there's no name connected to it, so I don't even know if you're usually > > writing under another email address. At least a

Re: slow startup after upgrade

2015-02-25 Thread John Hein
John Hein wrote at 11:15 -0700 on Feb 25, 2015: > Corinna Vinschen wrote at 09:56 +0100 on Feb 25, 2015: > > On Feb 24 16:03, John Hein wrote: > > > Corinna Vinschen wrote at 22:13 +0100 on Feb 24, 2015: > > > > Hi Roger, > > > > > > > > On Feb 24 19:55, Roger Orr wrote: > > > > >

Re: slow startup after upgrade

2015-02-25 Thread John Hein
Corinna Vinschen wrote at 09:56 +0100 on Feb 25, 2015: > On Feb 24 16:03, q2t2hzm...@snkmail.com wrote: > > Corinna Vinschen corinna-cygwin-at-cygwin.com |cygwin_ml_nodigest| wrote > > at 22:13 +0100 on Feb 24, 2015: > > > Hi Roger, > > > > > > On Feb 24 19:55, Roger Orr wrote: > > > >

Re: slow startup after upgrade

2015-02-25 Thread Corinna Vinschen
On Feb 25 12:29, Achim Gratz wrote: > Corinna Vinschen cygwin.com> writes: > > > > While you're at it, does the new snapshot still stop after 3.5K > > > > accounts even though you think there are 8K accounts? > > $ mkpasswd -d | wc > > I get ~30k AD accounts back in 75s instead of 315s and the n

Re: slow startup after upgrade

2015-02-25 Thread Achim Gratz
Corinna Vinschen cygwin.com> writes: > > > While you're at it, does the new snapshot still stop after 3.5K > > > accounts even though you think there are 8K accounts? $ mkpasswd -d | wc I get ~30k AD accounts back in 75s instead of 315s and the network traffic is only half of the former value as

Re: slow startup after upgrade

2015-02-25 Thread Corinna Vinschen
On Feb 24 23:57, Roger Orr wrote: > Corinna Vinschen wrote: > > While you're at it, does the new snapshot still stop after 3.5K > > accounts even though you think there are 8K accounts? At this point I think I mix you up with John Hein, sorry. Corinna -- Corinna Vinschen Pleas

Re: slow startup after upgrade

2015-02-25 Thread Corinna Vinschen
On Feb 24 16:03, q2t2hzm...@snkmail.com wrote: > Corinna Vinschen corinna-cygwin-at-cygwin.com |cygwin_ml_nodigest| wrote at > 22:13 +0100 on Feb 24, 2015: > > Hi Roger, > > > > On Feb 24 19:55, Roger Orr wrote: > > > Hello Corinna, > > > It seems slightly faster than the previous patch and I

RE: slow startup after upgrade

2015-02-24 Thread Roger Orr
Corinna Vinschen wrote: > Hi Roger, > > On Feb 24 19:55, Roger Orr wrote: >> Hello Corinna, >> It seems slightly faster than the previous patch and I've not >> noticed a downside yet. >> >> >> CYGWIN_NT-6.1-WOW LCLDN-DEV24 1.7.35s(0.286/5/3) 20150220 15:47:55 >> i686 Cygwin: >> >> ~37ms to run

Re: slow startup after upgrade

2015-02-24 Thread q2t2hzmwuk
Corinna Vinschen corinna-cygwin-at-cygwin.com |cygwin_ml_nodigest| wrote at 22:13 +0100 on Feb 24, 2015: > Hi Roger, > > On Feb 24 19:55, Roger Orr wrote: > > Hello Corinna, > > It seems slightly faster than the previous patch and I've not noticed a > > downside yet. > > > > > > CYGWIN_NT

Re: slow startup after upgrade

2015-02-24 Thread Corinna Vinschen
Hi Roger, On Feb 24 19:55, Roger Orr wrote: > Hello Corinna, > It seems slightly faster than the previous patch and I've not noticed a > downside yet. > > > CYGWIN_NT-6.1-WOW LCLDN-DEV24 1.7.35s(0.286/5/3) 20150220 15:47:55 i686 > Cygwin: > > ~37ms to run echo.exe from Windows command prompt >

RE: slow startup after upgrade

2015-02-24 Thread Roger Orr
Orr [mailto:rog...@howzatt.demon.co.uk] Sent: 23 February 2015 23:33 To: 'cygwin@cygwin.com' Subject: RE: slow startup after upgrade Hi Corinna, sounds good. I'll give this a go, all being well, tomorrow. In other news it appears that the ADInsightDll uses some shared data to c

RE: slow startup after upgrade

2015-02-23 Thread Roger Orr
: Re: slow startup after upgrade Hi Roger, On Feb 16 20:02, Roger Orr wrote: > Corinna Vinschen wrote: > > So I'd think the best way forward is to update to the > > 1.7.35-0.1 test release and report further from there. > > Thanks, this does help a little. However I will

Re: slow startup after upgrade

2015-02-23 Thread Corinna Vinschen
Hi Roger, On Feb 16 20:02, Roger Orr wrote: > Corinna Vinschen wrote: > > So I'd think the best way forward is to update to the > > 1.7.35-0.1 test release and report further from there. > > Thanks, this does help a little. However I will still be using the 'files' > setting. > > Here are s

Re: slow startup after upgrade

2015-02-19 Thread Corinna Vinschen
On Feb 19 11:53, Roger Orr wrote: > I've tested again with the first patched cygwin1.dll: > CYGWIN_NT-6.1-WOW LCLDN-DEV24 1.7.35(0.286/5/3) 2015-02-16 13:18 i686 Cygwin > > I can confirm the connections are occurring within the ldap_search_s > call - here is one of the call stacks: > [...] AFAICS

RE: slow startup after upgrade

2015-02-19 Thread Roger Orr
From: Roger Orr Sent: 18 February 2015 11:26 To: Corinna Vinschen Cc: cygwin@cygwin.com Subject: RE: slow startup after upgrade Hello Corinna, I've just been trying out both the 2015-02-18 10:30:19/44 UTC and 2015-02-17 21:27:23/48 UTC patches. Both are now down to the sa

Re: slow startup after upgrade

2015-02-19 Thread Corinna Vinschen
On Feb 18 22:01, Roger Orr wrote: > > > and also it no longer opens 14 > > > TCP/IP sessions to various ldap servers around the planet (!) > > > > Uh, that might be the result of the other changes which don't open an > > LDAP connection to fetch group info. 14 connections probably means, > > you'r

Re: slow startup after upgrade

2015-02-18 Thread Marco Atzeri
On 2/18/2015 11:01 PM, Roger Orr wrote: Incidentally how can you tell the patch level of cygwin1.dll -- the DLL versions all seem to be 1007.35.0.0 ? uname -a -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http:

RE: slow startup after upgrade

2015-02-18 Thread Roger Orr
> > and also it no longer opens 14 > > TCP/IP sessions to various ldap servers around the planet (!) > > Uh, that might be the result of the other changes which don't open an > LDAP connection to fetch group info. 14 connections probably means, > you're in 14 groups in other domains than your logi

Re: slow startup after upgrade

2015-02-18 Thread Corinna Vinschen
Hi Roger, On Feb 18 11:26, Roger Orr wrote: > Hello Corinna, > > I've just been trying out both the 2015-02-18 10:30:19/44 UTC and > 2015-02-17 21:27:23/48 UTC patches. > > Both are now down to the same timings as with a 'files' entry in > /etc/nsswitch.cfg, (and there's no detectable speed diff

RE: slow startup after upgrade

2015-02-18 Thread Roger Orr
Corinna Vinschen [corinna-cyg...@cygwin.com] Sent: 18 February 2015 11:18 To: cygwin@cygwin.com Cc: Roger Orr Subject: Re: slow startup after upgrade Hi Roger, On Feb 17 22:32, Corinna Vinschen wrote: > On Feb 17 19:13, Roger Orr wrote: > > According to nltest /dclist: > > Our environmen

Re: slow startup after upgrade

2015-02-18 Thread Corinna Vinschen
Hi Roger, On Feb 17 22:32, Corinna Vinschen wrote: > On Feb 17 19:13, Roger Orr wrote: > > According to nltest /dclist: > > Our environment has 6 London based DCs > > > > According to ldp.exe Live Enterprise Tree we have a tree structure for LDAP. > > > > 6 leaf nodes at the top matching ther 6

Re: slow startup after upgrade

2015-02-17 Thread Corinna Vinschen
Hi Roger, On Feb 17 19:13, Roger Orr wrote: > Corinna Vinschen wrote: > > It would be nice to know what part of the code is so slow. The > > LookupAccountSid calls shouldn't be so slow because they only fetch > > information already cached on the local machine. So it's probably > > the LDAP call

RE: slow startup after upgrade

2015-02-17 Thread Roger Orr
Corinna Vinschen wrote: > On Feb 16 20:02, Roger Orr wrote: >> Corinna Vinschen wrote: >>> So I'd think the best way forward is to update to the >>> 1.7.35-0.1 test release and report further from there. >> >> Thanks, this does help a little. However I will still be using the >> 'files' setting. >

Re: slow startup after upgrade

2015-02-16 Thread Corinna Vinschen
On Feb 16 20:02, Roger Orr wrote: > Corinna Vinschen wrote: > > So I'd think the best way forward is to update to the > > 1.7.35-0.1 test release and report further from there. > > Thanks, this does help a little. However I will still be using the 'files' > setting. The idea was to test this

RE: slow startup after upgrade

2015-02-16 Thread Roger Orr
Corinna Vinschen wrote: > So I'd think the best way forward is to update to the > 1.7.35-0.1 test release and report further from there. Thanks, this does help a little. However I will still be using the 'files' setting. Here are some results in case they're of interest. (Windows 7/64 with c

Re: slow startup after upgrade

2015-02-13 Thread Corinna Vinschen
On Feb 13 08:35, Roger Orr wrote: > I am also hit by the slow AD issue; so thanks for the solution. > > mkpasswd takes an hour and mkgroup takes longer -- is there anything I can > suggest to our administrators that would help make this time less? > > We have not had previous problems reported wi

RE: slow startup after upgrade

2015-02-13 Thread Roger Orr
. -Original Message- From: Corinna Vinschen [mailto:corinna-cyg...@cygwin.com] Sent: 11 February 2015 08:53 To: cygwin@cygwin.com Subject: Re: slow startup after upgrade On Feb 10 15:52, Warren Young wrote: > > On Feb 10, 2015, at 2:38 AM, Corinna Vinschen wrote: > > > >

Re: slow startup after upgrade

2015-02-11 Thread Corinna Vinschen
On Feb 10 15:52, Warren Young wrote: > > On Feb 10, 2015, at 2:38 AM, Corinna Vinschen > > wrote: > > > > "Starting a Cygwin shell is slow, what's going on?" > > > > I'd not be overly grudgy if somebody wants to come up with a FAQ text… > > I’m not entirely sure I understand the problem, but

Re: slow startup after upgrade

2015-02-10 Thread Warren Young
> On Feb 10, 2015, at 2:38 AM, Corinna Vinschen > wrote: > > "Starting a Cygwin shell is slow, what's going on?" > > I'd not be overly grudgy if somebody wants to come up with a FAQ text… I’m not entirely sure I understand the problem, but I’ve attached a starting point. I’m pretty sure the

Re: slow startup after upgrade

2015-02-10 Thread Corinna Vinschen
On Feb 9 23:26, xian wrote: > Sorry for the double post, just noticed a very similar thread. I do > have domain account. What I did now to speed up startup: > created local db with mkpasswd and mkgroup > created nsswitch.conf allowing only files to be read. > > Now everything back to normal. > >

Re: slow startup after upgrade

2015-02-09 Thread xian
Sorry for the double post, just noticed a very similar thread. I do have domain account. What I did now to speed up startup: created local db with mkpasswd and mkgroup created nsswitch.conf allowing only files to be read. Now everything back to normal. I read the new DB method is better, but I ca