Messages in this thread | | | From | "Massimo Cetra" <> | Subject | RE: Production comparison between 2.4.27 and 2.6.8.1 | Date | Sun, 22 Aug 2004 18:54:57 +0200 |
| |
Nick Piggin Wrote: > I wouldn't worry too much about hdparm measurements. If you > want to test the streaming throughput of the disk, run dd > if=big-file of=/dev/null or a large write+sync. > > Regarding your worse non-RAID XFS database results, try > booting 2.6 with elevator=deadline and test again. If yes, > are you using queueing (TCQ) on your disks?
Done another test. This time I created a 256Mb ramdisk, formatted it as ext3 and mounted as data partition.
Results are the following: 2.6.8.1: A) real 0m0.437s user 0m0.036s sys 0m0.013s
B) real 0m37.307s user 0m3.212s sys 0m1.287s
2.4.7: A) real 0m0.437s user 0m0.024s sys 0m0.010s
B) real 0m38.180s user 0m2.950s sys 0m1.602s
In this case results are comparable. What is the difference, so? 2.6 performs better reading from disk. Avoiding PCI, SATA and disks on this test makes 2.4 and 2.6 perform in the same way.
Hope this helps.
Massimo Cetra
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |