Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jan 2002 11:11:02 +0100
From:      Emre Bastuz <info@emre.de>
To:        freebsd-isp@FreeBSD.ORG
Subject:   Solaris vs. FreeBSD in High Traffic Environments
Message-ID:  <3C4A97B6.4070409@emre.de>

next in thread | raw e-mail | index | archive | help
Hi,

despite the subject, this mail is not supposed to be a
"what OS is better" kind of discussion :)
Both are good. Period.

I have just a couple of questions concerning the performance
of those OSs when used for a high traffic webserver.

I have recently moved a high traffic website from a Sun Sparc
Solaris 5.8 X1 box to an Intel P3 1Ghz box with 1 Gig of RAM
and FreeBSD 4.4.

The machine got offline twice within 48 hours (the Solaris box had never
crashed), thatīs why some tweeking on the kernel and other parameters
was done. Since then the server is performing great.

Question 1:
Does anyone know the default values on a Solaris machine for the
following kernel compilation parameters -
  maxusers        512
  options         NMBCLUSTERS=65536

and sysctl parameters -
  net.inet.tcp.blackhole=2
  net.inet.udp.blackhole=1
  net.inet.ip.rtexpire=2
  net.inet.ip.rtminexpire=2
  vfs.vmiodirenable=1
  kern.ipc.somaxconn=4096
  kern.maxfiles=65536

All those settings were obtained from various pages dealing with
FreeBSD in hight traffic environments.

I guess that Solaris has these settings up to high values by
default, thatīs why the Solaris machine never crashed but
FreeBSD did. Can anyone confirm this ?

Question 2:
The result of the 'top' command looks veeeeeeery different on
Solaris and FreeBSD.

When the Solaris box was running the webserver, the load was at
about '300' - whereas FreeBSD seems to handle beautifully smooth
at a load of '0.3'. Somehow this is too good to be true.

Can anyone point out why thereīs such a huge difference ?
Any major differences in the calculation of the load values
on both systems ?

Any hints are greatly appreciated !

Reagrds,

Emre

-- 
Emre Bastuz
info@emre.de              http://www.emre.de
UIN: 561260           PGP Key ID: 0xAFAC77FD


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




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