From owner-freebsd-scsi@freebsd.org Tue Aug 16 10:11:08 2016 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 32DE2BBC528 for ; Tue, 16 Aug 2016 10:11:08 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A249F1BA5 for ; Tue, 16 Aug 2016 10:11:07 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x22f.google.com with SMTP id o80so156575426wme.1 for ; Tue, 16 Aug 2016 03:11:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=/6V4mN1LYZ7OoUQgWd3+f3c+dBzjlWPbh59WEfRqNO0=; b=VpOmvTyyM90OVmvGdjpUS2WJZjSsz8wZr5w9yrmsNOMPkDATG1EX2MkGAosl1pB8hn JOWz3w3ym1a3PmgGbUdsmHbjmAlIwpYVDU48YTGGBOTaNbEw7+Iq6XAyzqv386uZLYrD fIG0BpC/D9fSRlwpPEITSwY3AFHbFlhBG6z5v8luhxTrk5jryURabqJ0gMToeoBgwJ6n IDDTbiPSdEvgWHCOQFFYKgdAaGZTQ/A0wKSnQ4sf5aGsQQYaigLduyVN61AbsmNL2Ic+ fhG9bWOyHkHI73qurWIWlmIS/W98T5BuFlm+/M8z7rmKvWoWQqdVgxyzOUSGnP2eond+ UxZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=/6V4mN1LYZ7OoUQgWd3+f3c+dBzjlWPbh59WEfRqNO0=; b=VLJptJWOq2dg2U3njtxjVAn/mTt9U5YYbC1t7qSSQIs6/GsPl2wmdgmyHzGOYbkclk 54tH1LmujyA9m9l1KVJW9/h4kqhNexiczo7222izTmnAYtIAMhNuw8/9qG6H2a84YG7s XKIeJ1qQ/g0T9lx2WNAeaoyjeLCXAswFlfy2P0TK2Ute8YktHKYmDdM9iwB4wipZvj0U JrJYCXrkeBF/EwwhSX/NJ2dPQ1eMSTecRQ5k1nK/1XTE8CbQIFfbOjwJgq0FSUSZh8EX GSDQYCrO0PvrrvB/aCleQs11A3w6/qizP+rG6acvV1VkL3v9cKhR91pDLPSplXwFVGLy I86w== X-Gm-Message-State: AEkoouurZ4DLaDyktXrEEFNURnFq67Cf/VYYWanWOcfhYRiViPF/V2N/uuDZv5SsLBgEYA== X-Received: by 10.28.94.18 with SMTP id s18mr20084075wmb.44.1471342265950; Tue, 16 Aug 2016 03:11:05 -0700 (PDT) Received: from macbook-air-de-benjamin-1.home (LFbn-1-7077-85.w90-116.abo.wanadoo.fr. [90.116.246.85]) by smtp.gmail.com with ESMTPSA id b203sm20941319wmh.20.2016.08.16.03.11.05 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 16 Aug 2016 03:11:05 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Help to make iSER working From: Ben RUBSON In-Reply-To: Date: Tue, 16 Aug 2016 12:11:04 +0200 Cc: "freebsd-scsi@freebsd.org" , Oren Duer , Oded Shanoon , Meny Yossefi , Roy Shterman , Hans Petter Selasky Content-Transfer-Encoding: quoted-printable Message-Id: <6B335920-6818-4A44-A905-2425B4CFA812@gmail.com> References: <71E4886B-61C3-4091-A7FF-E5A4F59AEACE@gmail.com> <64d8bc44-b6a3-4c0a-6d13-f919bf26685a@mellanox.com> <41CCC244-A781-4087-A811-B33847EDEC01@gmail.com> <6a464f2c-c048-d29c-e602-c129b35a5d4a@mellanox.com> <621BCC32-4612-410F-B658-D1086A7A3A09@gmail.com> <8207D6A0-3647-48B4-A4E0-3F1FCF3A6723@gmail.com> To: Max Gurtovoy X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2016 10:11:08 -0000 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 wrote: >=20 > 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. >=20 > Thanks, > Max. >=20 > On 8/15/2016 12:11 AM, Ben RUBSON wrote: >>=20 >>> On 13 Aug 2016, at 15:12, Ben RUBSON wrote: >>>=20 >>> Benchmarks will of course follow. >>=20 >> (also posted @freebsd-fs) >>=20 >> I then used Linux TGT as a test target. >>=20 >> ### Target : local disk throughput, one thread : >> # dd if=3D/dev/da8 of=3D/dev/null bs=3D$((128*1024)) count=3D81920 >> 10737418240 bytes (11 GB) copied, 21.3898 s, 502 MB/s >>=20 >> ### Initiator : iscsi disk throughput, one thread : >> # dd if=3D/dev/da8 of=3D/dev/null bs=3D$((128*1024)) count=3D81920 >> 10737418240 bytes transferred in 34.938676 secs (307321843 bytes/sec) = - 293 MB/s >>=20 >> ### Initiator : iSER disk throughput, one thread : >> # dd if=3D/dev/da8 of=3D/dev/null bs=3D$((128*1024)) count=3D81920 >> 10737418240 bytes transferred in 20.371947 secs (527068838 bytes/sec) = - 502 MB/s >>=20 >> In my example, iSER allows to reach the raw disk throughput (on one = thread), whereas iSCSI/TCP is a bottleneck. >>=20 >> I also tested with a target RAM device : >>=20 >> ### Initiator : iscsi RAM throughput, one thread : >> # dd if=3D/dev/da8 of=3D/dev/null bs=3D$((128*1024)) count=3D81920 >> 10737418240 bytes transferred in 24.194665 secs (443792803 bytes/sec) = - 423 MB/s >>=20 >> ### Initiator : iSER RAM throughput, one thread : >> # dd if=3D/dev/da8 of=3D/dev/null bs=3D$((128*1024)) count=3D81920 >> 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) >>=20 >>> On 11 Aug 2016, at 01:13, Max Gurtovoy wrote: >>>=20 >>> 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. >>=20 >>=20 >> Can't wait to see this then :) >>=20 >> Many thanks again ! >>=20 >> Best regards, >>=20 >> Ben >>=20 >>=20