Slow iSCSI performance

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Slow iSCSI performance

Phil Murray-2
Hi,

I'm trying to use the new iSCSI initiator (thanks!) with 7, but I'm  
getting dismal performance. A simple dd will will max out at about 2MB/
sec, and untarring the likes of the ports tree is a painful task.

The target is another FreeBSD 7 machine running the NetBSD target  
daemon from ports exporting a ZVOL from ZFS (also tried with a file on  
UFS).


It'll start off relatively fast and then suddenly dies after a few  
seconds, and then eventually will start again:

      tty             da0              da1            
pass0             cpu
  tin tout  KB/t tps  MB/s   KB/t tps  MB/s   KB/t tps  MB/s  us ni sy  
in id
    0   78 63.90 494 30.80   0.00   0  0.00   0.00   0  0.00   0  0  
5  2 93
    0   77 63.89 575 35.90   0.00   0  0.00   0.00   0  0.00   0  0  
8  3 89
    0   77 63.86 581 36.26   0.00   0  0.00   0.00   0  0.00   0  0  
5  4 91
    0   77 63.64 268 16.64   0.00   0  0.00   0.00   0  0.00   0  0  
3  2 95
    0   77  0.00   0  0.00   0.00   0  0.00   0.00   0  0.00   0  0  
0  0 100
    0   77  0.00   0  0.00   0.00   0  0.00   0.00   0  0.00   0  0  
0  0 100


The two hosts are connected with GbE, and iperf can saturate it  
without trouble (~987Mb/sec in both directions).

Any ideas where to start looking for the culprit?

Cheers

Phil







_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: Slow iSCSI performance

Stefan Lambrev-2
Greeting,

Philip Murray wrote:
> Hi,
>
> I'm trying to use the new iSCSI initiator (thanks!) with 7, but I'm
> getting dismal performance. A simple dd will will max out at about
> 2MB/sec, and untarring the likes of the ports tree is a painful task.
I have similar experience. In my case I was using for initiator Linux
host and FreeBSD with iscsi-target from ports.
I didn't have enough time to dig where the problem is.

>
> The target is another FreeBSD 7 machine running the NetBSD target
> daemon from ports exporting a ZVOL from ZFS (also tried with a file on
> UFS).
>
>
> It'll start off relatively fast and then suddenly dies after a few
> seconds, and then eventually will start again:
>
>      tty             da0              da1            pass0            
> cpu
>  tin tout  KB/t tps  MB/s   KB/t tps  MB/s   KB/t tps  MB/s  us ni sy
> in id
>    0   78 63.90 494 30.80   0.00   0  0.00   0.00   0  0.00   0  0  5  
> 2 93
>    0   77 63.89 575 35.90   0.00   0  0.00   0.00   0  0.00   0  0  8  
> 3 89
>    0   77 63.86 581 36.26   0.00   0  0.00   0.00   0  0.00   0  0  5  
> 4 91
>    0   77 63.64 268 16.64   0.00   0  0.00   0.00   0  0.00   0  0  3  
> 2 95
>    0   77  0.00   0  0.00   0.00   0  0.00   0.00   0  0.00   0  0  0  
> 0 100
>    0   77  0.00   0  0.00   0.00   0  0.00   0.00   0  0.00   0  0  0  
> 0 100
>
>
> The two hosts are connected with GbE, and iperf can saturate it
> without trouble (~987Mb/sec in both directions).
>
> Any ideas where to start looking for the culprit?
>
> Cheers
>
> Phil
>
>
>
>
>
>
>
> _______________________________________________
> [hidden email] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-performance
> To unsubscribe, send any mail to
> "[hidden email]"

--

Best Wishes,
Stefan Lambrev
ICQ# 24134177

_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: Slow iSCSI performance

Ivan Voras
Stefan Lambrev wrote:

> Greeting,
>
> Philip Murray wrote:
>> Hi,
>>
>> I'm trying to use the new iSCSI initiator (thanks!) with 7, but I'm
>> getting dismal performance. A simple dd will will max out at about
>> 2MB/sec, and untarring the likes of the ports tree is a painful task.
> I have similar experience. In my case I was using for initiator Linux
> host and FreeBSD with iscsi-target from ports.
> I didn't have enough time to dig where the problem is.
>>
>> The target is another FreeBSD 7 machine running the NetBSD target
>> daemon from ports exporting a ZVOL from ZFS (also tried with a file on
>> UFS).

See this:
http://lists.freebsd.org/pipermail/freebsd-scsi/2008-February/003383.html



signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Slow iSCSI performance

Stefan Lambrev-2
Greetings.

Ivan Voras wrote:

> Stefan Lambrev wrote:
>  
>> Greeting,
>>
>> Philip Murray wrote:
>>    
>>> Hi,
>>>
>>> I'm trying to use the new iSCSI initiator (thanks!) with 7, but I'm
>>> getting dismal performance. A simple dd will will max out at about
>>> 2MB/sec, and untarring the likes of the ports tree is a painful task.
>>>      
>> I have similar experience. In my case I was using for initiator Linux
>> host and FreeBSD with iscsi-target from ports.
>> I didn't have enough time to dig where the problem is.
>>    
>>> The target is another FreeBSD 7 machine running the NetBSD target
>>> daemon from ports exporting a ZVOL from ZFS (also tried with a file on
>>> UFS).
>>>      
>
>
> See this:
> http://lists.freebsd.org/pipermail/freebsd-scsi/2008-February/003383.html
>  
I do not see the patch in this thread :)
Is there a patch for 7.0-RELEASE? (If not already patched?)

--

Best Wishes,
Stefan Lambrev
ICQ# 24134177

_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: Slow iSCSI performance

Ivan Voras
Stefan Lambrev wrote:
> Greetings.
>
> Ivan Voras wrote:

>> http://lists.freebsd.org/pipermail/freebsd-scsi/2008-February/003383.html
>>  
> I do not see the patch in this thread :)
> Is there a patch for 7.0-RELEASE? (If not already patched?)

Try asking the author of the patch.



signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Slow iSCSI performance

Ivan Voras
In reply to this post by Stefan Lambrev-2
Stefan Lambrev wrote:
> Greetings.
>
> Ivan Voras wrote:
>> See this:
>> http://lists.freebsd.org/pipermail/freebsd-scsi/2008-February/003383.html
>>  
> I do not see the patch in this thread :)
> Is there a patch for 7.0-RELEASE? (If not already patched?)

The patch is posted now.



signature.asc (196 bytes) Download Attachment