From owner-freebsd-scsi@freebsd.org Sun Aug 14 21:11:14 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 11F18BBA9E0 for ; Sun, 14 Aug 2016 21:11:14 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (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 937BE18BE for ; Sun, 14 Aug 2016 21:11:13 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x229.google.com with SMTP id o80so70956299wme.1 for ; Sun, 14 Aug 2016 14:11:13 -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=1GZIJ2KkLdR+u79vs35ixQ9QEwMId7WihFA0DdH4pkQ=; b=x+4qkVEUXhTWCv4fZeYs3efkHDKRpWp7YUxJRk7W8pR6EDwYrBSzGkOocnsb28wgCE pu1CTqhfpyVr/B6iSZqxaqqba/A0dwDKels66/sBJDMGnJ0dxoGL0t5+lABjc33IKqYA jE+yWzEcuuqsVgsh+vxwhaJSn8otF0rWpmfijNLon6JX7DI8jdh8PIBPa++L1CPbYfdC +XT2M5hBxwvQRzx23M7Fl5KVSkv125X1RGJk3qImdHn6vu9K5gkkJ3RILRQLV8ca3W78 0IApmMNDu6rMZGQ7Vdno2mjWLOwoA53QUp29+5FgkJDMWfozcaoA2cLe/YOrWxMjW+Qh Y+yQ== 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=1GZIJ2KkLdR+u79vs35ixQ9QEwMId7WihFA0DdH4pkQ=; b=ZNQ54HsBGLsLzroW0KNCMxjUodIfyVxLllAVQzVHweAeSaotw+xIUY2LbRrNRfvry3 3aQBXLFShlR/kT94JPbhaNCHXrMxskPRlHp5RSop0idcx7WUIEsKIPb6GN13K/Td5bvA 8MI7dJ2LhIk7LNK7Jvz8EVKzJwHeWv9/fG/qjqLNFsNoavuQIIQ32QdIbqa/OAFooTKw 4BxBLT4TGP5rbI1C85kxzixa6qTzq+x98eDqcqTzGWdmsUNYw5yrxOA9jrvyUyk/VOGJ pAKDMGrzEd0BYl3CxXlhuje4x5lkXnXvtkkGHQ+btKVwhBcvQYTDuHMzUUcfGWXzHL0a Jm5A== X-Gm-Message-State: AEkoouvMkxWUYAnyQD3xxfqSlHGQCCdMpCs2qTRx3jhMak4HBYRniw+dtAVS4AEjoBPNNg== X-Received: by 10.194.23.39 with SMTP id j7mr27532780wjf.4.1471209071683; Sun, 14 Aug 2016 14:11:11 -0700 (PDT) Received: from macbook-air-de-benjamin.home (LFbn-1-7077-85.w90-116.abo.wanadoo.fr. [90.116.246.85]) by smtp.gmail.com with ESMTPSA id wc3sm18240636wjc.47.2016.08.14.14.11.10 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 14 Aug 2016 14:11:11 -0700 (PDT) Content-Type: text/plain; charset=us-ascii 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: Sun, 14 Aug 2016 23:11:10 +0200 Cc: Max Gurtovoy , Oren Duer , Oded Shanoon , Meny Yossefi , Roy Shterman , Hans Petter Selasky Content-Transfer-Encoding: quoted-printable Message-Id: 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: "freebsd-scsi@freebsd.org" 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: Sun, 14 Aug 2016 21:11:14 -0000 > On 13 Aug 2016, at 15:12, Ben RUBSON wrote: >=20 > 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=3D/dev/da8 of=3D/dev/null bs=3D$((128*1024)) count=3D81920 10737418240 bytes (11 GB) copied, 21.3898 s, 502 MB/s ### 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 ### 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 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=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 ### 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) > 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. Can't wait to see this then :) Many thanks again ! Best regards, Ben