delorie.com/archives/browse.cgi | search |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=Y9NSj9p/ArKQzkhPYb17WuzqIYi1tkHYTgUnBpki80CI/tu7BOxHU | |
hc9yA8KUiyJb3ksOo98hs92IOvtgQXiPGwkMC5lii/UnU05A7QgNRmbZcADq0E4c | |
zFL0OlJjkjCw0wsmZONGdkRhN0RiVwEP9yat0iy8IsvE/IFGJgTD0I= | |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=diUfX0ddbd2PWJnNmjzNEdQXIiE=; b=BfvqFTNg0RP3tHwF6T3lveaQeoja | |
05XAK2/gzivcrkaRGKjvYA2h/ytncjnHOhcTvxkSVGyMVIMIZtx9ghd+O4SyNCU2 | |
6AZe2oguFhmT/gbonU+GaBdJtR0Pn50b9yA1koQpSZkv1VpmjBnqpEvAN+gheJu/ | |
pJvr7CW7z4aBz/w= | |
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=-94.2 required=5.0 tests=AWL,BAYES_50,GOOD_FROM_CORINNA_CYGWIN,KAM_ASCII_DIVIDERS,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=ham version=3.3.2 spammy=huh, select_stuff, UD:wait, UD:select.cc |
X-HELO: | calimero.vinschen.de |
Date: | Tue, 31 May 2016 11:16:51 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: last snapshot is not better than previous version |
Message-ID: | <20160531091651.GB24015@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
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> |
MIME-Version: | 1.0 |
In-Reply-To: | <6FE1A983-9CCD-4010-99DE-FEAA0BA6749E@Denis-Excoffier.org> |
User-Agent: | Mutt/1.6.1 (2016-04-27) |
--4bRzO86E/ozDv8r1 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On May 30 19:00, Denis Excoffier wrote: >=20 > > On 2016-05-30 10:25, Corinna Vinschen wrote: > >=20 > >=20 > > The problem is, there's no change at all in the snapshot which would > > explain a slowdown of such basic functions: > >=20 > > - Assorted select(2) improvements: > >=20 > > commits a23e6a35d896a075640db714b28ce74bb6b8d7ff > > e5665d8c930485d5ac6d8913573e27b9e5043d92 >=20 > Thank you for your answer. However, i do insist. > I use again the file created with "seq 10000 > 10k" and still > look-up the string "9999" inside it.=20 >=20 > I perform: > strace -o vi.out /usr/bin/vim 10k=20 > and inside vi:=20 > :0 > /9999 > :q >=20 > Without snapshot, vi.out contains 15133 lines > With snapshot, vi.out contains 426553 lines. Huh? I tested with 2.5.1, with the latest snapshot and with the latest from git master, on 32 and 64 bit. In all cases, the above results in about 1000 'select_stuff::cleanup: calling cleanup routines' lines in vi.out, give or take, depending on my typing speed. > Without snapshot, the 6 lines: > ------------------------------ > select: sel.always_ready 0 > select: sel.wait returns 0 > select_stuff::cleanup: calling cleanup routines > select_stuff::destroy: deleting select records > select: recalculating ms > select: ms now 0 > ------------------------------ > occur about 450 times >=20 > With snapshot, the 6 lines: > ------------------------------ > select: sel.always_ready 0 > select: sel.wait returns 0 > select_stuff::cleanup: calling cleanup routines > select_stuff::destroy: deleting select records > select: recalculating us > select: us now 0 > ------------------------------ > occur more than 69000 times >=20 > Something is probably wrong near here. Please tell me what i should exper= iment next. >=20 > Al least i have found a wrong line in select.cc: line 4, the copyright ye= ar is missing. ;-) Yeah, no worries. Again, I can *not* reproduce this. Maybe we should start at the basics, a cygcheck output. What's your OS? I'm testing on a 64 bit W10. What's your terminal? I tried from Mintty as well as from a console. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --4bRzO86E/ozDv8r1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXTVaDAAoJEPU2Bp2uRE+gxooP/i86tBz4spjp4CM+OxLCgGjg XbnWi/0uu7eLlWUhcJ8DRxqUBZja800BB7FA2bLzQcpqZTTw/PURy38qirzxMCN5 +1U8l7OXddJdG0t7/v+fKqjjfzMNte5JnmLw+R2zVGarYalJqruYHZtXJyZqxQdI vNH4czIIEZEp87TRc74HsLuGIW+JfmKXfn95XncRWwX/mBMpJnIM7vRgj5a4m2JO 05J+B1inFESRR92GFV42ImvVd47Yxa+EXn/nOBZPocH1C1XMaMY0Xg0Ug0d7jon6 kltYxS3kdvAtCKFmBK0U9ywCy1bruNuax4IjxVyWQd+AFn/1EIBPgLlalPVD4Z9g Dj+kDbCteQG5vuuCkLAKpuVi6rLu7Yv+FrpjkcQ6wXL7yENhi+gmLZ5q5SlpVIQI CLNMHg1rsfyt2dkiMwktJiUEut9cSJmL72Ru0tCH6jPkj7H/Btk01Ckyb88HUxb0 fP6PqtHiE7HBIEdEew+Rfj15/cpLckQR4lR5McwlKyt05Tml9Ys0KnWROjee2ccf mHLopLacXZ39Szwgn5bP4whoCj0h3yuk9MTgNUihJYHS88y0aNKQjM9zZHtRIrQA jwD9SKe+BTI+ryheMtn1J86baUQ85UrkN5BAVsl0JEFyHEs5yrsILGecAOTcnFhx hUfO7YQfoc2RSPsqCRjS =TdjK -----END PGP SIGNATURE----- --4bRzO86E/ozDv8r1--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |