Re: [PATCH] zswap: Add CONFIG_ZSWAP_IO_SWITCH

2019-09-13 Thread Dan Streetman
On Wed, Sep 11, 2019 at 11:22 PM Hui Zhu wrote: > > I use zswap to handle the swap IO issue in a VM that uses a swap file. > This VM has 4G memory and 2 CPUs. And I set up 4G swap in /swapfile. > This is test script: > cat 1.sh > ./usemem --sleep 3600 -M -a -n 1 $((3 * 1024 * 1024 * 1024)) & > sl

Re: [PATCH] zswap: Add CONFIG_ZSWAP_IO_SWITCH

2019-09-12 Thread Qian Cai
On Thu, 2019-09-12 at 11:21 +0800, Hui Zhu wrote: > I use zswap to handle the swap IO issue in a VM that uses a swap file. > This VM has 4G memory and 2 CPUs. And I set up 4G swap in /swapfile. > This is test script: > cat 1.sh > ./usemem --sleep 3600 -M -a -n 1 $((3 * 1024 * 1024 * 1024)) & > sle