Talk:Improving performance

From ArchWiki
Jump to navigation Jump to search

ZRam

Is this section still accurate?

"The package zramswapAUR 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 [1] "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

—This unsigned comment is by Smasher816 (talk) 00:08, 10 October 2017‎. Please sign your posts with ~~~~!