Re: zswap: How to determine whether it is compressing swap pages?

2013-07-18 Thread Valdis . Kletnieks
On Thu, 18 Jul 2013 20:43:40 +0800, Bob Liu said: > Could you make some test by kernel compiling? Something like kernbench. > During my testing, I found that the swap ins/outs operations reduced but > the kernel compile time didn't reduce accordingly. If your kernel source tree is cache-cold, the

Re: zswap: How to determine whether it is compressing swap pages?

2013-07-18 Thread Bob Liu
Hi Martin, On 07/18/2013 03:38 AM, Martin Steigerwald wrote: > Am Mittwoch, 17. Juli 2013, 09:38:34 schrieb Seth Jennings: >> On Wed, Jul 17, 2013 at 01:41:44PM +0200, Martin Steigerwald wrote: >>> Is there any way to run zcache concurrently with zswap? I.e. use zcache only >>> for read caches for

Re: zswap: How to determine whether it is compressing swap pages?

2013-07-17 Thread Martin Steigerwald
Am Mittwoch, 17. Juli 2013, 09:38:34 schrieb Seth Jennings: > On Wed, Jul 17, 2013 at 01:41:44PM +0200, Martin Steigerwald wrote: > > Is there any way to run zcache concurrently with zswap? I.e. use zcache only > > for read caches for filesystem and zswap for swap? > > No, at least not with zcache

Re: zswap: How to determine whether it is compressing swap pages?

2013-07-17 Thread Martin Steigerwald
Am Mittwoch, 17. Juli 2013, 18:42:18 schrieb Bob Liu: > On 07/17/2013 06:04 PM, Martin Steigerwald wrote: > > Hi Seth, hi everyone, > > > > Yesterday I build 3.11-rc1 with CONFIG_ZSWAP and wanted to test it. > > > > I added zswap.enabled=1 and get: > > > > martin@merkaba:~> dmesg | grep zswap > > [

Re: zswap: How to determine whether it is compressing swap pages?

2013-07-17 Thread Bob Liu
Hi Martin, On 07/17/2013 06:04 PM, Martin Steigerwald wrote: Hi Seth, hi everyone, Yesterday I build 3.11-rc1 with CONFIG_ZSWAP and wanted to test it. I added zswap.enabled=1 and get: martin@merkaba:~> dmesg | grep zswap [0.00] Command line: BOOT_IMAGE=/vmlinuz-3.11.0-rc1-tp520+ root=

zswap: How to determine whether it is compressing swap pages?

2013-07-17 Thread Martin Steigerwald
Hi Seth, hi everyone, Yesterday I build 3.11-rc1 with CONFIG_ZSWAP and wanted to test it. I added zswap.enabled=1 and get: martin@merkaba:~> dmesg | grep zswap [0.00] Command line: BOOT_IMAGE=/vmlinuz-3.11.0-rc1-tp520+ root=/dev/mapper/merkaba-debian ro rootflags=subvol=root init=/bin/s