Performance problems of iSCSI on Solaris x86

From: Sonam Ganglia (s.ganglia@gmail.com)
Date: Thu Feb 28 2008 - 17:38:50 EST


I am a freshman when it comes to iscsi but I got to get it kicked off sooner
than later. We have a number of X2200s with more than enough of disk space
on each and I thought I could make use of iscsi target/initiator
configuration and pool the unused space on each node into one virtual
storage and put it in a global file system like qfs. That is my longterm
plan. However I am getting stumped at the first hurdle and its got to do
with performance.

For my test case I have configured a target and and initiator. Here are the
steps:

On my target, I have a disk with 2 somewhat large partitions of 75gigs each:

target # iscsitadm modify admin -d /usr/sys/iscsi/z2tgts
target # iscsitadm create target -b /dev/dsk/c0d0s6

On my initiator (client) machine:

initiator # iscsiadm modify discovery --sendtargets enable
initiator # iscsiadm list discovery
Discovery:
        Static: disabled
        Send Targets: enabled
        iSNS: disabled
initiator # iscsiadm add discovery-address 192.168.0.2

Every thing seems fine at this stage. I can format the drive and mount it as
a ufs file system. All these seems cool but when I run Bonnie to test the
performance on the filesystem created I get the following result

              -------Sequential Output-------- ---Sequential Input--
--Random--
              -Per Char- --Block--- -Rewrite-- -Per Char- --Block---
--Seeks---
Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec
%CPU
               1024 4843 5.2 3597 1.8 3982 2.6 98374
100.0 478433 100.0 76341 205.0

I had the suspicion while formatting the drive itself. I took about 10
minutes to format a 75gig partition. All these is on Solaris x86. Looking
forward to your views/explanation/remedy for this poor performance.

Thanks in advance,
--Sonam
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:42:48 EDT