delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/03/14:53:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Thu, 03 Mar 2005 11:53:21 -0800
From: David Rothenberger <daveroth AT acm DOT org>
Subject: Re: Slow pipes after upgrade cygwin 1.5.12-1->1.5.13-1 when running boinc
In-reply-to: <1198.130.240.136.220.1109867760.squirrel@130.240.136.220>
To: cygwin AT cygwin DOT com
Message-id: <42276B31.4010002@acm.org>
MIME-version: 1.0
References: <1198 DOT 130 DOT 240 DOT 136 DOT 220 DOT 1109867760 DOT squirrel AT 130 DOT 240 DOT 136 DOT 220>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

On 3/3/2005 8:36 AM, Bengt-Arne Fjellner wrote:
> With boinc running einstein AT home at lowest priority ( uses 100% cpu but yields easily)
> simple pipes takes a long time.
> Example: from a bash prompt
> echo hello|grep -v xyz
> with boinc running and 1.5.13-1 takes about 7 seconds.
> if i stop boinc it takes parts of a second.
> after downgrade to 1.5.12-1 with boinc running: parts of a second.
> 
> i have seen this on two different computers one HT one normal.

I was able to reproduce this without using BOINC.

I started two cmd.exe shells. In the first shell, I ran:

  sh -c 'nice -20 sh -c "while true; do :; done"'

Then, in the second cmd shell, I ran "sh" to start an ash shell I typed:

  echo hello | grep -v xyz

This takes several seconds to complete on a non-HT machine. It runs
quickly with 1.5.12.

I also noticed that if I ran

   sh -c 'echo hello | grep -v xyz'

from a cmd.exe shell, it completed quickly with 1.5.13.

The latest 20050303 snapshot fixed this problem for me. It also fixed
the problem I was having with BOINC.

-- 
David Rothenberger                spammer? -> spam AT daveroth DOT dyndns DOT org
GPG/PGP: 0x7F67E734, C233 365A 25EF 2C5F C8E1 43DF B44F BA26 7F67 E734

To stand and be still,
At the Birkenhead drill,
Is a damned tough bullet to chew.
		-- Rudyard Kipling


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

- Raw text -


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