Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Oct 1998 19:08:03 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Paul Dekkers <psd@cgu.nl>, FreeBSD Questions <questions@FreeBSD.ORG>
Subject:   Re: Maybe 3.0 or wait for 2.2.8?
Message-ID:  <19981017190803.A435@freebie.lemis.com>
In-Reply-To: <Pine.BSF.3.96.981017100851.29248B-100000@chippie.cgu>; from Paul Dekkers on Sat, Oct 17, 1998 at 10:12:42AM %2B0200
References:  <Pine.BSF.3.96.981017100851.29248B-100000@chippie.cgu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday, 17 October 1998 at 10:12:42 +0200, Paul Dekkers wrote:
> Hi
>
> If I want to set-up a proxy server, what's the best RELEASE for me? Is 3.0
> faster or better for those purposes?

No.

> And which version would you suggest to use for a multi-user server?

What do you mean by that?  But I still don't think 3.0's a better
choice unless you have some specific requirement which 2.2 can't
fulfil.  One example might be support for UltraDMA: if you have newish
IDE drives, they will run *much* faster under 3.0.

> I once heared people say for servers that have to be fast you'd try 3.0
> instead of 2.2.X... Is that true? Or can I better use 2.2.X because it has
> proven its stability?

There's not that much difference between the two in speed.  What
difference there is may depend on what you're doing.  2.2 is probably
more stable.

> BTW: Since it's running under ELF, does it eat up more mem? Under
> Linux my shell (bash) always took more than 1.3Mb, and under FreeBSD
> it was just half of that (700K or smth), is that still the same? (I
> always assumed that as the big disadvantage for ELF instead of
> a.out...)

No, there's some other factor at work there.  Maybe one was stripped,
the other not.  Here's an example of the difference between some
typical programs on a 3.0-BETA elf machine and a 3.0-RELEASE aout
machine:

=== root@razzia (/dev/ttyp3) /bin 6 -> ls -l cp csh ps sh
-r-xr-xr-x  1 root  wheel   60904 Oct 14 10:32 cp
-r-xr-xr-x  1 root  wheel  258280 Oct 14 10:32 csh
-r-xr-sr-x  1 root  kmem   187872 Oct 14 10:33 ps
-r-xr-xr-x  1 root  wheel  321120 Oct 14 10:33 sh
=== root@razzia (/dev/ttyp3) /bin 7 -> file cp csh ps sh
cp:  ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
csh: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
ps:  setgid ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
sh:  ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
=== root@razzia (/dev/ttyp3) /bin 8 -> cd /freebie/bin
=== root@razzia (/dev/ttyp3) /freebie/bin 9 -> ls -l cp csh ps sh
-r-xr-xr-x  1 root  wheel   65536 Oct 17 17:29 cp
-r-xr-xr-x  1 root  wheel  258048 Oct 17 17:29 csh
-r-xr-sr-x  1 root  kmem   188416 Oct 17 17:30 ps
-r-xr-xr-x  1 root  wheel  319488 Oct 17 17:30 sh
=== root@razzia (/dev/ttyp3) /freebie/bin 10 -> file cp csh ps sh
cp:  FreeBSD/i386 compact demand paged executable
csh: FreeBSD/i386 compact demand paged executable
ps:  setgid FreeBSD/i386 compact demand paged executable
sh:  FreeBSD/i386 compact demand paged executable

In other words, in some cases ELF is bigger than a.out, in some cases
it's the other way round.  Either way, it's not a big difference.

Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981017190803.A435>