Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1609449

Re: [PATCH v3 5/7] zram: Convert to using memset_l

Path csiph.com!feeder.erje.net!1.us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Minchan Kim <minchan@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v3 5/7] zram: Convert to using memset_l
Date Mon, 27 Mar 2017 07:10:01 +0200
Message-ID <tpv4J-2RJ-3@gated-at.bofh.it> (permalink)
References <toA6t-48t-3@gated-at.bofh.it> <toA6u-48t-27@gated-at.bofh.it>
X-Original-To Matthew Wilcox <willy@infradead.org>
X-Original-Senderip 156.147.1.127
X-Original-Mailfrom minchan@kernel.org
X-Original-Senderip 165.244.249.25
X-Original-Mailfrom minchan@kernel.org
X-Original-Senderip 10.177.223.161
X-Original-Mailfrom minchan@kernel.org
MIME-Version 1.0
User-Agent Mutt/1.5.24 (2015-08-30)
X-Mimetrack Itemize by SMTP Server on LGEKRMHUB01/LGE/LG Group(Release 8.5.3FP6|November 21, 2013) at 2017/03/27 14:01:36, Serialize by Router on LGEKRMHUB01/LGE/LG Group(Release 8.5.3FP6|November 21, 2013) at 2017/03/27 14:01:37, Serialize complete at 2017/03/27 14:01:37
Content-Type text/plain; charset="us-ascii"
Content-Disposition inline
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 17
Organization linux.* mail to news gateway
X-Original-Cc <linux-kernel@vger.kernel.org>, <linux-fbdev@vger.kernel.org>, <linux-arch@vger.kernel.org>, <linux-alpha@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <x86@kernel.org>, <linux-mips@linux-mips.org>, <linuxppc-dev@lists.ozlabs.org>, <sparclinux@vger.kernel.org>, Matthew Wilcox <mawilcox@microsoft.com>
X-Original-Date Mon, 27 Mar 2017 14:01:34 +0900
X-Original-Message-ID <20170327050134.GA19601@bbox>
X-Original-References <20170324161318.18718-1-willy@infradead.org> <20170324161318.18718-6-willy@infradead.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1609449

Show key headers only | View raw


On Fri, Mar 24, 2017 at 09:13:16AM -0700, Matthew Wilcox wrote:
> From: Matthew Wilcox <mawilcox@microsoft.com>
> 
> zram was the motivation for creating memset_l().  Minchan Kim sees a 7%
> performance improvement on x86 with 100MB of non-zero deduplicatable
> data:
> 
>         perf stat -r 10 dd if=/dev/zram0 of=/dev/null
> 
> vanilla:        0.232050465 seconds time elapsed ( +-  0.51% )
> memset_l:	0.217219387 seconds time elapsed ( +-  0.07% )
> 
> Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
> Tested-by: Minchan Kim <minchan@kernel.org>
Acked-by: Minchan Kim <minchan@kernel.org>

Thanks!

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/7] Add memsetN functions Matthew Wilcox <willy@infradead.org> - 2017-03-24 17:20 +0100
  [PATCH v3 1/7] Add multibyte memset functions Matthew Wilcox <willy@infradead.org> - 2017-03-24 17:20 +0100
  [PATCH v3 5/7] zram: Convert to using memset_l Matthew Wilcox <willy@infradead.org> - 2017-03-24 17:20 +0100
    Re: [PATCH v3 5/7] zram: Convert to using memset_l Minchan Kim <minchan@kernel.org> - 2017-03-27 07:10 +0200
  [PATCH v3 4/7] alpha: Add support for memset16 Matthew Wilcox <willy@infradead.org> - 2017-03-24 17:20 +0100
  [PATCH v3 2/7] ARM: Implement memset16, memset32 & memset64 Matthew Wilcox <willy@infradead.org> - 2017-03-24 17:20 +0100

csiph-web