Kernel 2.6.1
"Timing buffered disk reads:" looks not good at all, and the drives are suppose VERY FAST in IDE class. Any hints?
Intel board with ICH5
WD 250GB x 2 RAID 1 (md)
hdparm /dev/hda
/dev/hda:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 30401/255/63, sectors = 488397168, start = 0
hdparm /dev/hdc
/dev/hdc:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 30401/255/63, sectors = 488397168, start = 0
[root@s1 bin]# hdparm -i /dev/hda
/dev/hda:
Model=WDC WD2500JB-00EVA0, FwRev=15.05R15, SerialNo=WD-WMAEH1443980
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=74
BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
AdvancedPM=no WriteCache=enabled
Drive conforms to: device does not report version: 1 2 3 4 5 6
[root@s1 bin]# hdparm -tT /dev/hda
/dev/hda:
Timing buffer-cache reads: 128 MB in 0.14 seconds =895.24 MB/sec
Timing buffered disk reads: 64 MB in 2.30 seconds = 27.87 MB/sec
[root@s1 bin]# hdparm -tT /dev/hda
/dev/hda:
Timing buffer-cache reads: 128 MB in 0.14 seconds =882.89 MB/sec
Timing buffered disk reads: 64 MB in 2.14 seconds = 29.93 MB/sec
[root@s1 bin]# hdparm -tT /dev/hda
/dev/hda:
Timing buffer-cache reads: 128 MB in 0.14 seconds =895.24 MB/sec
Timing buffered disk reads: 64 MB in 2.73 seconds = 23.42 MB/sec
[root@s1 bin]# hdparm -tT /dev/hda
/dev/hda:
Timing buffer-cache reads: 128 MB in 0.14 seconds =895.24 MB/sec
Timing buffered disk reads: 64 MB in 2.18 seconds = 29.36 MB/sec
You actually expect an IDE-dr
You actually expect an IDE-drive to be faster than that?
I saw someone machine with ke
I saw someone machine with kernel 2.4 can get > 40MB/s with a VIA chipset IDE sub-system. Is ICH5 that sick?
same here
i'm getting 45 megs a second with 2.6.8 and i get 61 with 2.4.23. i've tried several 2.6.x kernels over the months and always get about 1/3 slower than the 2.4.x. it's a seagate ide 200 gig with 8 megs cache on a via chipset with a gig of ram. my maxtor and my western digital are slower too.
more info
i just did a little testing with a highpoint raid card. i don't get the same speed dropoff with the highpoint with kernel series 2.6.x that i get with the onboard ide controller. when i put my seagate on the highpoint, hdparm drops off from 61 megs a second in 2.4.23 to 55 in 2.6.8. another maxtor i just tested got the same hdparm speed on both the onboard controller and highpoint in both kernel 2.6.8 and 2.4.23.
it was 47 all around. here's the maxtor and seagate respectively in 2.4.23
/# hdparm -Tt /dev/hda
/dev/hda:
Timing buffer-cache reads: 128 MB in 0.80 seconds =159.60 MB/sec
Timing buffered disk reads: 64 MB in 1.35 seconds = 47.44 MB/sec
/# hdparm -Tt /dev/hde
/dev/hde:
Timing buffer-cache reads: 128 MB in 0.82 seconds =155.91 MB/sec
Timing buffered disk reads: 64 MB in 1.04 seconds = 61.36 MB/sec
readahead just helped me
my seagate was brought up almost to 2.4.32 by raising my readahead to 256 ( -a256). i had it at 32. each doubling up to 256 raised the hdparm reading. at 256, it's 58 megs a second. weird that 32 got me 61 megs/sec in 2.4.32
I'll second that - have softw
I'll second that - have software RAID5 on 4 drives here - 100MB/s with 2.4.26 and 64MB/s on 2.4.9.
my another server: i845/ICH4
my another server:
i845/ICH4, Celeron 2.5, 512M Ram, WD120GB/8M. Redhat kernel 2.4.20
Timing buffer-cache reads: 128 MB in 0.35 seconds =365.71 MB/sec
Timing buffered disk reads: 64 MB in 1.38 seconds = 46.38 MB/sec
much better than my i865/ICH5 system
SURE
I have an older WDC800 and I get 58MB/s in 2.4.27
and 43MB/s in 2.6.9
how fast would you like to have?
Hi,
how fast should your drives be?
Have you benchmarked it under another linux-kernel? What are the results?
Here are my results for a rather old computer:
(Pentibumm 700, 256 MB RAM, some kind of WDC drives)
I have another machine runnin
I have another machine running with kernel 2.6.1, Celeron 1.3T, SIS630/5513, WD 80GB/2M cache:
I found that my P4 2.6C / 2G Ram / ICH5 with WD250GB/8M is slower than my Celeron 1.3T / 1G Ram / SIS5513 with WD80GB/2M !!
/dev/hda:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 65535/16/63, sectors = 156301488, start = 0
[root@s1 root]# hdparm -i /dev/hda
/dev/hda:
Model=WDC WD800BB-00CAA1, FwRev=17.07W17, SerialNo=WD-WMA8E5958753
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=40
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=156301488
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
AdvancedPM=no WriteCache=enabled
Drive conforms to: device does not report version: 1 2 3 4 5
[root@s1 root]# hdparm -tT /dev/hda
/dev/hda:
Timing buffer-cache reads: 128 MB in 1.25 seconds =102.25 MB/sec
Timing buffered disk reads: 64 MB in 1.93 seconds = 33.17 MB/sec
[root@s1 root]# hdparm -tT /dev/hda
/dev/hda:
Timing buffer-cache reads: 128 MB in 1.42 seconds = 89.96 MB/sec
Timing buffered disk reads: 64 MB in 1.84 seconds = 34.86 MB/sec
[root@s1 root]# hdparm -tT /dev/hda
/dev/hda:
Timing buffer-cache reads: 128 MB in 1.24 seconds =103.08 MB/sec
Timing buffered disk reads: 64 MB in 1.83 seconds = 35.00 MB/sec
I just benched my WD 80GB/8M
I just benched my WD 80GB/8M so you can see that your performance is a little lower:
Timing buffer-cache reads: 1824MB in 2.00 seconds = 911.68 MB/sec
Timing buffered disk reads: 140MB in 3.02 seconds = 46.35 MB/sec
This is on an nForce2 board and my hd has 8megs of cache. It's not the same hardware, but your performance should be comparable to mine. Hope you find the solution to your problem.
My machine is a P4 2.6GC with
My machine is a P4 2.6GC with smp kernel, 2GB Ram, and latest technology harddisk but your result comparable with me!
How can i measure the performance of a preemptive kenel
is any one help me, is any tool for measuring the performance of preemptive kernels please mail that to sridhar_muralas@yahoo.com
thanks
sridhar
Your partition table would be interesting...
In my experience the existence of a windows partition at the start of the hard drive leads to slower results for buffered disk reads. I once posted this on the kernel list (archived in this thread) because it puzzled me, but seemingly nobody there didn't really know either - or nobody cared enough. Mostly everybody just dismissed it as "can't be", the only reply being backed by some knowledge was Andre Hedricks, but he couldn't explain it either.
Anyway, if there is a windows partition, retest with the first linux partition on that disk. I guess you'll get better results.
No I don't have any windows p
No I don't have any windows partitions, all my machines are linux only.
Speed of different areas
I've read that for instance should be at the beginning of the disk(i.e. first partition) because it is a faster zone! I did not understand very well the explaination, but I read it onto a Linux review I bought at the newsagent, so it is not a mistery (very good review indeed, with detailed kernel news and puzzling articles, i.e. it is not even known by everybody).
I don't know if hdparm uses only the Linux datas (no time to read the thread) but at least for the write test I think it cannot avoid using it.
it may cause by DMA setting
my machine : XP1800+/KT3V/512M/SEAGATE80G(2M)
I set harddisk on DMA5.
#/sbin/hdparm -tT /dev/hda
/dev/hda:
Timing buffer-cache reads: 128 MB in 0.14 seconds =295.24 MB/sec
Timing buffered disk reads: 64 MB in 2.73 seconds = 53.42 MB/sec
#/sbin/hdparm -tT /dev/hda
/dev/hda:
Timing buffer-cache reads: 128 MB in 0.14 seconds =296.76 MB/sec
Timing buffered disk reads: 64 MB in 2.73 seconds = 56.30 MB/sec
so my result is abnormal, I g
so my result is abnormal, I got half of your speed! what kernel are you running?
>Timing buffered disk reads:
>Timing buffered disk reads: 64 MB in 2.73 seconds = 56.30 MB/sec
That's interesting.
I didn't know before, that 64/2.73 is equal to 56.30.
I thought it's 23.44...
sorry
sorry & sorry ! input errors
it run on speed of 56M/S mostly and really
Athlon 2100+ Abit NF7 Nforce2
Athlon 2100+ Abit NF7 Nforce2 chipset, kernel 2.6.2
hdparm -d1 -m16 -c3 /dev/hda
hdparm -tT /dev/hda
/dev/hda:
Timing buffer-cache reads: 1364 MB in 2.00 seconds = 680.74 MB/sec
Timing buffered disk reads: 90 MB in 3.08 seconds = 29.21 MB/sec
Speed Tweaks?
You should be at least unmasking the interrupts as well:
hdpam -u1 [drive]
Also, you 'hdparm -dvi' to report, it makesm much better sense.
what kernel is it ?
what kernel is it ?
what is the kernel version?
as title
mine's really bad, too
Another one?
This is a 1 year old laptop hard disk running kerel 2.6.1. I played around with all hdparm settings quite a lot, but can't seem to improve my performance.
# hdparm -tT /dev/hda2
/dev/hda2:
Timing buffer-cache reads: 1224 MB in 2.00 seconds = 611.18 MB/sec
Timing buffered disk reads: 26 MB in 3.04 seconds = 8.55 MB/sec
And there is a very strong variance, too: I've seen this go down to a mere !!! 3.5 MB/sec !!!
Sometimes, starting firefox takes more than half a minute on this drive.
Lower IDE Performance with kernel 2.6.0 than 2.4.x
Hi !
I also notified lower IDE performance with kernel 2.6.0 comparing to kernel 2.4.0. On my system I have two disks configured to RAID-0 (stripping). I have got VIA chipset. Results of hdparm -t on kernel 2.4.24 differs on kernel 2.6.0 like the following:
On kernel 2.6.0:
hdparm -t /dev/hda - gives about 40 MB/s
hdparm -t /dev/md7 - gives about 38 MB/s (even lower !)
On kernel 2.4.24:
hdparm -t /dev/hda - about 40 MB/s
hdparm -t /dev/md7 - about 80 MB/s (this is what I wanted !)
Do you have solution of the performace problem on 2.6.x kernel ?
Regards
I have the same problem. My c
I have the same problem. My chipset is VIA too, but I'm using a single disk. Those are may results:
On kernel 2.4.20: hdparm -t /dev/hda - gives about 19.80 MB/s
On kernel 2.5.30: hdparm -t /dev/hda - gives about 19.80 MB/s
On kernel 2.5.75: hdparm -t /dev/hda - gives about 15.70 MB/s
On kernel 2.6.3: hdparm -t /dev/hda - gives about 15.70 MB/s
I'm looking for patches and downloading 2.5.52 ...
Kernel Configuring Hints
I'm just guessing, but these might be worth testing.
In kernel config:
Device Drivers
-->ATA/ATAPI/...
...Enable:
.....Include IDE/ATA-2 DISK support
.....Use multi-mode default
...Disable:
.....IDE Taskfile Access
.....IDE Taskfile IO
.....generic/default IDE chipset support
..-->PCI IDE chipset support
.......Disable:
.........Sharing PCI IDE interrupts support
+Enable all normal things.
Goog luck!
There seems to be a pattern here ...
I just recently put in a new disk im my old,old system (PII-450MHz, 384Mb), a WD80Gb/8Mb. Running 2.4.22 (Gentoo, kernel 2.4.22-r4) I can consistently get about 25Mb/sec in hdparm/buffered disk reads. I tried out 2.6.3 (Gentoo 2.6.3-r3 with gentoo patches), and I can get no more than 12Mb/sec under that kernel (sometimes even *much* lower). And yes, I have carefully checked that DMA-transfers are enabled, that the kernel is configured with all relevants settings (including use of IDE-DMA, chip set (Intel BX440) and what have you)).
Strange ...
Very strange...
My ICH5 is doing great, but a friend of mine with NFORCE2 gets 15MB/sec less than 2.4 with 2.6....
my results:
#uname -a
Linux garfield 2.6.3 #4 SMP Sat Feb 21 00:36:32 EET 2004 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz GenuineIntel GNU/Linux
#hdparm -tT /dev/hda
/dev/hda:
Timing buffer-cache reads: 3484 MB in 2.00 seconds = 1741.39 MB/sec
Timing buffered disk reads: 160 MB in 3.03 seconds = 52.85 MB/sec
In which version did the driver change?
I have done two more tests with 2.5.52 and 2.5.64:
On 2.4.20: hdparm -t /dev/hda - gives about 19.80 MB/s
On 2.5.30: hdparm -t /dev/hda - gives about 19.80 MB/s
On 2.5.52: hdparm -t /dev/hda - gives about 19.80 MB/s
On 2.5.64: hdparm -t /dev/hda - gives about 15.70 MB/s
On 2.5.75: hdparm -t /dev/hda - gives about 15.70 MB/s
On 2.6.3: hdparm -t /dev/hda - gives about 15.70 MB/s
The next try... (rolling of a drum) 2.5.58!!! :D
looking forward your result!
looking forward your result! :D
More and more tests
I have tested the IDE performance of two more kernels on my computer, in order to find where was the critical change in the driver.
The command used to do the tests was # hdparm -t /dev/hda, and I've run the command at less 5 times in each test
The same kernel can throw different results on differents bootings, but I take the best of all.
Without DMA (# hdparm -d0 /dev/hda)
2.4.20: 5.70 MB/s in all bootings (aprox)
2.5.30: ---- hdparm hangs the disk :(
2.5.52: 5.67, 3.63 MB/s in 2 different bootings
2.5.58: 5.66 MB/s
2.5.61: 5.66 MB/s
2.5.64: 5.68 MB/s
2.5.75: 5.68 MB/s
2.6.3: 5.65 MB/s
With DMA (# hdparm -d1 /dev/hda)
This is the interesting
2.4.20: 19.88 MB/s
2.5.30: 20.00, 19.00 MB/s
2.5.52: 19.85 MB/s
2.5.58: 19.70 in one test, 19.00 in three tests
2.5.61: 15.37 MB/s here begins low performance
2.5.64: 15.73 MB/s
2.5.75: 15.69 MB/s
2.6.3: 15.80, 15.70, 15.37 MB/s
I think that the critical change is in 2.5.59, 60 or 61, so I'm downloading now 2.5.59
I have reported your results
I have reported your results to Bartlomiej, one of the kernel IDE developer, more result could help! Thanks.
Lasts results
Thanks for sending my result :), I did not know where send it.
Finally I tested kernels 2.5.59 and 2.5.60:
Without DMA both are the same than the others, 5.67 MB/s
With DMA:
2.5.59: 19.45 MB/s
2.5.60: 15.67 MB/s
2.5.60 IDE driver is very different than 2.5.59 xD
My hardware:
Seagate hard disk, model ST340016A, 40GB, 7200 rpm and 2MB of cache
connected as single disk with an 80c ribbon
QDI Advance 9 motherboard
Pentium 800 (133 x 6) MHz ... Okay, okay, I overclocked it :P
840 (140 x 6) MHz but the results are similar
512 MB of SDRAM
dmesg:
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:07.1
VP_IDE: chipset revision 16
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt82c596b (rev 23) IDE UDMA66 controller on pci0000:00:07.1
ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA
hda: ST340016A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: CDD7052, ATAPI CD/DVD-ROM drive
hdd: HL-DT-ST DVDRAM GSA-4040B, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(66)
Thanks for your help, Bartlom
Thanks for your help, Bartlomiej is a very nice guy and I'm sure for informations will be useful for him to figure out what's wrong.
2.5.60 changelog
indicates a reversion of the IDE tree I think.
Spilt milk?
Different timings with X
Why is "buffer-cache reads" less when X is running?
/dev/sda: Timing buffer-cac
/dev/sda:
Timing buffer-cache reads: 3908 MB in 2.00 seconds = 1954.30 MB/sec
Timing buffered disk reads: 168 MB in 3.03 seconds = 55.38 MB/sec
This is a single Seagate 80GB SATA drive on the ICH5. Using kernel 2.6.4 with Con Koliva's patch set. Several things running at same time. I ran this test before I installed much else, and with various other patch sets such as mm and the stock kernel, and had similar results with all. Only a few MB/sec higher when I didn't have so much running. I use the Intel SATA driver in the SCSI section. These results are pretty standard from what I have seen. Would be nice to be able to use hdparm to tweak some settings, but from what I know of drive performance, this is pretty close to the real world limit of the drive anyway.
Please Help Me
You said that you have single SATA drive running perfectly but I have a problem. When I upgrade to kernel 2.6.5, it does not recognize my drive. I also have Intel's ICH5. You also mentioned about Intel SATA driver. Can you please tell me where to find that driver and how to install it as I am a newbie in using Linux. Thanx.
test tmp # hdparm -tT /dev/sd
test tmp # hdparm -tT /dev/sda
/dev/sda:
Timing buffer-cache reads: 1756 MB in 2.00 seconds = 878.00 MB/sec
Timing buffered disk reads: 168 MB in 3.03 seconds = 55.45 MB/sec
chennaimail ki11 # uname -r
2.4.20-8
On SiImage SATA RAID with RAID 1 and 2 seagate SATA with 8 MB cache
on nforce 2 M7NCG BIOSTAR with 2*256MB
Wow - Nice
Those are some really nice trans rates. I had thought 1344MB/sec and 52 MB/sec were good for a single Sata drive on the Nforce under 2.4 kernel. Hmm..Im going to have to play some more it would seem. Those numbers are from memory btw as im not at that particular computer ATM. But they are close to what it would post regularly.
good speeds
2x Maxtor 80GB 8MB cache. hda is on integrated nforce2, hdk is on promise pci controler. md0 is raid1, md4 is raid0. Barton 2500+, 333 bus, 1Gb ram, nforce2 board w/ integrated video running X. kernel 2.6.4-genoo-r1.
alumiguin root # hdparm -tT /dev/hda
/dev/hda:
Timing buffer-cache reads: 1356 MB in 2.00 seconds = 677.43 MB/sec
Timing buffered disk reads: 168 MB in 3.00 seconds = 55.92 MB/sec
alumiguin root # hdparm -tT /dev/hdk
/dev/hdk:
Timing buffer-cache reads: 1320 MB in 2.00 seconds = 659.77 MB/sec
Timing buffered disk reads: 168 MB in 3.01 seconds = 55.80 MB/sec
alumiguin root # hdparm -tT /dev/md0
/dev/md0:
Timing buffer-cache reads: 1404 MB in 2.00 seconds = 701.76 MB/sec
Timing buffered disk reads: 168 MB in 3.00 seconds = 55.93 MB/sec
alumiguin root # hdparm -tT /dev/md4
/dev/md4:
Timing buffer-cache reads: 1292 MB in 2.00 seconds = 645.45 MB/sec
Timing buffered disk reads: 286 MB in 3.00 seconds = 95.25 MB/sec
same here, wondering what's going on ...
hd: WD800PB (8M cache)
mb chip: intel 440 bx
with 2.6.x:
Timing buffered disk reads: 124 MB in 3.01 seconds = 41.16 MB/sec
with 2.4.x, it's 54.5 MB/sec
hmm
I get the same thing as you except when i go back into 16-bit mode - i get:
/dev/hdg:
Timing buffer-cache reads: 880 MB in 2.00 seconds = 439.19 MB/sec
Timing buffered disk reads: 170 MB in 3.03 seconds = 56.06 MB/sec
When i'm in 16-bit mode. Strange eh?
I have an ICH5. I was getting
I have an ICH5. I was getting about 30MB/sec transfer.
Then I noticed that my disk was configured as a slave even though I only have one drive attached to the controller. I popped open the case, changed the cables around and now I get 48MB/sec.
My SATA drive does 55MB/sec.
Dell PE400SC, 2.8Ghz