Skip to contentSkip to conversation

SCSI read performance issues (2.2.19 and 2.4.10)

DISCUSSION John Gluck 1 participant 1 message Oct 24, 2001

lore
Share & tools
lore

John Gluck

author
#0 lore raw

Hi

Just my experience with 2.4.13

SCSI disk performance. I tested with hdparm peaks at 17 meg /sec. My SCSI controller and HD are capable of up to 40 meg /sec.
IDE disks on an ATA 33 contoller peak at 20 to 23 megs depending on which disk.

If there's any test you'd like me to try I'll be more than happy to.

John

Quoted 1 line

[snip]

Quoted 40 lines

Really? Are you saying that on a controller which can do 85 megs/second, you can't read files through the filesystem at greater than 17? Which filesystem?

Quoted 5 lines

The result (last 4 lines):
c01388fc try_to_free_buffers 55 0.1511

c0128b10 file_read_actor                            1179  14.0357
c01053b0 default_idle                               6784 130.4615
00000000 total                                      8695   0.0065

OK, that's normal and proper. Almost all the kernel time is spent copying data.

Quoted 1 line

Does this suggest that the kernel isn't the bottleneck?

Well... We seem to have three issues here:

1: Why isn't the controller achieving the manufacturer's
claimed throughput?

Don't know. Maybe it's the software copy. Maybe it's the device driver. Maybe they lied :). It'd be interesting to test it on the same machine with the vendor's drivers and win2k.

2: 0-order allocation failures.

3: Poor `cp' throughput. This one is strange. Perhaps
`cp' is using a small transfer-size and the kernel's readhead isn't working properly. Could you experiment with this some more? For example, what happens with

        dd if=large_file of=/dev/null bs=4096k
(quoted diff) +0 -2
-
-

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/