1 Jan 2008 01:32
Re: SATA kernel-buffered read VERY slow (not raid, Promise TX300 card); 2.6.23.1(vanilla)
Robert Hancock <hancockr <at> shaw.ca>
2008-01-01 00:32:40 GMT
2008-01-01 00:32:40 GMT
Linda Walsh wrote: > Robert Hancock wrote: >>> Have you tried using a different block size to see how that effects >>> the results? There might be some funny interaction there. > ---- > There is some interaction with the large block size (but only on the > SATA > disk). Counts were adjusted to keep the read near 2G (~2x physical > memory). > From 1k-16k block sizes, I got into the low-mid 40MB/s on buffered SATA > (compared to 50-60MB/s on ATA & SCSI). Starting at 32k-64k, the read > rate began falling and at 128k block-reads-at-a-time or larger, it drops > below > 20MB/s (again, only on buffered SATA). It's hard to imagine what would > slow down buffered SATA reads but not ATA and SCSI reads of the same > size. I'm using the 'cfq' scheduler with everything running at default > priorities, but again, why only SATA slowness? It seems that at the driver > level, using direct reads, the SATA disk has the highest read rate (near > 80MB/s). > It would certainly be perverse to have faster driver & device > performance > equate to lower buffered I/O. Not too sure on that one. I suspect one might have to trace the actual requests being received at the driver level somehow with buffered reads in order to diagnose what's going on there.. >> >>> I wanted to use the newer pata support in the SATA lib, but >>> got frustrated "real fast" by the lack of disk-parameter support(Continue reading)
RSS Feed