From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5220 invoked by alias); 11 May 2003 03:46:54 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 5200 invoked from network); 11 May 2003 03:46:54 -0000 Received: from unknown (HELO redhat.com) (24.131.133.249) by sources.redhat.com with SMTP; 11 May 2003 03:46:54 -0000 Received: by redhat.com (Postfix, from userid 201) id 7C02C6BEF7; Sat, 10 May 2003 23:46:49 -0400 (EDT) Date: Sun, 11 May 2003 03:50:00 -0000 From: Christopher Faylor To: cygwin@cygwin.com Subject: Re: cygwin.bat Message-ID: <20030511034649.GA20862@redhat.com> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <3EBC77C9.7090605@m8y.org> <3EBC793B.9000301@rfk.com> <20030511002234.GD17951@redhat.com> <20030511021835.GB18826@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-SW-Source: 2003-05/txt/msg00633.txt.bz2 On Sun, May 11, 2003 at 04:15:05AM +0100, Sam Edge wrote: >cgf wrote in <20030511021835.GB18826@redhat.com> >in gmane.os.cygwin on Sat, 10 May 2003 22:18:35 -0400: > >> >> >If you use cygwin.bat, then under Windows NT/2k/XP you first have a >> >> >CMD.EXE process created and then a bash.exe. The CMD.EXE sits around >> >> >doing nothing until the bash.exe process exits. >> >> > [snip] > >> >Negligible on a modern PC. Noticeable on some of the kit I've got >> >here. ;-) > >> I *really* find that hard to believe. I've run cygwin on some pretty >> slow computers and I've never noticed a slowdown from running bash >> in a command shell. Even Windows should be smart enough to know that >> it can swap out most of command.com when bash.exe is running so I >> don't know how this could be a resource thing. > >Oh yes. I've already said that the general system slow down due to one >extra waiting process isn't going to be noticeable. (Although just >because a process is swapped out doesn't mean it ceases consuming >resources, especially on Windows!) Of course. It's consuming swap space on disk for one thing. It's unlikely that in-use handles or atoms or shared memory is going to have much impact on active processes however. >But the overhead in /launching/ an extra CMD.EXE to process the ".BAT" >file that then starts up bash.exe can be noticed on old kit under NT. So, once again, as I said: Translation: Except for a neglible startup cost, it's probably his imagination. cgf -- 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/