From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx164.postini.com [74.125.245.164]) by kanga.kvack.org (Postfix) with SMTP id F2B0F6B0002 for ; Mon, 18 Feb 2013 14:38:05 -0500 (EST) Received: from /spool/local by e7.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 18 Feb 2013 14:38:04 -0500 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by d01dlp03.pok.ibm.com (Postfix) with ESMTP id 73783C9001D for ; Mon, 18 Feb 2013 14:37:52 -0500 (EST) Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r1IJborf348282 for ; Mon, 18 Feb 2013 14:37:51 -0500 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r1IJbe0T026034 for ; Mon, 18 Feb 2013 12:37:41 -0700 Message-ID: <512282FF.2050005@linux.vnet.ibm.com> Date: Mon, 18 Feb 2013 13:37:35 -0600 From: Seth Jennings MIME-Version: 1.0 Subject: Re: [PATCHv5 0/8] zswap: compressed swap caching References: <1360780731-11708-1-git-send-email-sjenning@linux.vnet.ibm.com> <511EFB05.3020700@gmail.com> In-Reply-To: <511EFB05.3020700@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Ric Mason Cc: Andrew Morton , Greg Kroah-Hartman , Nitin Gupta , Minchan Kim , Konrad Rzeszutek Wilk , Dan Magenheimer , Robert Jennings , Jenifer Hopper , Mel Gorman , Johannes Weiner , Rik van Riel , Larry Woodman , Benjamin Herrenschmidt , Dave Hansen , Joe Perches , linux-mm@kvack.org, linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org On 02/15/2013 09:20 PM, Ric Mason wrote: > On 02/14/2013 02:38 AM, Seth Jennings wrote: >> >> Some addition performance metrics regarding the performance >> improvements and I/O reductions that can be achieved using zswap as >> measured by SPECjbb are provided here: >> >> http://ibm.co/VCgHvM > > I see this link. You mentioned that "When a user enables zswap and > the hardware accelerator, zswap simply passes the pages to be > compressed or decompressed off to the accelerator instead of > performing the work in software". Then how can user enable hardware > accelerator, there are option in UEFI or ... ? zswap uses the cryptographic API for accessing compressor modules. In the case of Power7+, we have a crypto API driver (crypto/842.c) which wraps calls to the real driver (drivers/crypto/nx/nx-842.c) which makes the hardware calls. To use a compressor module, use the zswap.compressor attribute on the kernel parameter. For P7+, for exmaple: zswap.compressor=842 > >> These results include runs on x86 and new results on Power7+ with >> hardware compression acceleration. Thanks, Seth -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757003Ab3BRTip (ORCPT ); Mon, 18 Feb 2013 14:38:45 -0500 Received: from e8.ny.us.ibm.com ([32.97.182.138]:33995 "EHLO e8.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752940Ab3BRTio (ORCPT ); Mon, 18 Feb 2013 14:38:44 -0500 Message-ID: <512282FF.2050005@linux.vnet.ibm.com> Date: Mon, 18 Feb 2013 13:37:35 -0600 From: Seth Jennings User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: Ric Mason CC: Andrew Morton , Greg Kroah-Hartman , Nitin Gupta , Minchan Kim , Konrad Rzeszutek Wilk , Dan Magenheimer , Robert Jennings , Jenifer Hopper , Mel Gorman , Johannes Weiner , Rik van Riel , Larry Woodman , Benjamin Herrenschmidt , Dave Hansen , Joe Perches , linux-mm@kvack.org, linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org Subject: Re: [PATCHv5 0/8] zswap: compressed swap caching References: <1360780731-11708-1-git-send-email-sjenning@linux.vnet.ibm.com> <511EFB05.3020700@gmail.com> In-Reply-To: <511EFB05.3020700@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Scanned: Fidelis XPS MAILER x-cbid: 13021819-9360-0000-0000-000010BD64A6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/15/2013 09:20 PM, Ric Mason wrote: > On 02/14/2013 02:38 AM, Seth Jennings wrote: >> >> Some addition performance metrics regarding the performance >> improvements and I/O reductions that can be achieved using zswap as >> measured by SPECjbb are provided here: >> >> http://ibm.co/VCgHvM > > I see this link. You mentioned that "When a user enables zswap and > the hardware accelerator, zswap simply passes the pages to be > compressed or decompressed off to the accelerator instead of > performing the work in software". Then how can user enable hardware > accelerator, there are option in UEFI or ... ? zswap uses the cryptographic API for accessing compressor modules. In the case of Power7+, we have a crypto API driver (crypto/842.c) which wraps calls to the real driver (drivers/crypto/nx/nx-842.c) which makes the hardware calls. To use a compressor module, use the zswap.compressor attribute on the kernel parameter. For P7+, for exmaple: zswap.compressor=842 > >> These results include runs on x86 and new results on Power7+ with >> hardware compression acceleration. Thanks, Seth