Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jan 2009 15:49:32 +0200
From:      Danny Braniss <danny@cs.huji.ac.il>
To:        Sossi Andrej <asossi@dotcom.ts.it>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: ISCSI slow to read from DELL MD3000i 
Message-ID:  <E1LKCJI-000Crk-2p@kabab.cs.huji.ac.il>
In-Reply-To: <496239E8.4020607@dotcom.ts.it> 
References:  <496239E8.4020607@dotcom.ts.it>

next in thread | previous in thread | raw e-mail | index | archive | help
sorry for the top potst, my MUI screws up the quoatet message.
check:
	ftp://ftp.cs.huji.ac.il/users/danny/freebsd/iscsi-2.1.tar.gz

danny

> Hello,> I manage an web/mail/DB server. We recently purchased  a DELL M=
D3000i > server with ISCSI interface. I tested the MD3000i with FreeBSD >=
 7.0-RELEASE, i  recompiled the kernel myself but the ISCSI communication=
 > results slow.> Below configuration:> > net configuration:> MD3000i    =
                                                              >          =
                     FreeBSD 7.0> controller 0 interface 0: 192.168.253.2=
54 =7C__=7C switch 1GB     > =7C__=7Cnetcard 0: 192.168.253.1 (re0)=7C> c=
ontroller 1 interface 0: 192.168.253.253 =7C    =7C192.168.253.X =7C     =
=7C   >                                                =7C>              =
                                                        =7C   >          =
                       =7C                                      >        =
     =7C> controller 0 interface 1: 192.168.252.254 =7C__=7C switch 1GB  =
   > =7C__=7Cnetcard 1: 192.168.252.1 (re1)=7C> controller 1 interface 1:=
 192.168.252.253 =7C    =7C192.168.252.X =7C     =7C   >                 =
                               =7C> > manage interface 0: 192.168.0.249  =
         =7C__=7C switch 10/100 MB =7C_.... > internal net> manage interf=
ace 1: 192.168.0.248           =7C      =7C192.168.0.X          =3D=7C> >=
 /etc/iscsi.conf:> port 3260> nas_dotcom =7B>        TargetAddress =3D 19=
2.168.253.254>        TargetName     =3D > iqn.1984-05.com.dell:powervaul=
t.6001ec9000f192210000000048a44372>        initiatorName =3D iqn.2005-01.=
il.ac.huji.cs::web.dotcom.ts.it> =7D> > web=23 sysctl net.iscsi> net.iscs=
i.driver_version: 2.1.0> net.iscsi.isid: =C2=80DIB00> net.iscsi.sessions:=
 1> net.iscsi.0.targetname: > iqn.1984-05.com.dell:powervault.6001ec9000f=
192210000000048a44372> net.iscsi.0.targeaddress: 192.168.253.254> net.isc=
si.0.stats: recv=3D71479 sent=3D71479 flags=3D0x0000019f pdus-allo=3Dc=3D=
0 > pdus-max=3D5 cws=3D385 cmd=3Db499 exp=3Db499 max=3Db619 stat=3Db49b i=
tt=3D=3Db499> net.iscsi.0.douio: 0> net.iscsi.0.pid: 612> > web=23 sysctl=
 kern.cam> kern.cam.cam_srch_hi: 0> kern.cam.scsi_delay: 5000> kern.cam.c=
d.changer.max_busy_seconds: 15> kern.cam.cd.changer.min_busy_seconds: 5> =
kern.cam.da.da_send_ordered: 1> kern.cam.da.default_timeout: 60> kern.cam=
.da.retry_count: 4> kern.cam.da.0.minimum_cmd_size: 6> kern.cam.da.1.mini=
mum_cmd_size: 6> kern.cam.da.2.minimum_cmd_size: 6> kern.cam.da.3.minimum=
_cmd_size: 6> > > I tryed with the ISCSI driver I found in FreeBSD 7.0, w=
ith the same > driver patched with the patch I found there > (http://list=
s.freebsd.org/pipermail/freebsd-scsi/2008-February/003383.htm=3Dl) > and =
alse with the driver ISCSI 2.1 downloaded from Danny's ftp.> All test hav=
e same results: about 820=7E850KB/s.> > eg:> web=23 dd if=3D/dev/zero of=
=3D/usr/local/www/tmp count=3D1m> 1048576+0 records in> 1048576+0 records=
 out> 536870912 bytes transferred in 654.398700 secs (820403 bytes/sec)> =
