kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Creating compressed backing_store as swapfile
@ 2018-11-05 15:01 Pintu Agarwal
  2018-11-05 15:01 ` Pintu Agarwal
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Pintu Agarwal @ 2018-11-05 15:01 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2018-11-08  9:52 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-05 15:01 Creating compressed backing_store as swapfile Pintu Agarwal
2018-11-05 15:01 ` Pintu Agarwal
     [not found] ` <20181105155815.i654i5ctmfpqhggj@angband.pl>
2018-11-05 16:07   ` Austin S. Hemmelgarn
2018-11-05 16:07     ` Austin S. Hemmelgarn
2018-11-05 16:14     ` valdis.kletnieks at vt.edu
2018-11-05 16:14       ` valdis.kletnieks
2018-11-05 16:28       ` Austin S. Hemmelgarn
2018-11-05 16:28         ` Austin S. Hemmelgarn
2018-11-05 16:53         ` valdis.kletnieks at vt.edu
2018-11-05 16:53           ` valdis.kletnieks
2018-11-05 16:55           ` Austin S. Hemmelgarn
2018-11-05 16:55             ` Austin S. Hemmelgarn
2018-11-08  9:51     ` Pintu Agarwal
2018-11-08  9:51       ` Pintu Agarwal
2018-11-05 16:12 ` valdis.kletnieks at vt.edu
2018-11-05 16:12   ` valdis.kletnieks
2018-11-08  9:46   ` Pintu Agarwal
2018-11-08  9:46     ` Pintu Agarwal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).