Help to make iSER working

Max Gurtovoy maxg at mellanox.com
Wed Aug 17 23:13:09 UTC 2016


NP.

I never tried it on FreeBSD but you can try to build the user space 
target TGT on it.
Maybe you'll need some adaptations but should be easier that adding a 
new iser target driver from scratch.



On 8/16/2016 1:11 PM, Ben RUBSON wrote:
> Thank you very much Max for all your advices.
>
> These tests were really interesting as they demonstrated that iSER can easily improve my iSCSI storage infrastructure throughput.
>
> Unfortunately, for production purpose, I need FreeBSD as the target system.
> I will then keep an eye on future FreeBSD releases related to iSER.
>
> Thank you again !
>
> Ben
>
>
>
>> On 16 Aug 2016, at 00:12, Max Gurtovoy <maxg at mellanox.com> wrote:
>>
>> Good to see that you got a nice progress there.
>> You can try the fio tool and see even better performance.
>> You can also use Mellanox community site to see how to reach wire spead and leaverage your numbers. The iser posts are mostly for linux users but you can find it helpfull for your needs to.
>>
>> Thanks,
>> Max.
>>
>> On 8/15/2016 12:11 AM, Ben RUBSON wrote:
>>>
>>>> On 13 Aug 2016, at 15:12, Ben RUBSON <ben.rubson at gmail.com> wrote:
>>>>
>>>> Benchmarks will of course follow.
>>>
>>> (also posted @freebsd-fs)
>>>
>>> I then used Linux TGT as a test target.
>>>
>>> ### Target : local disk throughput, one thread :
>>> # dd if=/dev/da8 of=/dev/null bs=$((128*1024)) count=81920
>>> 10737418240 bytes (11 GB) copied, 21.3898 s, 502 MB/s
>>>
>>> ### Initiator : iscsi disk throughput, one thread :
>>> # dd if=/dev/da8 of=/dev/null bs=$((128*1024)) count=81920
>>> 10737418240 bytes transferred in 34.938676 secs (307321843 bytes/sec) - 293 MB/s
>>>
>>> ### Initiator : iSER disk throughput, one thread :
>>> # dd if=/dev/da8 of=/dev/null bs=$((128*1024)) count=81920
>>> 10737418240 bytes transferred in 20.371947 secs (527068838 bytes/sec) - 502 MB/s
>>>
>>> In my example, iSER allows to reach the raw disk throughput (on one thread), whereas iSCSI/TCP is a bottleneck.
>>>
>>> I also tested with a target RAM device :
>>>
>>> ### Initiator : iscsi RAM throughput, one thread :
>>> # dd if=/dev/da8 of=/dev/null bs=$((128*1024)) count=81920
>>> 10737418240 bytes transferred in 24.194665 secs (443792803 bytes/sec) - 423 MB/s
>>>
>>> ### Initiator : iSER RAM throughput, one thread :
>>> # dd if=/dev/da8 of=/dev/null bs=$((128*1024)) count=81920
>>> 10737418240 bytes transferred in 10.991094 secs (976919873 bytes/sec) - 932 MB/s
>>> (just don't know what is the bottleneck here, of course not the RAM, and network on one thread is around 30GB/s)
>>>
>>>> On 11 Aug 2016, at 01:13, Max Gurtovoy <maxg at mellanox.com> wrote:
>>>>
>>>> Regarding plans for the target side, it's not on my plate for the near future (but obviously can be later on :)).
>>>> I'm not aware of other contributers plans.
>>>
>>>
>>> Can't wait to see this then :)
>>>
>>> Many thanks again !
>>>
>>> Best regards,
>>>
>>> Ben
>>>
>>>
>


More information about the freebsd-scsi mailing list