Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Sheer Panic <sheer@eni.net>
To: axp-list@redhat.com
Subject: Re: Real Bourne Shell for Linux?
Date: Mon, 27 Apr 1998 10:21:37 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.3.95.980427102028.4406c-100000@sheerx.eni.net> (raw)
In-Reply-To: <199804271558.LAA11438@adder.cs.Virginia.EDU>

this does bring to mind the question of "why is linux so slow to fork?".
My linux news server is _faster_ than my OSF/1 news server was. But my
mail server will always run OSF.. because I can't afford the "hit" that
forking under linux causes. Anyone have any guesses why it "costs" so much
to fork under linux?

On Mon, 27 Apr 1998, Greg Lindahl wrote:

> > For example, the "shell benchmark", "while date; do date; done | uniq
> > -c", run on my Alpha EB164 (300 MHz) gives 317 per second using DU 3.2C
> > (real Bourne shell), 88 per second using Redhat Linux 5.0 with Bash and
> > 91 with Ash.  This isn't a problem for those of us who can only type 40
> > WPM, but it is a problem when executing a shell script.
> 
> This isn't a shell benchmark. This is a process creation benchmark.
> 
> Real shell scripts may or may not have a process creation bottleneck.
> They often spend much of their time passing data down pipes and using
> utilities.
> 
> The best way to make a shell script fast is often to rewrite it in
> Perl.
> 
> -- g
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 
> 
> 


  reply	other threads:[~1998-04-27 18:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-27 15:58 Real Bourne Shell for Linux? Greg Lindahl
1998-04-27 17:21 ` Sheer Panic [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-04-27 15:51 brinkmann
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox