You are not logged in.
Pages: 1
Hello :-)
I want to install Arch & Hyprland in my old/second machine. Specs are as follows:
* i-7700K / RTX 20270 Super
* 32GB RAM
* NVME: 500GB
* SATA: 1024GB
* 2x 2560x1440 WQHD (if that's a relevant info for the memory question below)
Question 1: Is this a good strategy?
NVME for root (/) and /boot/efi and /tmp
root FS would be btrfs or ext4 (not sure yet)
SATA SSD for /home
I think, I do not need a "classic" swap partition, objectives?
Question 2: Should I swap on zram instead?
According to the guide, one use of zram is to store temporary files /tmp) - but I think 32GB is too little for that, right? The other use is swapping. How large should this partition/block device be given my memory of 32GB? (eg. reserve 50% for actual system use and the other half is swap?)
The guide says we can't hibernate in a swap space on zram. By "hibernate" I think of laptops. Does this apply to desktop computers as well? How about idle or sleep mode, when the system is not used for some time?
I think everything else is clear after reading that guide on your wiki and I'm ready to start :-)
Thanks
Roger
Offline
Sounds fineish. Temporary files are already in RAM by default even without configuring ZRAM (and that defaults to a theoretical maximum of half of your RAM) That isn't an issue in the vast majority of times as most temp files are rather small and stuff like sockets/lock files or so. Ultimately ZRAM can't help you if you run into actual RAM pressure that would exceed what you can compress, if you don't envision yourself to run into that configuring ZRAM will be fine.
For the hibernate question, the difference between hibernate and sleep is that hibernate turns off your system completely and thus has to store an image of your current RAM state on some persistent device. Sleep turns off everything except your RAM so the relevant state can be restored from RAM. So if you don't need to be able to shutdown and essentially restore your session from disk, and you mostly see yourself using sleep mode, then this distinction is irrelevant for your usecase.
Offline
Do you think combining a „classic“ swap partition and a zsram block device is a good idea?
Offline
Pages: 1