> and simultaneously> web=23 netstat -w 1 -I re0>             input      =
    (re0)           output>    packets  errs      bytes    packets  errs =
     bytes colls>          0     0          0          0     0          0=
     0>        123     0       8550        234     0     343180     0>   =
     300     0      20952        564     0     824808     0>        325  =
   0      22698        611     0     893542     0>        300     0      =
20952        564     0     824808     0>        325     0      22698     =
   611     0     893542     0>        300     0      20952        564    =
 0     824808     0>  .... and more> re1 has no traffic.> > But at the en=
d i try read from ISCSI. Read is more quickly.> eg:> web=23 dd if=3D/usr/=
local/www/tmp of=3D/usr/tmp> 1048576+0 records in> 1048576+0 records out>=
 536870912 bytes transferred in 19.636577 secs (27340351 bytes/sec)> > an=
d simultaneously:> web=23 netstat -w 1 -I re0>             input         =
 (re0)           output>    packets  errs      bytes    packets  errs    =
  bytes colls>           0     0          0          0     0          0  =
   0>       2210     0    3296084       1156     0      78744     0>     =
 16420     0   24493888       8567     0     582558     0>      13031    =
 0   19427130       6809     0     463074     0>      20638     0   30786=
236      10768     0     732288     0>      17296     0   25791540       =
9032     0     614160     0>      20347     0   30347462      10615     0=
     721854     0>      20254     0   30210156      10567     0     71859=
0     0>  .... and more> re1 has no traffic.> > I searched but found noth=
ing that helps me,  the only thing that > triggered my attention was this=
 Microsoft's User's Guide > (http://www.microsoft.com/downloads/details.a=
spx?familyid=3D12CB3C1A-15D6=3D-4585-B385-BEFD1319F825&displaylang=3Den).=
 > > It seems interesting at least the chapter 'Addressing Slow Performan=
ce > with iSCSI clusters'> > Thanks in advance for yours help.> > -- > So=
ssi Andrej> -------------------------> DotCom Information technology> > V=
ia Biancospino, 9> 34151 - Opicina (TS)> Italy> > tel: +39 040 2158191> f=
ax: +39 040 0641954> E-mail: asossi=40dotcom.ts.it> ---------------------=
-------> > Ai sensi del D.lgs n. 196 del 30.06.03 (Codice Privacy) si pre=
cisa che le=3D informazioni contenute in questo messaggio sono riservate =
e ad uso esclu=3Dsivo del destinatario. Qualora il messaggio in parola Le=
 fosse pervenuto =3Dper errore, La preghiamo di eliminarlo senza copiarlo=
 e di non inoltrarlo=3D a terzi, dandocene gentilmente comunicazione. Gra=
zie> > This message, for the D.lgs n. 196 / 30.06.03 (Privacy Code), may =
contain=3D confidential and/or privileged information. If you are not the=
 addressee=3D or authorized to receive this for the addressee, you must n=
ot use, copy,=3D disclose or take any action based on this message or any=
 information her=3Dein. If you have received this message in error, pleas=
e advise the sender=3D immediately by reply e-mail and delete this messag=
e. Thank you for your =3Dcooperation.> > ________________________________=
_______________> freebsd-scsi=40freebsd.org mailing list> http://lists.fr=
eebsd.org/mailman/listinfo/freebsd-scsi> To unsubscribe, send any mail to=
 =22freebsd-scsi-unsubscribe=40freebsd.org=22>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1LKCJI-000Crk-2p>