Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: brinkmann@nmsu.edu
To: axp-list@redhat.com
Subject: Real Bourne Shell for Linux?
Date: Mon, 27 Apr 1998 09:51:48 -0600 (MDT)	[thread overview]
Message-ID: <199804271551.JAA27537@galileo.apo.nmsu.edu> (raw)

I'd like to find a REAL Bourne Shell for Linux... Is there such a
thing?  Bash is great for command line use, but pretty slow for shell
scripts.  Has anyone compiled the FreeBSD or NetBSD Bourne Shell
under Linux?  If so, are there any "gotchas"?

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.

As an aside, this benchmark, run on other machines gives:

Rate	Processor
----	---------
317	Alpha, 300 MHz, 1MB cache, 64 MB main memory, DU, sh
310	Pentium 166 laptop - FreeBSD, sh
119	Dual Pentium 200 Mhz, 256 MB main memory, Linux, bash
88	Alpha, 300 MHz, 1MB cache, 64 MB main memory, Linux, bash 
70	R4000, 100 MHz, 144 MB main memory, IRIX, sh
60	Ultra-1, Solaris, sh
46	Pentium 90 MHz, ? memory, Linux, bash
17	Sparc 20, ? memory, Solaris, sh
11	Sparc 5, ? memory, Solaris, sh
10	Sparc 10, Solaris, sh

Jon
---
Dr. Jon Brinkmann				Apache Point Observatory
Instrument Scientist				2001 Apache Point Road
Internet:	brinkmann@nmsu.edu		P.O. Box 59
URL:	http://www.apo.nmsu.edu/brinkmann/	Sunspot, NM 88349-0059


             reply	other threads:[~1998-04-27 15:51 UTC|newest]

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