delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/05/30/13:00:40

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:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; q=dns; s=default; b=SVj00ySW0wpcoQ8vHAdBQN2OHG6M
SAzJIoblQRjU5QoAAq6isu33KnsW9itY0gPFfkmM9o4wCMRZI59BHl/gOeUR9Iqn
C/+11Nq2m0mSQniVTX9pP9rDmsSSGauKTbmmSUMqlxIJEcMXpxIoEJKr2T84ura0
NAkiDSFCuoetexk=
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:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; s=default; bh=MrRACCDBb4xyMJZwcee3LnqEQZo=; b=vz
8k0jTSj/If2FpzTK6g8VjQkYZCBgdSy2EomAE971/ZPKHQZRY0jSk6razKPSU8eQ
g2WQbXjAa3ykGwbuERXPRx/ZyqcZEoxI53HSXTM8Yr3QTaa1tuXlzOfA77h7AzwF
I+jE9ZK/m0Nu9SCqu5vFED6RPArrwzuxJEzQeppXg=
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=0.7 required=5.0 tests=AWL,BAYES_20,KAM_ASCII_DIVIDERS,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*F:U*cygwin, strace, huh, H*r:ip*192.168.0.11
X-HELO: smtp5-g21.free.fr
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
Subject: Re: last snapshot is not better than previous version
From: Denis Excoffier <cygwin AT Denis-Excoffier DOT org>
In-Reply-To: <20160530082547.GB12694@calimero.vinschen.de>
Date: Mon, 30 May 2016 19:00:02 +0200
Message-Id: <6FE1A983-9CCD-4010-99DE-FEAA0BA6749E@Denis-Excoffier.org>
References: <90DB300A-9605-4E19-BEFC-AFBFB5240C0E AT Denis-Excoffier DOT org> <20160530082547 DOT GB12694 AT calimero DOT vinschen DOT de>
To: cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u4UH0aVU025324

> On 2016-05-30 10:25, Corinna Vinschen wrote:
> 
> 
> The problem is, there's no change at all in the snapshot which would
> explain a slowdown of such basic functions:
> 
> - Assorted select(2) improvements:
> 
>  commits a23e6a35d896a075640db714b28ce74bb6b8d7ff
>          e5665d8c930485d5ac6d8913573e27b9e5043d92

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. 

I perform:
strace -o vi.out /usr/bin/vim 10k 
and inside vi: 
:0
/9999
:q

Without snapshot, vi.out contains 15133 lines
With snapshot, vi.out contains 426553 lines. Huh?

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

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

Something is probably wrong near here. Please tell me what i should experiment next.

Al least i have found a wrong line in select.cc: line 4, the copyright year is missing. ;-)


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