*BSD News Article 73273


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!usenet.eel.ufl.edu!gatech!news.mathworks.com!nntp.primenet.com!news.cais.net!van-bc!unixg.ubc.ca!news.bc.net!info.ucla.edu!nnrp.info.ucla.edu!galaxy.ucr.edu!hill!grif
From: grif@hill.uucp (Michael Griffith)
Newsgroups: comp.os.linux.networking,comp.unix.bsd.netbsd.misc,comp.unix.bsd.freebsd.misc
Subject: /bin/sh (was: TCP latency)
Date: 9 Jul 1996 22:39:56 GMT
Organization: University of California, Riverside
Lines: 20
Message-ID: <4run3s$3ou@galaxy.ucr.edu>
References: <4paedl$4bm@engnews2.eng.sun.com> <4rrimn$dro@fido.asd.sgi.com> <31E16DB5.41C67EA6@dyson.iquest.net> <4rtvpf$7e5@fido.asd.sgi.com>
NNTP-Posting-Host: hill.ucr.edu
Xref: euryale.cc.adfa.oz.au comp.os.linux.networking:44564 comp.unix.bsd.netbsd.misc:3978 comp.unix.bsd.freebsd.misc:23182

In article <4rtvpf$7e5@fido.asd.sgi.com>,
Larry McVoy <lm@slovax.engr.sgi.com> wrote:
>I'm also interested in John's comment about the smaller, simpler shell
>that FreeBSD uses (I assume it is /bin/sh, right?).  If FreeBSD has a
>simple shell that doesn't break any common scripts (like rc.d scripts,
>that would be a bummer), I'd vote for using that in Linux.  I hate using
>bash to start processes, it's bloated.

I wonder if it is 'ash'?  I thought about the possibility of using a
smaller, tighter shell on Linux as /bin/sh because it seemed silly to
use big ol' bash for every simple little system().  Right after
Usenix, I ran lmbench-1.0 with both ash and bash as /bin/sh.  Even
though ash was significantly smaller and simpler, it wasn't faster.  I
wish I still had the numbers around, but bash was a clear winner.

-- 
Michael A. Griffith (grif@cs.ucr.edu) | http://www.cs.ucr.edu/~grif/
Department of Computer Science        | PGP public key available.
University of California, Riverside   | "My freedom of speech implies
(909) 787-3803     (909) 787-4643 FAX |  your freedom to be offended."