lkml.org 
[lkml]   [1998]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: GURU needed: Linux vs. FreeBSD

On Tue, 3 Nov 1998, Jason Venner wrote:

> 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
>
> linux box will use 90% of the cpu, freebsd will use 2%
> [given a decent scsi system]

Are you crazy ?

Here is what I get on a PII-233 under Linux and a decent SCSI system:

5000+0 records in
5000+0 records out
0.02user 4.06system 0:08.58elapsed 47%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (76major+15minor)pagefaults 0swaps

And I have given a try under FreeBSD on the same system but didn't had
time to move the results to Linux world:

Using block device: 6.4 s CPU reported and 8.5 MB/s calculated.
Using raw device : about no cpu reported (0.3s) and 18 MB/s calculated.

I may report you the exact values if you need to be convinced, but if you
have a decent SCSI system, you may try it by yourself.

Results on my system
---------------------
- Using block device FreeBSD is way slower than Linux.
- Using raw device it is as fast and about no CPU is consumed as expected
by not stupid people.


Regards,
Gerard.




-
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/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.085 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site