Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jan 2009 17:48:40 +0100
From:      Sossi Andrej <asossi@dotcom.ts.it>
To:        freebsd-scsi@freebsd.org
Subject:   ISCSI slow to read from DELL MD3000i
Message-ID:  <496239E8.4020607@dotcom.ts.it>

next in thread | raw e-mail | index | archive | help
Hello,
I manage an web/mail/DB server. We recently purchased  a DELL MD3000i 
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.254 |__| switch 1GB     
|__|netcard 0: 192.168.253.1 (re0)|
controller 1 interface 0: 192.168.253.253 |    |192.168.253.X |     |   
                                               |
                                                                     |   
                                |                                      
            |
controller 0 interface 1: 192.168.252.254 |__| switch 1GB     
|__|netcard 1: 192.168.252.1 (re1)|
controller 1 interface 1: 192.168.252.253 |    |192.168.252.X |     |   
                                               |

manage interface 0: 192.168.0.249           |__| switch 10/100 MB |_.... 
internal net
manage interface 1: 192.168.0.248           |      |192.168.0.X          |

/etc/iscsi.conf:
port 3260
nas_dotcom {
       TargetAddress = 192.168.253.254
       TargetName     = 
iqn.1984-05.com.dell:powervault.6001ec9000f192210000000048a44372
       initiatorName = iqn.2005-01.il.ac.huji.cs::web.dotcom.ts.it
}

web# sysctl net.iscsi
net.iscsi.driver_version: 2.1.0
net.iscsi.isid: €DIB00
net.iscsi.sessions: 1
net.iscsi.0.targetname: 
iqn.1984-05.com.dell:powervault.6001ec9000f192210000000048a44372
net.iscsi.0.targeaddress: 192.168.253.254
net.iscsi.0.stats: recv=71479 sent=71479 flags=0x0000019f pdus-alloc=0 
pdus-max=5 cws=385 cmd=b499 exp=b499 max=b619 stat=b49b itt=b499
net.iscsi.0.douio: 0
net.iscsi.0.pid: 612

web# sysctl kern.cam
kern.cam.cam_srch_hi: 0
kern.cam.scsi_delay: 5000
kern.cam.cd.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.minimum_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, with the same 
driver patched with the patch I found there 
(http://lists.freebsd.org/pipermail/freebsd-scsi/2008-February/003383.html) 
and alse with the driver ISCSI 2.1 downloaded from Danny's ftp.
All test have same results: about 820~850KB/s.

eg:
web# dd if=/dev/zero of=/usr/local/www/tmp count=1m
1048576+0 records in
1048576+0 records out
536870912 bytes transferred in 654.398700 secs (820403 bytes/sec)

and simultaneously
web# 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 end i try read from ISCSI. Read is more quickly.
eg:
web# dd if=/usr/local/www/tmp of=/usr/tmp
1048576+0 records in
1048576+0 records out
536870912 bytes transferred in 19.636577 secs (27340351 bytes/sec)

and simultaneously:
web# 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   30786236      10768     0     732288     0
     17296     0   25791540       9032     0     614160     0
     20347     0   30347462      10615     0     721854     0
     20254     0   30210156      10567     0     718590     0
 .... and more
re1 has no traffic.

I searched but found nothing that helps me,  the only thing that 
triggered my attention was this Microsoft's User's Guide 
(http://www.microsoft.com/downloads/details.aspx?familyid=12CB3C1A-15D6-4585-B385-BEFD1319F825&displaylang=en). 

It seems interesting at least the chapter 'Addressing Slow Performance 
with iSCSI clusters'

Thanks in advance for yours help.

-- 
Sossi Andrej
-------------------------
DotCom Information technology

Via Biancospino, 9
34151 - Opicina (TS)
Italy

tel: +39 040 2158191
fax: +39 040 0641954
E-mail: asossi@dotcom.ts.it
----------------------------

Ai sensi del D.lgs n. 196 del 30.06.03 (Codice Privacy) si precisa che le informazioni contenute in questo messaggio sono riservate e ad uso esclusivo del destinatario. Qualora il messaggio in parola Le fosse pervenuto per errore, La preghiamo di eliminarlo senza copiarlo e di non inoltrarlo a terzi, dandocene gentilmente comunicazione. Grazie

This message, for the D.lgs n. 196 / 30.06.03 (Privacy Code), may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?496239E8.4020607>