• 0 Posts
  • 2 Comments
Joined 2 years ago
cake
Cake day: June 9th, 2023

help-circle
  • I’m surprised how many people turn their computers off. My desktop uptime is 4 day, but, I do put it to sleep at night (which I think counts towards its uptime).

    I will look into hibernating. The reason I don’t shut down is because I usually end up with carefully placed windows and lots of ongoing projects all over. Restarting would mean I’d have to start all that up again - assuming I remember what I was doing.


  • For whatever it’s worth - I have a laptop with 4GB of RAM and a 4GB ZRAM device, and it can’t use all the ZRAM before everything grinds to a halt. I think the way ZRAM works best is if it can “swap out” (compress) anonymous pages that aren’t actually needed again right away, freeing up the fast memory for disk caching and other memory needs.

    In my case, I think I can reach a point where the amount of memory Linux needs simultaneously active goes beyond the 4GB of RAM, so it’s just compressing/uncompressing forever and getting nowhere.

    So, I think I’d argue that maybe you can’t go too big? I think only anonymous pages can get compressed, and there’s probably only so many gigabytes of those in memory at any given time.