Re: [PATCH v3 5/7] zram: Convert to using memset_l
From: Minchan Kim
Date: Mon Mar 27 2017 - 01:03:10 EST
On Fri, Mar 24, 2017 at 09:13:16AM -0700, Matthew Wilcox wrote:
> From: Matthew Wilcox <mawilcox@xxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxx>
> Tested-by: Minchan Kim <minchan@xxxxxxxxxx>
Acked-by: Minchan Kim <minchan@xxxxxxxxxx>
Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html