[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOuPNLjuM5qq3go9ZFZcK0G5pQxTQb0DY36xu+8SL4vC4zJntw@mail.gmail.com>
Date: Mon, 5 Nov 2018 20:31:46 +0530
From: Pintu Agarwal <pintu.ping@...il.com>
To: linux-mm@...ck.org, open list <linux-kernel@...r.kernel.org>,
kernelnewbies@...nelnewbies.org
Subject: Creating compressed backing_store as swapfile
Hi,
I have one requirement:
I wanted to have a swapfile (64MB to 256MB) on my system.
But I wanted the data to be compressed and stored on the disk in my swapfile.
[Similar to zram, but compressed data should be moved to disk, instead of RAM].
Note: I wanted to optimize RAM space, so performance is not important
right now for our requirement.
So, what are the options available, to perform this in 4.x kernel version.
My Kernel: 4.9.x
Board: any - (arm64 mostly).
As I know, following are the choices:
1) ZRAM: But it compresses and store data in RAM itself
2) frontswap + zswap : Didn't explore much on this, not sure if this
is helpful for our case.
3) Manually creating swapfile: but how to compress it ?
4) Any other options ?
Thanks,
Pintu
Powered by blists - more mailing lists