Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Looking for information on configuring zswap
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Thaidog
Veteran
Veteran


Joined: 19 May 2004
Posts: 1053

PostPosted: Mon Feb 02, 2015 3:57 am    Post subject: Looking for information on configuring zswap Reply with quote

Is zswap still a favored kernel feature? I can't find much info on configuring it (but I see plenty on zram) If so does anyone know what I need to configure it?
_________________
Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6281

PostPosted: Sun Feb 22, 2015 12:34 pm    Post subject: Reply with quote

I guess that the reason why there is more information about configuring zram available than for zswap is that the former requires userspace configuration.
For zswap, just add something like the following to your kernel command line
Code:
zswap.enabled=1 zswap.compressor=lz4 zswap.max_pool_percent=25

Note that you must have CRYPT_LZ4=y (and not onty "=m") if you want to use lz4 compression (which is probably better since much faster than the default lzo).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum