From owner-svn-src-all@freebsd.org Wed Mar 22 21:31:43 2017 Return-Path: Delivered-To: svn-src-all@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 67042D11608 for ; Wed, 22 Mar 2017 21:31:43 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wr0-x229.google.com (mail-wr0-x229.google.com [IPv6:2a00:1450:400c:c0c::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 E288B1D54 for ; Wed, 22 Mar 2017 21:31:42 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wr0-x229.google.com with SMTP id u108so136077092wrb.3 for ; Wed, 22 Mar 2017 14:31:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=gbtGEuEncw5rnX4mwcX82EClQ/Z9KAVq+fATtxOlc6Q=; b=Cbh27J74tOWVP76umWmRI31zijTIQ5HBxXBDXhaApauGCd0KGA0wsyiRWBEhan52ro PEfpr1VDior1w9RGwbxOYAaG2UcdDFTt2hhokDygEEbwIJ4vlnm/ANLJcTIwNkATwEFU YjzVS8pB1jK+7O1dHlcxi2icr0+S1cWQ2bH2z7XQv5idTe/Rug6TKB80OO831J/tGgG2 ixGPAx4j4wokvf9DSLuPvMB6fCZnIeo74rJgvgoN5HLUn3Qnqoe6StEu/qt6g7FKi1T6 ivrP++YaTxPOIQeetbKR6TqSdEb1BAI/PoMR0RWu9I47PcOC6THULbScL/fSjPEc4X2m MBsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=gbtGEuEncw5rnX4mwcX82EClQ/Z9KAVq+fATtxOlc6Q=; b=iwJRsWksQ/z0uxHGzcb0T+bhHsjmFbU+NnLntsqfm+nw2YngebviBxfWHQm+voXXRA DjR51ZzIBV5j5ekNQhzXR3plZ0j06LdWXIIPfoJmzgn2NY/cdw8sd30eWr7wWQXDbdc2 wv7yugpYBTv0bi7/Ja9aGpl6Z/TupTTt3HGE7uijaIgKA919dDTxeV/S7UTUbi4j7Eh1 eq+610pER+FTe0W6Ju0v7Uz9D7TCEAJs5fltUz7hLOV66y848oKEnDKztmVKXcMcbe2f c6JB7zCd/MdH8o8eoTyA3+1B/lHOMN0i0XjpMQaKMO9PXgvK+cbqxmKfjo+HBqaekiwf VUDA== X-Gm-Message-State: AFeK/H14lRhVZFKfGniwEUsnHevG48BkAG4wqx9TSv1AsygSa+29hwF85xQxcviUTPFIIg== X-Received: by 10.223.145.68 with SMTP id j62mr2931887wrj.44.1490218301102; Wed, 22 Mar 2017 14:31:41 -0700 (PDT) Received: from ben-1.home (LFbn-1-7159-4.w90-116.abo.wanadoo.fr. [90.116.90.4]) by smtp.gmail.com with ESMTPSA id z88sm3288490wrb.26.2017.03.22.14.31.40 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Mar 2017 14:31:40 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: svn commit: r313006 - in head: sys/conf sys/libkern sys/libkern/x86 sys/sys tests/sys/kern From: Ben RUBSON In-Reply-To: Date: Wed, 22 Mar 2017 22:31:39 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <91BB426D-2F26-4368-8A2D-420844A067D4@gmail.com> References: <201701310326.v0V3QW30024375@repo.freebsd.org> <20170202184819.GP2092@kib.kiev.ua> <20170203062806.A2690@besplex.bde.org> <20170228121335.Q2733@besplex.bde.org> To: svn-src-all@freebsd.org X-Mailer: Apple Mail (2.3124) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Mar 2017 21:31:43 -0000 > On 01 Mar 2017, at 21:57, Conrad Meyer wrote: >=20 > Hi Bruce, >=20 > On my laptop (Intel(R) Core(TM) i5-3320M CPU =E2=80=94 Ivy Bridge) I = still see > a little worse performance with this patch. Hi Bruce & Conrad, I gave both patches a try. It's a real use case, iSCSI throughput. Both target and initiator running FreeBSD 11, both patched. I read 100 times 10G from the same raw SSD device. Results in MB/s. (top10 is the average of the 10 higher values) # Without CRC32 : average : 300.3 std dev : 3.9 top10 : 308.6 max : 311.4 # With software CRC32 : average : 197.6 std dev : 6.5 top10 : 204.2 max : 204.9 # With Conrad CRC32 : average : 282.4 std dev : 9.1 top10 : 292.9 max : 293.3 # With Bruce CRC32 : average : 278.4 std dev : 7.8 top10 : 290.8 max : 292.5 The difference between the 2 patches is let's say almost non = significant. CPU on both sides: Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz Ben