delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/06/04/15:15:22

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:mime-version:content-type:from
:in-reply-to:date:cc:content-transfer-encoding:message-id
:references:to; q=dns; s=default; b=sM6y+AQKXzi22kGZJ0IuHg2NgRNo
Q2+r5CBaOFDr7vwoWx+oWphgjQZ0uepqCqK2PNnsNOKtOeEvib79pQP6PIvz6LCZ
lE/ihGWlI+iSPctq0+Xf/16gzYRv2Zs+rxB3T1NXiq0EgAOsDn7MJ5Im98XKnars
jjufKXt5Hg56FJM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:mime-version:content-type:from
:in-reply-to:date:cc:content-transfer-encoding:message-id
:references:to; s=default; bh=SZpFXc3llg+CN8YcklIspgVOypw=; b=y6
4keu4FMh0zbGyVWLEk8e2cOByvBzdBu6N6oxFqjqqIDakcFkdmFlUPWAjm6SqOVR
7/ebUNNU1G90W6pCvzjqUbCzC3VcEH4CfM/pQHpvK/W3DgkOwpjlwxqQoqIQy8a/
PC4iAVkIQXhx14bPGGdpAeyliwj2lxYqqUsESbQC4=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.0 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,TBC autolearn=no version=3.3.2 spammy=H*F:U*cygwin, You've, Youve, 11000
X-HELO: smtp5-g21.free.fr
Subject: Re: last snapshot is not better than previous version
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Denis Excoffier <cygwin AT Denis-Excoffier DOT org>
In-Reply-To: <5752506F.3040602@glup.org>
Date: Sat, 4 Jun 2016 21:14:57 +0200
Cc: John Hood <cgull AT glup DOT org>
Message-Id: <611E38A1-0FC8-44B5-8332-6E057E5F7B23@Denis-Excoffier.org>
References: <90DB300A-9605-4E19-BEFC-AFBFB5240C0E AT Denis-Excoffier DOT org> <20160530082547 DOT GB12694 AT calimero DOT vinschen DOT de> <6FE1A983-9CCD-4010-99DE-FEAA0BA6749E AT Denis-Excoffier DOT org> <20160531091651 DOT GB24015 AT calimero DOT vinschen DOT de> <5752506F DOT 3040602 AT glup DOT org>
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u54JFIDc031125

> 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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019