delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/31/14:41:09

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
From: "Neal Symms" <nsymms AT redwar DOT us>
To: <cygwin AT cygwin DOT com>
Subject: RE: bash backtick operator very slow
Date: Thu, 31 Mar 2005 13:41:43 -0600
Message-ID: <MCENKDNFJIGGLCDONNNHGECKCJAA.nsymms@redwar.us>
MIME-Version: 1.0
In-Reply-To: <Pine.GSO.4.61.0503311046180.12122@slinky.cs.nyu.edu>
X-IsSubscribed: yes

> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]On Behalf
> Of Igor Pechtchanski
>
> > ~$ time hostname
> > MY_HOSTNAME
> > real    0m0.111s
> > user    0m0.060s
> > sys     0m0.040s
> > [...]
> >
> > ~$ time echo `hostname`
> > MY_HOSTNAME
> > real    0m6.175s
> > user    0m0.060s
> > sys     0m0.050s
> >
> > ..and that was a fast one.  Usually it takes > 7 seconds.
>
> Does <http://cygwin.com/ml/cygwin/2005-03/msg00730.html> help?
>

Thanks; that's it exactly, Igor.  I was focusing on the backtick, but it
seems to have something to do with spawning shells while there is ANY
low-priority process sucking up all the idle CPU.

The latest cygwin1.dll snapshot solved this problem.  I didn't find the
answer in my searches because I was focusing on bash & backticks...

Neal


--
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