linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Abort Task ?
@ 2007-10-19 12:25 Ross S. W. Walker
  0 siblings, 0 replies; 13+ messages in thread
From: Ross S. W. Walker @ 2007-10-19 12:25 UTC (permalink / raw)
  To: joel.bertrand; +Cc: iscsitarget-devel, linux-raid


[-- Attachment #1.1: Type: text/plain, Size: 4576 bytes --]


Bertrand,

If you are using dd then there will only be 1 outstanding io at a time so only istd1 will have work since the initiator will not send the next io till istd1 returns the results from the first io and then the next io will be issued to istd1 again.

600us is a little slow, try disabling or limiting any interrupt coalesence on the network adapters. ISCSI is more sensitive to network latency then NFS or CIFS.

-Ross


-----Original Message-----
From: BERTRAND Joël <joel.bertrand@systella.fr>
To: Ross S. W. Walker
CC: blackmagic02881@gmail.com <blackmagic02881@gmail.com>; iscsitarget-devel@lists.sourceforge.net <iscsitarget-devel@lists.sourceforge.net>; linux-raid@vger.kernel.org <linux-raid@vger.kernel.org>
Sent: Fri Oct 19 03:48:07 2007
Subject: Re: [Iscsitarget-devel] Abort Task ?

Ross S. W. Walker wrote:
> BERTRAND Joël wrote:
>> BERTRAND Joël wrote:
>>>     I can format serveral times (mkfs.ext3) a 1.5 TB volume 
>> over iSCSI 
>>> without any trouble. I can read and write on this virtual 
>> disk without 
>>> any trouble.
>>>
>>>     Now, I have configured ietd with :
>>>
>>> Lun 0 Sectors=1464725758,Type=nullio
>>>
>>> and I run on initiator side :
>>>
>>> Root gershwin:[/dev] > dd if=/dev/zero of=/dev/sdj bs=8192
>>> 479482+0 records in
>>> 479482+0 records out
>>> 3927916544 bytes (3.9 GB) copied, 153.222 seconds, 25.6 MB/s
>>>
>>> Root gershwin:[/dev] > dd if=/dev/zero of=/dev/sdj bs=8192
>>>
>>>     I'm waitinfor a crash. No one when I write these lines. 
>>    I suspect 
>>> an interaction between raid and iscsi.
>> 	I simultanely run :
>>
>> Root gershwin:[/dev] > dd if=/dev/zero of=/dev/sdj bs=8192
>> 8397210+0 records in
>> 8397210+0 records out
>> 68789944320 bytes (69 GB) copied, 2732.55 seconds, 25.2 MB/s
>>
>> and
>>
>> Root gershwin:[~] > dd if=/dev/sdj of=/dev/null bs=8192
>> 739200+0 records in
>> 739199+0 records out
>> 6055518208 bytes (6.1 GB) copied, 447.178 seconds, 13.5 MB/s
>>
>> 	without any trouble.
> 
> The speed can definitely be improved. Look at your network setup
> and use ping to try and get the network latency to a minimum.
> 
> # ping -A -s 8192 172.16.24.140
> ....
> --- 172.16.24.140 ping statistics ---
> 14058 packets transmitted, 14057 received, 0% packet loss, time 9988ms
> rtt min/avg/max/mdev = 0.234/0.268/2.084/0.041 ms, ipg/ewma 0.710/0.260 ms

gershwin:[~] > ping -A -s 8192 192.168.0.2
PING 192.168.0.2 (192.168.0.2) 8192(8220) bytes of data.
8200 bytes from 192.168.0.2: icmp_seq=1 ttl=64 time=0.693 ms
8200 bytes from 192.168.0.2: icmp_seq=2 ttl=64 time=0.595 ms
8200 bytes from 192.168.0.2: icmp_seq=3 ttl=64 time=0.583 ms
8200 bytes from 192.168.0.2: icmp_seq=4 ttl=64 time=0.589 ms
8200 bytes from 192.168.0.2: icmp_seq=5 ttl=64 time=0.580 ms
8200 bytes from 192.168.0.2: icmp_seq=6 ttl=64 time=0.594 ms
8200 bytes from 192.168.0.2: icmp_seq=7 ttl=64 time=0.580 ms
8200 bytes from 192.168.0.2: icmp_seq=8 ttl=64 time=0.592 ms
8200 bytes from 192.168.0.2: icmp_seq=9 ttl=64 time=0.589 ms
8200 bytes from 192.168.0.2: icmp_seq=10 ttl=64 time=0.571 ms
8200 bytes from 192.168.0.2: icmp_seq=11 ttl=64 time=0.588 ms
8200 bytes from 192.168.0.2: icmp_seq=12 ttl=64 time=0.580 ms
8200 bytes from 192.168.0.2: icmp_seq=13 ttl=64 time=0.587 ms

--- 192.168.0.2 ping statistics ---
13 packets transmitted, 13 received, 0% packet loss, time 2400ms
rtt min/avg/max/mdev = 0.571/0.593/0.693/0.044 ms, ipg/ewma 200.022/0.607 ms
gershwin:[~] >

	Both initiator and target are alone on a gigabit NIC (Tigon3). On 
target server, istd1 takes 100% of a CPU (and only one CPU, even my 
T1000 can simultaneous run 32 threads). I think the limitation comes 
from istd1.

> You want your avg ping time for 8192 byte payloads to be 300us or less.
> 
> 1000/.268 = 3731 IOPS @ 8k = 30 MB/s
> 
> If you use apps that do overlapping asynchronous IO you can see better
> numbers.

	Regards,

	JKB

______________________________________________________________________
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.


[-- Attachment #1.2: Type: text/html, Size: 5929 bytes --]

[-- Attachment #2: Type: text/plain, Size: 314 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

[-- Attachment #3: Type: text/plain, Size: 182 bytes --]

_______________________________________________
Iscsitarget-devel mailing list
Iscsitarget-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iscsitarget-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2007-10-19 14:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <471720F1.40409@systella.fr>
     [not found] ` <471727F3.2080500@systella.fr>
     [not found]   ` <471734C5.8090405@systella.fr>
     [not found]     ` <E2BB8074E5500C42984D980D4BD78EF9017A2958@MFG-NYC-EXCH2.mfg.prv>
     [not found]       ` <1192721909.3596.15.camel@dhcp-117.ibrix.com>
2007-10-18 16:33         ` Abort Task ? BERTRAND Joël
2007-10-18 17:14           ` BERTRAND Joël
2007-10-18 21:03             ` Ross S. W. Walker
2007-10-18 21:35               ` [Iscsitarget-devel] " Ming Zhang
2007-10-19  7:48               ` BERTRAND Joël
2007-10-19 13:55                 ` Ming Zhang
2007-10-19 14:30                   ` BERTRAND Joël
2007-10-19 14:37                     ` Ming Zhang
2007-10-19 14:47                       ` BERTRAND Joël
2007-10-19 14:53                         ` Ming Zhang
2007-10-19 14:51                       ` [Iscsitarget-devel] " Ross S. W. Walker
2007-10-18 17:30           ` Ming Zhang
2007-10-19 12:25 Ross S. W. Walker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).