DEV Community

Discussion on: Enable the magical Multi-Gen LRU AKA MGLRU on openSUSE Tumblewed, stay away from OOM today!

Collapse
 
rafaellinux profile image
Rafael Linux User

Is it neccesary to create service file? There is a line CONFIG_LRU_GEN_ENABLED commented in boot file and I read in bugzilla that is enough to enable service:
bugzilla.suse.com/show_bug.cgi?id=...
echo y >/sys/kernel/mm/lru_gen/enabled

Is this true?

Collapse
 
archerallstars profile image
Archer Allstars

At least, on openSUSE Tumbleweed, I can't seem to enable MGLRU by echo y >/sys/kernel/mm/lru_gen/enabled at runtime. Therefore, I use the service file.