From: Dmitriy Beloslyudtsev (beloslyu1_at_gmail.com)
Date: Tue Nov 07 2006 - 22:25:09 CET
Message-ID: <3eedd4c70611071325t69c3864an82e2e1ec56f38066@mail.gmail.com> Date: Tue, 7 Nov 2006 16:25:09 -0500 From: "Dmitriy Beloslyudtsev" <beloslyu1@gmail.com> Subject: Re: [suse-sles-e] qla2xxx problem
On 11/7/06, J.H.M. Dassen (Ray) <rdassen@novell.com> wrote:
>
> On Tue, Nov 07, 2006 at 13:47:06 -0500, Dmitriy Beloslyudtsev wrote:
> > And using simple hdparm -t command I can get a raw estimate of the
> > sequential read speed.
>
> hdparm was never intended as a proper I/O benchmarking tool. What results
> do
> you get when you use a proper I/O benchmarking tool like
> http://freshmeat.net/projects/bonnie/
> or
> http://freshmeat.net/projects/iozone
> instead?
Hi!
You suggested a filesystem benchmarks, I'm not interested in them. The disks
are planned to be used as raw partitions.
Simple dd shows abnormally slow speed and neither bonnie nor iozone will
change it.
The first LUN:
s05:~ # for i in 1 2 3; do time -p dd if=/dev/sdc of=/dev/null seek=10000
bs=1024k count=100 2>/dev/null; done
real 16.21
user 0.00
sys 0.09
real 16.14
user 0.00
sys 0.09
real 16.18
user 0.00
sys 0.08
And the second LUN:
s05:~ # for i in 1 2 3; do time -p dd if=/dev/sdd of=/dev/null seek=10000
bs=1024k count=100 2>/dev/null; done
real 0.64
user 0.00
sys 0.08
real 0.63
user 0.00
sys 0.10
real 0.64
user 0.00
sys 0.09
s05:~ # cat /proc/scsi/qla2xxx/2
QLogic PCI to Fibre Channel Host Adapter for QLA2340:
Firmware version 3.03.19 IPX, Driver version 8.01.04
ISP: ISP2312, Serial# J42472
Request Queue = 0x22c280000, Response Queue = 0x21c7d0000
Request Queue count = 2048, Response Queue count = 512
Total number of active commands = 0
Total number of interrupts = 3635
Device queue depth = 0x20
Number of free request entries = 966
Number of mailbox timeouts = 0
Number of ISP aborts = 0
Number of loop resyncs = 0
Number of retries for empty slots = 0
Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0
Host adapter:loop state = <READY>, flags = 0x1a03
Dpc flags = 0x4000000
MBX flags = 0x0
Link down Timeout = 045
Port down retry = 030
Login retry count = 030
Commands retried with dropped frame(s) = 0
Product ID = 4953 5020 2020 0002
SCSI Device Information:
scsi-qla0-adapter-node=200000e08b0e8861;
scsi-qla0-adapter-port=210000e08b0e8861;
scsi-qla0-target-0=500a09818514f856;
scsi-qla0-target-1=500a09898564f5f3;
scsi-qla0-target-2=500a09818564f5f3;
scsi-qla0-target-3=500a09898514f856;
FC Port Information:
scsi-qla0-port-0=500a09808514f856:500a09818514f856:0100da:81;
scsi-qla0-port-1=500a09808564f5f3:500a09898564f5f3:0100d6:82;
scsi-qla0-port-2=500a09808564f5f3:500a09818564f5f3:0101da:83;
scsi-qla0-port-3=500a09808514f856:500a09898514f856:0101d6:84;
SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS.
( 0: 0): Total reqs 4, Pending reqs 0, flags 0x0, 0:0:81 00
( 1: 0): Total reqs 1738, Pending reqs 0, flags 0x0, 0:0:82 00
( 2: 0): Total reqs 1733, Pending reqs 0, flags 0x0, 0:0:83 00
( 3: 0): Total reqs 4, Pending reqs 0, flags 0x0, 0:0:84 00
This archive was generated by hypermail 2.1.7 : Tue Nov 07 2006 - 22:26:00 CET