Linux-Sec.net/FS/Scripts |
|
| Comparison of Ext2 vs Ext3 vs ReiserFS vs JFS vs XFS |
|
| Scripts to Test Ext2 vs Ext3 vs ReiserFS vs JFS vs XFS |
|
| Testing Process |
- Master System
- default/unpatched Redhat EL3-Workstation
- Intel S875WP1E Motherboard - 800FSB
- Intel P4-2.8G - 800FSB - 512KB L2 cache
- 1GB or 2GB of PC-3200 DDR-333 memory
- 80GB Seagate Master disk = /dev/hda
- 80GB Seagate Target disk = /dev/hdc --> target filesystem to be tested
- Test Process
- Partition table is kept constant during these test (partitioned w/ fdisk only once)
- Format the Target disk with the test Filesystem
- Copy the Master Disk filesystem to the Target Disk
- Do multiple kernel compile on the Target Disk filesystem
Test1 - 3 passes
- 1GB of memory
- It takes longer to write data on each succesive pass
Test-10 -- 10 passes
- Only the kernel compiles were done on the Target disk, Master disk was unchanged
- Script was changed, start/end time fo formatted not displayed
- It takes longer to write data on each succesive pass -- bad --
- XFS seems to be immune to delays in successive passes
- These kernel compiles Tests ( T1 and T2 ) were done by:
- Format the Target Disk w/ the target filesystem to test
- install RH-EL3 onto the target filesystem and boot it
- do 10 kernel compile passes after booting the target filesystem
T1 -- 4 passes on 1st Master identical as 2nd Master
- 1st kernel compile pass takes the longest
T2 -- 4 passes on 2nd Master identical as 1st Master
- 1st kernel compile pass takes the longest
|
| Summary: Ext2 vs Ext3 vs ReiserFS vs JFS vs XFS |
|
|
Formatting
|
|
|
Test1
|
T10
|
T1
|
T2 <<--- Different Tests
|
|
Ext2
|
:38
|
:39
|
:40
|
:40
|
|
Ext3
|
:39
|
:41
|
:42
|
:41
|
|
ReiserFS
|
:07
|
:07
|
:07
|
:06
|
|
JFS
|
:02
|
:02
|
:02
|
:01 ==> 10x faster formatting
|
|
XFS
|
:02
|
:02
|
:02
|
:02 ==> 10x faster formatting
|
|
Data-Copying
|
|
|
Test1
|
T10
|
T1
|
T2 <<--- Different Tests
|
|
Ext2
|
7:54
|
.
|
7:40
|
6:30
|
|
Ext3
|
10:42
|
.
|
10:30
|
9:22 ---> ext3 is generally slow for copying
|
|
ReiserFS
|
8:10
|
.
|
7:58
|
6:43 --> better
|
|
JFS
|
8:55
|
.
|
8:29
|
7:25
|
|
XFS
|
8:48
|
.
|
8:33
|
7:22
|
|
Kernel-Compile
|
|
|
Test1
|
T10
|
T1
|
T2 <<-- Different Tests
|
|
Ext2
|
.
|
.
|
3:51
|
3:51
|
|
Ext3
|
.
|
.
|
4:14
|
4:13
|
|
ReiserFS
|
.
|
.
|
4:00
|
4:02 --> better
|
|
JFS
|
.
|
.
|
4:11
|
4:11
|
|
XFS
|
.
|
.
|
4:04
|
4:04
|
|
|