public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Denis Excoffier <cygwin@Denis-Excoffier.org>
To: The Cygwin Mailing List <cygwin@cygwin.com>
Cc: John Hood <cgull@glup.org>
Subject: Re: last snapshot is not better than previous version
Date: Sat, 04 Jun 2016 19:15:00 -0000	[thread overview]
Message-ID: <611E38A1-0FC8-44B5-8332-6E057E5F7B23@Denis-Excoffier.org> (raw)
In-Reply-To: <5752506F.3040602@glup.org>


> On 2016-06-04 05:52, John Hood wrote:
> 
> Corinna asked me to look at this since I coded the select()-related changes she mentioned.  I can't reproduce either of your cases.
Thank you for your help.
> 
> Some things I'll mention:
> 
> 1) Your Cygwin install seems to be in your Windows home directory. There's nothing wrong with that but it is unusual.  Is there some reason the usual location doesn't work?
This PC belongs to my company, and i don't know where to write if not in my home directory. C:\CYGWIN is not an option for me (permission denied). I have no special/administrator/whatever right, only basic user. Cygwin is installed with the "Just Me" option.
> 
> 2) The cygcheck output shows you being a member of over 50 groups, is this system in a domain?  Are any network shares involved?  (I tried mounting a local network share, then using ls.  It was 10 times slower-- but that was still only 4 seconds to list 11000 files.)
Yes this system is in a domain. No network shares are involved. For these tests, i'm not connected to anything, only local drives.
> 
> 3) You have many thousands of packages installed.  It's not the complete Cygwin set but it is a substantial fraction.  It might be worth trying an install with a smaller number of packages.  Are you running these tests on the same Cygwin install but with different DLLs installed, or on different Cygwin installs?
I usually install all the packages (but not the test ones), except the Debug category for which i keep the default. I usually also install each test Cygwin package as soon as it is announced, including the cygwin-devel package (currently there are none). I also install each new snapshot as soon i can see it.
For each cygwin version installed (regular package, test package, snapshot) and immediately after installation, i compile a fresh cygwin1.dll from the corresponding source package (modifying 'define SYMLOOP_MAX' from 10 to 32 since 10 is definitely too small for me). If everything goes well, i switch to the fresh cygwin1.dll and perform my usual business with it.
For this particular 20160520 snapshot (now 20160531) i've exercised this whole process, then observed the abovementioned slowness, then switched back to the cygwin1.dll from 2.5.1-1, keeping the other files from cygwin-20160520.tar.xz (then installed cygwin-20160531.tar.xz, then switched back again to the cygwin1.dll from 2.5.1-1).
In other terms, "with snapshot" means "with the snapshot fully installed" (all files from cygwin-yyyymmdd.tar.xz). "without snashot" means the same, except that the cygwin1.dll is replaced by the one from 2.5.1-1.
> 
> 4) You've given an interpretation of the strace output that you see, but it might be useful to see the actual strace output for your two test cases.  Perhaps the noisy logging for select() is an effect of the problem, rather than its cause.  Could you run them again (also with the -d flag, which will help us see where the time goes), and send them in email?
I'll send this by private email. Please wait a little.

Regards,

Denis Excoffier.
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  reply	other threads:[~2016-06-04 19:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-26 19:26 Denis Excoffier
2016-05-30  9:01 ` Corinna Vinschen
2016-05-30 22:41   ` Denis Excoffier
2016-05-31 16:38     ` Corinna Vinschen
2016-06-04  3:52       ` John Hood
2016-06-04 19:15         ` Denis Excoffier [this message]
2016-06-06 14:55           ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=611E38A1-0FC8-44B5-8332-6E057E5F7B23@Denis-Excoffier.org \
    --to=cygwin@denis-excoffier.org \
    --cc=cgull@glup.org \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).