Re: GURU needed: Linux vs. FreeBSD

Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Tue, 03 Nov 1998 18:08:29 -0400


Jason Venner <jason@idiom.com> said:
> Hard bad numbers:

> Linux uses far more cpu to move data to and from disk and to and from
> network connections than freebsd does.
>
> Simple test.
>
> 1)
> A = disk partition
>
> time dd if=A bs=32k of=/dev/null count=5000

Bad test. Handling of disk partitions is radically different among systems,
and has close to no relevance to FTP/HTTP/NNTP/whatever service. There
things like finding the file in the first place (HTTP, or (even worse)
NNTP: lots and lots of small files) might easily become the bottleneck, or
(more probably) be in the TCP/IP stack.

> linux box will use 90% of the cpu, freebsd will use 2%
> [given a decent scsi system]

That's strange. But then again, if Linux does the task in 1/45th of the
(wall) time... ;-)

> I find that for bulk tcp freebsd is about 20% leaner on the cpu usage
> also, so a given machine under freebsd can serv more requests per unit
> time before it's cpu saturates.

If you don't give the numbers, and do not state clearly how they were
measured and what their relevance for the services considered are, this
tells me nothing. Sorry. BTW, kernel versions and hardware used might also
come handy.

-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile                               +56 32 672616

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/