Hi...

> Is /apoio04/b1 a scsi/iscsi disk or is it LVM/DM/RAID on top of a
> iscsi/scsi disk?


/apoio04/ is a RAID1 of two disks accessible via iscsi (in the
following tests, I changed the mount point from /apoio04/ to /iscsi04-
lun0/ but they are exactly the same).


>
> Could you set the IO scheduler to noop
> echo noop > /sys/block/sdX/queue/scheduler and see if that makes a difference.

I checked the definition and I have

[r...@core06 ~]# cat /sys/block/sdh/queue/scheduler
noop anticipatory deadline [cfq]

Now I've changed to

[r...@core06 ~]# cat /sys/block/sdh/queue/scheduler
[noop] anticipatory deadline cfq

and I've run the tests again. This is what I got:


[r...@core06 ~]# dd if=/dev/zero of=/iscsi04-lun0/b1 bs=64k
count=125000
125000+0 records in
125000+0 records out
8192000000 bytes (8.2 GB) copied, 470.332 seconds, 17.4 MB/s

[r...@core06 ~]# dd if=/dev/zero of=/iscsi04-lun0/b2 bs=128k
count=62500
62500+0 records in
62500+0 records out
8192000000 bytes (8.2 GB) copied, 470.973 seconds, 17.4 MB/s

Basically, the performance didn't increase :(


> And then also run
> iscsiadm -m session -P 3
>

[r...@core06 ~]# iscsiadm -m session -P 3
iSCSI Transport Class version 2.0-724
iscsiadm version 2.0-868
Target: iqn.1992-01.com.lsi:1535.600a0b80003ad11c00000000490ade2d
        Current Portal: 10.131.2.14:3260,1
        Persistent Portal: 10.131.2.14:3260,1
                **********
                Interface:
                **********
                Iface Name: default
                Iface Transport: tcp
                Iface Initiatorname: iqn.1994-05.com.redhat:8c56e324f294
                Iface IPaddress: 10.131.4.6
                Iface HWaddress: default
                Iface Netdev: default
                SID: 37
                iSCSI Connection State: LOGGED IN
                iSCSI Session State: Unknown
                Internal iscsid Session State: NO CHANGE
                ************************
                Negotiated iSCSI params:
                ************************
                HeaderDigest: None
                DataDigest: None
                MaxRecvDataSegmentLength: 131072
                MaxXmitDataSegmentLength: 65536
                FirstBurstLength: 8192
                MaxBurstLength: 262144
                ImmediateData: Yes
                InitialR2T: Yes
                MaxOutstandingR2T: 1
                ************************
                Attached SCSI devices:
                ************************
                Host Number: 38 State: running
                scsi38 Channel 00 Id 0 Lun: 0
                scsi38 Channel 00 Id 0 Lun: 1
                scsi38 Channel 00 Id 0 Lun: 2
                scsi38 Channel 00 Id 0 Lun: 3
                scsi38 Channel 00 Id 0 Lun: 4
                scsi38 Channel 00 Id 0 Lun: 5
                scsi38 Channel 00 Id 0 Lun: 31
        Current Portal: 10.131.2.13:3260,1
        Persistent Portal: 10.131.2.13:3260,1
                **********
                Interface:
                **********
                Iface Name: default
                Iface Transport: tcp
                Iface Initiatorname: iqn.1994-05.com.redhat:8c56e324f294
                Iface IPaddress: 10.131.4.6
                Iface HWaddress: default
                Iface Netdev: default
                SID: 38
                iSCSI Connection State: LOGGED IN
                iSCSI Session State: Unknown
                Internal iscsid Session State: NO CHANGE
                ************************
                Negotiated iSCSI params:
                ************************
                HeaderDigest: None
                DataDigest: None
                MaxRecvDataSegmentLength: 131072
                MaxXmitDataSegmentLength: 65536
                FirstBurstLength: 8192
                MaxBurstLength: 262144
                ImmediateData: Yes
                InitialR2T: Yes
                MaxOutstandingR2T: 1
                ************************
                Attached SCSI devices:
                ************************
                Host Number: 39 State: running
                scsi39 Channel 00 Id 0 Lun: 0
                scsi39 Channel 00 Id 0 Lun: 1
                scsi39 Channel 00 Id 0 Lun: 2
                scsi39 Channel 00 Id 0 Lun: 3
                scsi39 Channel 00 Id 0 Lun: 4
                scsi39 Channel 00 Id 0 Lun: 5
                scsi39 Channel 00 Id 0 Lun: 31
        Current Portal: 10.131.2.16:3260,2
        Persistent Portal: 10.131.2.16:3260,2
                **********
                Interface:
                **********
                Iface Name: default
                Iface Transport: tcp
                Iface Initiatorname: iqn.1994-05.com.redhat:8c56e324f294
                Iface IPaddress: 10.131.4.6
                Iface HWaddress: default
                Iface Netdev: default
                SID: 39
                iSCSI Connection State: LOGGED IN
                iSCSI Session State: Unknown
                Internal iscsid Session State: NO CHANGE
                ************************
                Negotiated iSCSI params:
                ************************
                HeaderDigest: None
                DataDigest: None
                MaxRecvDataSegmentLength: 131072
                MaxXmitDataSegmentLength: 65536
                FirstBurstLength: 8192
                MaxBurstLength: 262144
                ImmediateData: Yes
                InitialR2T: Yes
                MaxOutstandingR2T: 1
                ************************
                Attached SCSI devices:
                ************************
                Host Number: 40 State: running
                scsi40 Channel 00 Id 0 Lun: 0
                scsi40 Channel 00 Id 0 Lun: 1
                scsi40 Channel 00 Id 0 Lun: 2
                scsi40 Channel 00 Id 0 Lun: 3
                scsi40 Channel 00 Id 0 Lun: 4
                scsi40 Channel 00 Id 0 Lun: 5
                scsi40 Channel 00 Id 0 Lun: 31
        Current Portal: 10.131.2.15:3260,2
        Persistent Portal: 10.131.2.15:3260,2
                **********
                Interface:
                **********
                Iface Name: default
                Iface Transport: tcp
                Iface Initiatorname: iqn.1994-05.com.redhat:8c56e324f294
                Iface IPaddress: 10.131.4.6
                Iface HWaddress: default
                Iface Netdev: default
                SID: 40
                iSCSI Connection State: LOGGED IN
                iSCSI Session State: Unknown
                Internal iscsid Session State: NO CHANGE
                ************************
                Negotiated iSCSI params:
                ************************
                HeaderDigest: None
                DataDigest: None
                MaxRecvDataSegmentLength: 131072
                MaxXmitDataSegmentLength: 65536
                FirstBurstLength: 8192
                MaxBurstLength: 262144
                ImmediateData: Yes
                InitialR2T: Yes
                MaxOutstandingR2T: 1
                ************************
                Attached SCSI devices:
                ************************
                Host Number: 41 State: running
                scsi41 Channel 00 Id 0 Lun: 0
                scsi41 Channel 00 Id 0 Lun: 1
                scsi41 Channel 00 Id 0 Lun: 2
                scsi41 Channel 00 Id 0 Lun: 3
                scsi41 Channel 00 Id 0 Lun: 4
                scsi41 Channel 00 Id 0 Lun: 5
                scsi41 Channel 00 Id 0 Lun: 31

Cheers and thanks
Goncalo Borges
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~----------~----~----~----~------~----~------~--~---

Reply via email to