Re: 1394, spb2, and 2.6 kernel

From: Stefan Richter <stefanr_at_s5r6.in-berlin.de>
Date: Sat 10 Jan 2004 - 22:28:20 CET
Message-Id: <200401102125.i0ALPtk2015831@einhorn.in-berlin.de>

On 10 Jan, I wrote:
> Here is a throughput test made with bonnie++ 1.02c on Mandrake 9.2
> (gcc-3.3.1-2mdk, glibc-2.3.2-14mdk).
>
> A) kernel-2.4.22.21mdk-1-1mdk from Mdk update,
> standard i586 binary
>
> B) kernel-source-2.6.0-1mdk from Mdk cooker,
> self configured & compiled for Athlon, with kernel preemption,
> IEEE 1394 drivers updated to latest linux1394.org trunk Rev 1091
>
> I measured a single 5400 RPM harddisk attached to an otherwise idle
> IEEE 1394 bus. Your mileage may vary, according to your system and
> whether there is more than one disk connected to the bus.
>
> Test conditions:
> Maxtor DiamondMax 4G120J6 3.5" hdd, 5400RPM 120GB 2MB UATA133
> Macpower Icecube with Oxford 911 SBP-2 bridge, S400
> VIA KM266/8235 chipset, VIA VT6306 ohci host controller
> Athlon XP 1900+
>
> The tests were performed on an idle PC. The tested disk held a
> single empty reiserfs partition.

Here is another test for your entertainment. Now I run two
filesystem-oriented test series. The measurement tool used was
simply "time cp source target".

I copied the Mandrake 9.2 download edition CD 1, which holds
652MB in 2141 files spread over 330 directories. The test series
involved additionaly to the Firewire HDD mentioned above:

1. a Formac CD-RW 16/10/40 with LSI bridge, Teac CD-W516EB,
   udf filesystem via supermount

2. an internal IDE HDD, Maxtor 5A300J0 5400RPM 300GB 2MB UATA133,
   one half full partition with ReiserFS

The respective source filesystem was unmounted + mounted just
before the copying in order to clear the vfs cache. Additionaly,
an "ls -R" was performed on the CD-RW before copying. All values
are averages of 5 tests per set.

*** copy from 1394 CD-ROM to 1394 HDD ***

absolute:
      user system elapsed CPU
       sec sec min:sec %
A 0.22 9.44 7:29 2
B 0.11 7.53 3:35 3

relative:
A/B 2.1 1.3 2.2 1.5

*** copy from 1394 HDD to IDE HDD ***

absolute:
      user system elapsed CPU
       sec sec sec %
A 0.16 7.52 48.4 15
B 0.07 6.80 49.6 13

relative:
A/B 2.3 1.1 1.0 1.1

Conclusion: There is a dramatic improvement in read performance
of the Firewire CD-ROM with kernel 2.6 relative to kernel 2.4.
It is like kernel 2.6 magically lets the CD spin a double times
faster. However harddisk performance is only unnoticeable
improved by 12% less CPU utilization.

-- 
Stefan Richter
-=====-=-=-- ---= -=-=-
http://arcgraph.de/sr/
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
mailing list Linux1394-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux1394-user
Received on Sat Jan 10 22:30:43 2004

This archive was generated by hypermail 2.1.8 : Mon 02 May 2005 - 09:16:45 CEST