Is this section still accurate?
"The packageAUR provides an automated script for setting up such swap devices with optimal settings for your system (such as RAM size and CPU core number). The script creates one zram device per CPU core with a total space equivalent to the RAM available, so you will have a compressed swap with higher priority than regular swap, which will utilize multiple CPU cores for compressing data."
According to the Linux Kernel docs  "ZRAM will always allocate multiple compression streams - one per online CPUs - thus allowing several concurrent compression operations". On the gentoo wiki making multiple devices to get scaling is mentioned as a workaround for pre 3.15 kernels. https://wiki.gentoo.org/wiki/Zram#Caveats.2FCons
Improving system responsiveness under low-memory conditions >> cgroups-v2
The wiki points to the systemd-swap package, but upstream seems to say that code quality is low and users should switch to systemd/zram-generator. Shouldn't it be mentioned in the wiki ? Should this package be in regular repos instead of the AUR ?
some way improve performance
Sorr, I'm working on translation of User:Dragonwater/Improving_performance_(简体中文)_tmp,, may have not time to add this things:
Anyone has time to do this?
All codes are:
systemctl enable dbus-broker.service systemctl --global enable dbus-broker.service
- Install AUR
systemctl enable --now uresourced