Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: Cygwin List Message-Id: <6.2.1.2.0.20050413113441.03974030@pop.prospeed.net> Date: Wed, 13 Apr 2005 11:45:04 -0400 To: Peter van Heusden , cygwin AT cygwin DOT com From: Larry Hall Subject: Re: cygwin (pipes?) VERY slow on Windows Server 2003 / AMD Athlon 64 In-Reply-To: <425CF9E7.2000609@wfeet.za.net> References: <425CF9E7 DOT 2000609 AT wfeet DOT za DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 06:52 AM 4/13/2005, you wrote: >Hi all > >I've been trying to understand why startup and certain commands of my >cygwin installation are very slow, and it seems to come down to the >pipes. For instance, this command: > >$ time cat /etc/motd |cat >Fanfare!!! >You are successfully logged in to this server!!! > >real 0m9.744s >user 0m0.000s >sys 0m0.000s > >takes nearly 10 seconds! 'ls -l |sort' takes 9.76 seconds. Another contrast: >sort /etc/profile: 0.019 seconds. cat /etc/profile: 0.020 seconds. cat >/etc/profile | sort: 40.5 seconds! > >Does anyone have any clues as to what could be causing this? The cygwin >I'm using is the latest installed from the mirror at ftp://ftp.is.co.za. >Output of cygcheck -s -v -r attached. Actually, you ran with Cygwin 1.5.13 for this test despite the fact that you actually installed 1.5.14 via 'setup.exe' the last time you ran it. But I expect that's of little consequence. I could not reproduce the problem on W2K Pro or XP Pro with either 1.5.13 or the latest snapshot (4/12). I don't see anything obviously wrong with your configuration but there's something going on here. Do you have a local copy of 'sort' in your '/usr/local/bin'? -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/