ФЭНДОМ


num_cpus=$(grep -c processor /proc/cpuinfo)
mem_for_cpus=$(grep "MemTotal:" /proc/meminfo |awk '{print $2}')
modprobe -q zram zram_num_devices=$num_cpus