FYI,
In May 2000, when there was debate over whether to do on-the-fly
endian conversion, some tests were done with existing linux-xfs
code (without any conversion macros)
and new linux-xfs code with the endian macros.
We deemed there was no _significant_ difference and thus
endian conversion was implemented.
Some of the results (which I can still find) are below.
The code, however, would have changed a lot since then.
--Tim
On Wed, Sep 25, 2002 at 05:03:13PM -0500, Eric Sandeen wrote:
> And if this all works, send in some benchmarks, to see if it's all
> worthwhile. :)
>
> -Eric
>
> On Wed, 2002-09-25 at 16:52, Steve Lord wrote:
> > you probably need to tweak that. There are a number of other places in
> > the xfs code which depend on the value of __BYTE_ORDER, you might try
> > changing that instead of doing what you did.
> >
> > Steve
>
> --
> Eric Sandeen XFS for Linux http://oss.sgi.com/projects/xfs
> sandeen@xxxxxxx SGI, Inc. 651-683-3102
>
>
Test: AIM
Units: ops/second
========================================================================
========================================================================
Host: sagan, dual processor 299MHz pentium II, 128Mb RAM, SCSI
Date: 8/May
kernel: slinx-xfs, all as modules, meta off, NOT using delayed alloc
id: sagan-036
Native
------
OPERATION MEAN ST.DEV. % ST.DEV
creat-clo 33377.80 203.88 0.61
disk_cp 20986.79 25.74 0.12
disk_rd 105754.43 459.00 0.43
disk_rr 21015.58 25.09 0.12
disk_rw 16985.52 14.18 0.08
disk_src 1220.75 10.23 0.84
disk_wrt 28785.20 66.26 0.23
link_test 552.66 1.15 0.21
sync_disk_cp 445.78 1.63 0.37
sync_disk_rw 17278.53 88.78 0.51
sync_disk_wrt 446.47 0.42 0.09
id = sagan-038
Mips
----
OPERATION MEAN ST.DEV. % ST.DEV
creat-clo 34532.53 126.11 0.37
disk_cp 21006.29 10.62 0.05
disk_rd 107176.06 505.56 0.47
disk_rr 20967.31 40.76 0.19
disk_rw 17302.52 81.75 0.47
disk_src 1222.81 1.73 0.14
disk_wrt 28100.33 289.75 1.03
link_test 552.65 3.74 0.68
sync_disk_cp 446.55 1.33 0.30
sync_disk_rw 17319.97 72.18 0.42
sync_disk_wrt 446.08 1.00 0.23
----------------------
Comparison Mips/Native
----------------------
OPERATION NATIVE MIPS REL.
creat-clo 33377.80 34532.53 1.03
disk_cp 20986.79 21006.29 1.00
disk_rd 105754.43 107176.06 1.01
disk_rr 21015.58 20967.31 1.00
disk_rw 16985.52 17302.52 1.02
disk_src 1220.75 1222.81 1.00
disk_wrt 28785.20 28100.33 0.98
link_test 552.66 552.65 1.00
sync_disk_cp 445.78 446.55 1.00
sync_disk_rw 17278.53 17319.97 1.00
sync_disk_wrt 446.47 446.08 1.00
========================================================================
========================================================================
Host: bruce, dual processor 550Mhz Pentium III, 896Mb RAM, SCSI
Date: 13/May
kernel: slinx-xfs, all as modules, meta off, delayed alloc on
id: bruce-004
Native
------
OPERATION MEAN ST.DEV. % ST.DEV
creat-clo 63888.89 126.20 0.20
disk_cp 52431.37 180.65 0.34
disk_rd 152656.27 1634.58 1.07
disk_rr 52364.28 68.64 0.13
disk_rw 48664.27 396.99 0.82
disk_src 2270.15 6.02 0.27
disk_wrt 89112.84 412.34 0.46
link_test 1356.25 8.57 0.63
sync_disk_cp 460.85 0.97 0.21
sync_disk_rw 38283.58 27.28 0.07
sync_disk_wrt 460.66 1.02 0.22
id: bruce-006
Mips
------
OPERATION MEAN ST.DEV. % ST.DEV
creat-clo 58788.89 267.36 0.45
disk_cp 51359.05 42.72 0.08
disk_rd 152116.36 173.05 0.11
disk_rr 51688.50 93.90 0.18
disk_rw 47273.75 70.63 0.15
disk_src 2263.99 2.65 0.12
disk_wrt 88024.91 183.61 0.21
link_test 1331.10 3.92 0.29
sync_disk_cp 459.79 1.88 0.41
sync_disk_rw 38219.55 25.00 0.07
sync_disk_wrt 460.81 1.88 0.41
----------------------
Comparison Mips/Native
----------------------
OPERATION NATIVE MIPS REL.
creat-clo 63888.89 58788.89 0.92
disk_cp 52431.37 51359.05 0.98
disk_rd 152656.27 152116.36 1.00
disk_rr 52364.28 51688.50 0.99
disk_rw 48664.27 47273.75 0.97
disk_src 2270.15 2263.99 1.00
disk_wrt 89112.84 88024.91 0.99
link_test 1356.25 1331.10 0.98
sync_disk_cp 460.85 459.79 1.00
sync_disk_rw 38283.58 38219.55 1.00
sync_disk_wrt 460.66 460.81 1.00
****************************************************************************
Test: dbench
Units: Throughput Mb/second
========================================================================
========================================================================
Host: sagan, dual processor 299MHz pentium II, 128Mb RAM, SCSI
Date: 8/May
kernel: slinx-xfs, all as modules, meta off, NOT using delayed alloc
Using nclients = 3
050 cpu & i/o
kernel.percpu.cpu.sys ["cpu0"] 0.147
kernel.percpu.cpu.sys ["cpu1"] 0.140
kernel.percpu.cpu.idle ["cpu0"] 0.813
kernel.percpu.cpu.idle ["cpu1"] 0.816
disk.partitions.write_bytes ["sda7"] 1426.386 Kbyte / sec
=> run is i/o bound and not cpu bound
id: sagan-050
Native
------
OPERATION MEAN ST.DEV. % ST.DEV
Throughput 6.57 1.33 20.32
id: sagan-052
Mips
----
OPERATION MEAN ST.DEV. % ST.DEV
Throughput 5.85 1.13 19.32
----------------------
Comparison Mips/Native
----------------------
OPERATION NATIVE MIPS REL.
Throughput 6.57 5.85 0.89
========================================================================
========================================================================
Host: bruce, dual processor 550Mhz Pentium III, 896Mb RAM, SCSI
Date: 13/May
kernel: slinx-xfs, all as modules, meta off, delayed alloc on
Using nclients = 4
011 cpu & i/o
kernel.percpu.cpu.sys ["cpu0"] 0.447 none
kernel.percpu.cpu.sys ["cpu1"] 0.449 none
kernel.percpu.cpu.idle ["cpu0"] 0.397 none
kernel.percpu.cpu.idle ["cpu1"] 0.398 none
disk.partitions.write_bytes ["sda8"] 1530.929 Kbyte / sec
=> run is using more of the cpu and is less i/o bound
id: bruce-011
Native
------
OPERATION MEAN ST.DEV. % ST.DEV
Throughput 55.60 2.70 4.86
id: bruce-012
Mips
------
OPERATION MEAN ST.DEV. % ST.DEV
Throughput 49.87 3.31 6.63
----------------------
Comparison Mips/Native
----------------------
OPERATION NATIVE MIPS REL.
Throughput 55.60 49.87 0.90
========================================================================
========================================================================
Host: bruce, dual processor 550Mhz Pentium III, 896Mb RAM, SCSI
Date: 13/May
kernel: slinx-xfs, all as modules, meta off, delayed alloc on
Using nclients = 8
013 cpu & i/o
kernel.percpu.cpu.sys ["cpu0"] 0.157 none
kernel.percpu.cpu.sys ["cpu1"] 0.154 none
kernel.percpu.cpu.idle ["cpu0"] 0.797 none
kernel.percpu.cpu.idle ["cpu1"] 0.799 none
disk.partitions.write_bytes ["sda8"] 2835.668 Kbyte / sec
system is i/o bound and not using as much cpu.
id: bruce-013
Native
------
OPERATION MEAN ST.DEV. % ST.DEV
Throughput 14.26 2.10 14.70
id: bruce-014
Mips
------
OPERATION MEAN ST.DEV. % ST.DEV
Throughput 11.89 0.78 6.58
----------------------
Comparison Mips/Native
----------------------
OPERATION NATIVE MIPS REL.
Throughput 14.26 11.89 0.83
|