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

From: Valdis . Kletnieks
Date: Thu Jul 18 2013 - 13:38:15 EST


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 swap in/out activity is
probably hidden and ahrd to notice among all the disk I/O to read the source in.

Attachment: pgp00000.pgp
Description: PGP signature