* SCSI disk speed inconsistency
@ 2005-10-03 9:06 Karthik Sarangan
2005-10-04 22:00 ` Douglas Gilbert
0 siblings, 1 reply; 2+ messages in thread
From: Karthik Sarangan @ 2005-10-03 9:06 UTC (permalink / raw)
To: Linux SCSI Mailing List
I get a read speed of 69MBps from my SCSI disk and a write speed of
49MBps from the same.
An IOMeter benchmark on the net says that 68MBps is the sustained speed
for a write.
Could someone tell me how to increase my IO speed?
I have a Linux Kernel 2.6 in a RedHat Enterprise Linux WS 4 and I used
the foll.
Read : sg_dd if=/dev/sdb of=/dev/null bs=262144 count=1024 dio=1
Write: sg_dd if=/dev/zero of=/dev/sdb bs=262144 count=1024 dio=1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: SCSI disk speed inconsistency
2005-10-03 9:06 SCSI disk speed inconsistency Karthik Sarangan
@ 2005-10-04 22:00 ` Douglas Gilbert
0 siblings, 0 replies; 2+ messages in thread
From: Douglas Gilbert @ 2005-10-04 22:00 UTC (permalink / raw)
To: Karthik Sarangan; +Cc: Linux SCSI Mailing List
Karthik Sarangan wrote:
> I get a read speed of 69MBps from my SCSI disk and a write speed of
> 49MBps from the same.
> An IOMeter benchmark on the net says that 68MBps is the sustained speed
> for a write.
>
> Could someone tell me how to increase my IO speed?
>
> I have a Linux Kernel 2.6 in a RedHat Enterprise Linux WS 4 and I used
> the foll.
> Read : sg_dd if=/dev/sdb of=/dev/null bs=262144 count=1024 dio=1
> Write: sg_dd if=/dev/zero of=/dev/sdb bs=262144 count=1024 dio=1
Karthik,
For accurate timing with "sd" devices use "odir=1" rather
than "dio=1". "dio=1" only applies to sg devices so it has
no effect in your above example. [Perhaps I should add a
warning about this in sg_dd.]
Also with sg_dd you should use "bs=512" and read about the
"bpt=<n>" option in the man page. Also look at the "blk_sgio=0|1"
and the "time=1" option.
Doug Gilbert
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-10-04 21:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-03 9:06 SCSI disk speed inconsistency Karthik Sarangan
2005-10-04 22:00 ` Douglas Gilbert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).