lkml.org 
[lkml]   [2017]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 5/7] zram: Convert to using memset_l
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!

\
 
 \ /
  Last update: 2017-03-27 07:03    [W:0.086 / U:2.800 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site