Issue with zram

After configuring zram, the system started to start for about a minute instead of 10 seconds. The NetworkManager service stopped starting and has to be started manually every time. The zram size has no effect on the boot speed.
Where can I see the logs and how can I fix it? I tried to look through journalctl logs, but nothing interesting.

zram config

└[/etc/systemd/swap.conf.d]> cat laptop.conf 
zram_size=$(( RAM_SIZE * 2 ))    # This is 2 size of ram       

The problem was too many zram partitions. I had 12(Like the number of processor threads), but if you put 6(Like the number of processor cores), everything starts working fine.

zram_count=$(( 6 ))
1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.