Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!nntp.coast.net!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!zdc!zdc-e!szdc-e!news
From: John Dyson <toor@dyson.iquest.net>
Newsgroups: comp.os.linux.networking,comp.unix.bsd.netbsd.misc,comp.unix.bsd.freebsd.misc
Subject: Re: TCP latency
Date: Mon, 08 Jul 1996 15:21:09 -0500
Organization: Zippo
Lines: 51
Message-ID: <31E16DB5.41C67EA6@dyson.iquest.net>
References: <4paedl$4bm@engnews2.eng.sun.com> <4pf7f9$bsf@white.twinsun.com> <4rql4p$39f@innocence.interface-business.de> <4rrimn$dro@fido.asd.sgi.com>
NNTP-Posting-Host: exp.celebration.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0 (X11; I; FreeBSD 2.1-STABLE i386)
Xref: euryale.cc.adfa.oz.au comp.os.linux.networking:44397 comp.unix.bsd.netbsd.misc:3969 comp.unix.bsd.freebsd.misc:23071
Larry McVoy wrote:
>
> Yup, that's right. I had completely forgotten about that. I think I have
> both the old and the new libs on my 486, I'll have a crack at seeing the
> perf differences and post them here. My mistake.
>
These were numbers that I got on a version of FreeBSD stable as of
20 Aug 95 and Linux 1.3.20. FreeBSD was generally compiled with
"-O" and Linux with "-O2 -fomit-frame-pointer -fno-strength-reduce -m486".
Motherboard: Micronics 486/66 with 20MBytes of ram. Remember, these
are OLD kernels, but this is the context of the fork/exec perf that I
was talking about. Specifically, showing the overhead encurred by the
dynamic shared lib scheme. Both FreeBSD and Linux have made major
improvements since these measurements were made. This is an excerpt
of a posting made near the end of '95 to some FreeBSD mailing lists.
Note also, the shell used for my FreeBSD test was bash (to eliminate
the differences between the smaller/simpler default FreeBSD shell.)
FreeBSD Linux
USING STATIC PROGRAMS:
Process fork+exit: 3249 4380 usecs
Process fork+execve: 6838 9365 usecs
Process fork+/bin/sh -c: 27156 44115 usecs
USING STATIC PROGRAMS, FreeBSD compiled with -fomit-frame-pointer:
Process fork+exit: 2821 usecs
Process fork+execve: 5917 usecs
Process fork+/bin/sh -c: 25382 usecs
LINKED WITH SUNOS STYLE SHARED LIBS:
FreeBSD Linux
Process fork+exit: 6162 usecs -----
Process fork+execve: 27716 usecs -----
Process fork+/bin/sh -c: 49842 usecs -----
FreeBSD Compiled with -fomit-frame-pointer
Process fork+exit: 5716 usecs -----
Process fork+execve: 26356 usecs -----
Process fork+/bin/sh -c: 48124 usecs -----
LINKED WITH OLD-STYLE JUMP-TABLE SHARED LIBS
FreeBSD Linux
Process fork+exit: ------ 6629 usecs
Process fork+execve: ------ 19877 usecs
Process fork+/bin/sh -c: ------ 58735 usecs
John