[Jfs-discussion] Tests with kernel v2.4.13, ext2, ext3, xfs, and jfs
Brought to you by:
blaschke-oss,
shaggyk
|
From: Michael <mue...@ni...> - 2001-10-28 19:51:27
|
Hello!
Some days ago I bought a 60GB harddisk. I used this empty disk to
compare some filesystems with JFS. I was able to patch the 2.4.13
kernel with ext3 + xfs + jfs (v1.0.8) (I carried out only some small
manual changes).
I made the tests on a 700MHz Athlon with 384MB RAM. Both HDs use UDMA
Mode 4 (66MHz).
Here are my results:
The old HD:
grizzly:/opt/Tonne# hdparm -t -T /dev/hda
/dev/hda:
Timing buffer-cache reads: 128 MB in 0.68 seconds =188.24 MB/sec
Timing buffered disk reads: 64 MB in 1.84 seconds = 34.78 MB/sec
The new HD:
grizzly:/opt/Tonne# hdparm -t -T /dev/hdb
/dev/hdb:
Timing buffer-cache reads: 128 MB in 0.66 seconds =193.94 MB/sec
Timing buffered disk reads: 64 MB in 1.64 seconds = 39.02 MB/sec
'df' after filesystem creation:
Dateisystem 1k-Blöcke Benutzt Verfügbar
ext2 /dev/hdb1 59107604 20 56105008
ext3 /dev/hdb1 59107604 32828 56072200
jfs /dev/hdb1 60016764 7464 60009300
xfs /dev/hdb1 60044240 944 60043296
jfs and xfs have more space available!
bonnie:
-------Sequential Output-------- ---Sequential Input-- --Random--
-Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
ext2 2000 6512 99.2 32978 16.8 12228 8.5 5632 89.3 39190 17.6 129.6 0.6
ext2 2000 6489 99.2 32338 16.5 11800 8.7 5625 89.2 39446 18.0 125.7 0.8
ext3 2000 6108 97.5 21067 25.0 15559 13.8 5550 89.1 39265 21.4 118.3 0.8
ext3 2000 6214 98.7 24288 26.0 16691 14.9 5580 89.5 39283 21.2 118.2 0.8
jfs 2000 5371 82.3 29412 18.9 16749 11.1 5696 90.4 39315 17.9 132.7 0.8
jfs 2000 5351 81.8 28253 17.8 17254 11.3 5730 90.8 39460 17.4 132.5 0.6
xfs 2000 5453 83.4 28412 15.2 12652 10.6 5733 91.5 39594 20.9 143.0 0.9
xfs 2000 5423 83.1 28005 15.7 11932 9.2 5697 90.9 39811 19.9 146.1 0.8
Copying two big files (each 700MB) from hda to hdb:
ext2 1m41s
ext3 1m50s
jfs 1m58s
xfs 1m40s
Copying a big directory with small files (some kernel trees):
Depending on the filesystem the amount varies!
amount copying 'du -sh' rm -r
ext2 986M 7m3s 39s 1m
ext3 986M 7m21s 1m1s 1m3s
jfs 983M 8m1s 20s 2m50s
xfs 976M 8m22s 52s 2m25s
One remark to the manpage of mkfs.jfs.
-ls:log_size
Set the log size (in megabytes). If the -ls option is not used, the default is 4% of
the aggregate size.
(The value in the manpage to mkfs.jfs v1.0.6 was 0.4%.)
4% from 60GB would be 2.4 GB. But:
from mkfs.jfs:
60051568 kilobytes total disk space.
and
60016764 kb from 'df'
=> 34MB for the journaling file. So the explanation is not correct.
Best regards!
Michael
|