Date: Thu, 27 Apr 1995 02:59:13 +0800 (WST) From: 醉生夢死 無言以對 <jdli@CCCA.NCTU.edu.tw> To: freebsd-hackers@FreeBSD.org Subject: benchmark hell.. Message-ID: <199504261859.CAA06439@CCCA.NCTU.edu.tw>
next in thread | raw e-mail | index | archive | help
hi :
I did this test on the two machines...
Linux 1.2.5 :
P90, 2940, AIR54CEP, 16MB RAM, 1G SCSI (slower than next HD)
FreeBSD 0412-SNAP :
P90, 2940, AIR54CEP, 32MB RAM, 1G SCSI
Only RAMs and HDs are different...
Though the HD on linux is 1/3 speed of the one on FreeBSD base on iozone test,
but I found that Linux's disk-io is faster and more "quiet" than freebsd ...
When un-tar the gcc-2.6.3, linux use almost the same time as freebsd,
and when delete the tree, linux is 3 times faster than freebsd...
(the HD on linux is 1/3 speed of the one on FreeBSD base on iozone !!)
I guess maybe Linux will allocate as much memory as it can to be buffer.
Especially when the memory is more than 32mb or 64mb, linux will be much
more faster than freebsd on the same machine...
Anyway, I still love FreeBSD and hope it will be really fast someday !!
:-)
==== Linux test ====
Linux > sync
Linux > free
total used free shared buffers
Mem: 14864 14608 256 5156 848
-/+ buffers: 13760 1104
Swap: 33772 1892 31880
Linux > vmstat
procs memory swap io system cpu
r b w swpd free buff si so bi bo in cs us sy id
0 0 0 1964 260 848 0 0 6 12 126 311 11 10 79
Linux > ./iozone 4
Writing the 4 Megabyte file, 'iozone.tmp'...4.440000 seconds
Reading the file...2.230000 seconds
IOZONE performance measurements:
944663 bytes/second for writing the file
1880853 bytes/second for reading the file
Linux > vmstat
procs memory swap io system cpu
r b w swpd free buff si so bi bo in cs us sy id
0 0 0 1964 260 860 0 0 7 12 126 311 11 10 79
Linux > free
total used free shared buffers
Mem: 14864 14608 256 5116 860
-/+ buffers: 13748 1116
Swap: 33772 1964 31808
Linux > time tar xfz gcc-2.6.3.tar.gz
11.740u 10.630s 1:06.79 33.4% 0+0k 0+0io 81pf+0w
Linux > sync
Linux > vmstat
procs memory swap io system cpu
r b w swpd free buff si so bi bo in cs us sy id
0 0 0 2016 428 780 0 0 9 17 126 316 12 10 78
Linux > free
total used free shared buffers
Mem: 14864 14448 416 4960 788
-/+ buffers: 13660 1204
Swap: 33772 2016 31756
Linux > time /bin/rm -rf gcc-2.6.3
0.020u 0.660s 0:09.76 6.9% 0+0k 0+0io 25pf+0w
Linux > free
total used free shared buffers
Mem: 14864 14460 404 4964 800
-/+ buffers: 13660 1204
Swap: 33772 2016 31756
Linux > vmstat
procs memory swap io system cpu
r b w swpd free buff si so bi bo in cs us sy id
1 0 0 2016 404 800 0 0 9 17 126 317 12 10 78
==== FreeBSD ====
FreeBSD > sync
FreeBSD > vmstat
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr f0 f1 s0 in sy cs us sy id
1 0 04073236 2592 14 0 0 0 12 42 0 0 2 250 1300 72 4 4 91
FreeBSD > ./iozone 4
Writing the 4 Megabyte file, 'iozone.tmp'...1.335938 seconds
Reading the file...0.421875 seconds
IOZONE performance measurements:
3139595 bytes/second for writing the file
9942053 bytes/second for reading the file
FreeBSD > vmstat
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr f0 f1 s0 in sy cs us sy id
0 0 04064160 5788 14 0 0 0 12 42 0 0 2 250 1300 72 4 4 91
FreeBSD > time tar xfz gcc-2.6.3.tar.gz
11.626u 9.109s 1:05.82 31.4% 172+543k 155+4015io 0pf+0w
FreeBSD > sync
FreeBSD > vmstat
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr f0 f1 s0 in sy cs us sy id
0 0 04075528 1760 14 0 0 0 12 42 0 0 2 250 1300 72 4 4 91
FreeBSD > time /bin/rm -rf gcc-2.6.3
0.016u 0.907s 0:27.86 3.2% 151+304k 119+1836io 0pf+0w
FreeBSD > sync
FreeBSD > vmstat
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr f0 f1 s0 in sy cs us sy id
1 0 04088480 5180 14 0 0 0 12 42 0 0 2 250 1299 72 4 4 91
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504261859.CAA06439>
