Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!news.vbc.net!garlic.com!news.scruz.net!kithrup.com!news.Stanford.EDU!agate!theos.com!riscan.riscan.com!n1van.istar!van.istar!west.istar!uniserve!oronet!news.sprintlink.net!news-stk-11.sprintlink.net!news.sprintlink.net!news-stk-200.sprintlink.net!news.mathworks.com!newsfeed.internetmci.com!info.ucla.edu!nnrp.info.ucla.edu!galaxy.ucr.edu!cs.ucr.edu!grif From: grif@cs.ucr.edu (Michael Griffith) Newsgroups: comp.os.linux.networking,comp.unix.bsd.freebsd.misc Subject: ash v. bash (Was: TCP latency) Date: 16 Jul 1996 03:32:26 GMT Organization: UC Riverside, Dept. of Computer Science Lines: 22 Message-ID: <4sf2ga$ekf@galaxy.ucr.edu> References: <4paedl$4bm@engnews2.Eng.Sun.COM> <31E80933.41C67EA6@dyson.iquest.net> <4saf55$dl5@verdi.nethelp.no> <87k9w6g6u4.fsf@localhost.xs4all.nl> NNTP-Posting-Host: cs.ucr.edu Xref: euryale.cc.adfa.oz.au comp.os.linux.networking:45364 comp.unix.bsd.freebsd.misc:23706 In article <87k9w6g6u4.fsf@localhost.xs4all.nl>, Peter Mutsaers <plm@xs4all.nl> wrote: >Most things don't differ much. Only a /bin/sh process and mmap lat. is >much faster on FreeBSD, while some communication latencies and context >switches are fater [sic.] on Linux. Linux can be made much faster if 'ash' from *BSD is used as /bin/sh. GNU bash is considerably slower. Most Linux distributions have dependencies on bash that will break things if 'ash' is used as /bin/sh. These will have to be resolved if Linux users want system() and other mechanisms that use /bin/sh to be faster. Note: This is how the benchmarks are meant to be used: "Hmm, that's wierd. I would have thought that FreeBSD and Linux would have /bin/sh process numbers that are pretty close on the same hardware. I bet something is wrong on Linux. Oh, it is using bash as /bin/sh. I wonder if that makes a difference..." -- Michael A. Griffith (grif@cs.ucr.edu) | http://www.cs.ucr.edu/~grif/ Department of Computer Science | "My freedom of speech implies University of California, Riverside | your freedom to be offended."