[FUGSPBR] FreeBSD 4.1.1 versus Linux 2.4 ( Source : Byte / Feb-2001 )

Jefferson Carvalho jefferson em armazemparaiba.com.br
Sex Jun 8 13:49:22 BRT 2001


Pessoal , alguem tem comparações de performance
entre o FreeBSD e o Linux mais recentes ?

--->> Abaixo segue uma secção do original da
Byte. <<<---

----------------------------------------------------------------------------
---
1º) These are the results with both running the
same source code of Apache 1.3.12, obtained
from the Apache.org website and recompiled
locally on each OS.

URL 						Linux2.4.0            FreeBSD 4.1.1

http://netfinity/index.html         1392.37 req/sec       1892.47 req/se
http://netfinity/cgi-bin/C           421.91 req/sec       501.34 req/sec
http://localhost/cgi-bin/perl.cgi    107.18 req/sec       136.29 req/sec

2º) Mysql


Under Linux, the repeated (10 runs each) and averaged results for the same
benchmark were:
Totals per operation:

Operation  seconds
alter_table_add  287
alter_table_drop  186
connect  7
count  83
count_on_key  893
create+drop  4
create_index  3
insert  24
order_by  189
order_by_key  174
select_distinct  37
update_with_key  182
TOTALS  2069

And under FreeBSD:

Operation  seconds
alter_table_add  225
alter_table_drop  181
connect  10
count  73
count_on_key  821
create+drop  8
create_index  7
insert  31
order_by  132
order_by_key  140
select_distinct  21
update_with_key  169

TOTALS  1818

The Sendmail benchmarking showed results slightly more
favorable to Linux. All tests were repeated 10 times,
as with the MySQL benchmarks, and they averaged:

 					Linux 		FreeBSD
Incoming e-mail:  		317 mails/sec      289 mails/sec
Mail relaying:    		182 mails/sec 	 214 mails/sec
Fetchmail POP3:    		 92 mails/sec       98 mails/sec
Fetchmail incoming:            17 mails/sec       15 mails/sec

-------------------------------------------------------------------

Several times, after going through hours of stress testing,
the Linux box would not let me log in with a simple rlogin or rsh.

In those cases, I had to go through a standard telnet session to
access the server. This odd behavior was not reproducible,
but did occur five times, always after several hours of
load testing. The FreeBSD OS never showed any odd behavior.

Occasionally, when the virtual memory was earnestly overloaded,
launching a simple "ps aux" would take four or five seconds on
the Linux 2.4.0 while waiting for some pages to be freed.
Tweaking the VM subsystems (see Tuning Linux For Max Performance)
did help a lot. No tweaking was necessary on FreeBSD. It follows
that FreeBSD does a better job at self-tuning its VM than Linux 2.4.0.

Conclusions
Linux 2.4.0 is available for no money. So is FreeBSD.
Linux uses advanced hardware, so does FreeBSD.
FreeBSD is more stable and faster than Linux, in my opinion.
We penguinistas sometimes believe we are having more fun
than anybody. But then I lean over the fence and discover
the FreeBSD folks are having a hell of a party, too.
And their OS is as fast as I have seen.

I have to ask myself why I don't just switch my server to FreeBSD.




----
Para sair da lista envie um e-mail para majordomo em fugspbr.org
com as palavras "unsubscribe fugspbr" no corpo da mensagem.



Mais detalhes sobre a lista de discussão freebsd