Announcement

Collapse
No announcement yet.

Google Continues Working On Suspend-Only Swap Spaces For Linux

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • pal666
    replied
    Originally posted by piorunz View Post
    Give me one point from this article which applies to 64GB on desktop
    you forbid multitab browsers on desktop? and additionally all your filesystem fits in cache?

    Leave a comment:


  • pal666
    replied
    Originally posted by piorunz View Post
    with low memory systems, swap can, and maybe should be enabled at all times, no innovation required there.
    Only innovation we talk about here is Google's effort to have swap for hibernation only.
    disabling of swap is not an innovation, it's a pessimisation. google patch lists security and cheaper hibernation storage as motivations, rather than your crazy ideas

    Leave a comment:


  • pal666
    replied
    Originally posted by piorunz View Post
    RAM is cheap.
    swap is cheaper
    Originally posted by piorunz View Post
    I bought 64GB of it with my recent Ryzen upgrade. No need for swap.
    probably no need for 64gb of memory either. but swap could make your system faster by increasing amount of ram available for caches

    Leave a comment:


  • pal666
    replied
    Originally posted by ssokolow View Post
    zram for normal swap.
    zram is waste of ram

    Leave a comment:


  • binarybanana
    replied
    Originally posted by Mathias View Post
    Does Swap ever get used on your systems?
    All the time. I've got 16GB+16GB, with a 25% zswap pool and filling half the swap is nothing unusual when I've got my gaming VM running with a heavy compile job running in the background. I do use cgroups to soft-limit how much RAM the portage-spawned processes can use (1GB), which forces them to swap out frequently when RAM is already full. I also have /var/tmp/portage mounted on zram with zstd compression to limit writes to the SSD if possible. That also can lead to a lot of swap use.

    In practice I rarely notice anything is going on at all unless both RAM and swap get both close to filled up. At worst task switching is slightly delayed, but not annoyingly so. As long as I stick to a single program it's basically invisible. Only when RAM+swap are full I start to wonder what's going on and see that my system is heavily overcommitted.

    This is with swap on nvme btw. Swap on HDD is very different.

    Leave a comment:


  • perpetually high
    replied
    Originally posted by M@GOid View Post

    What are you talking about son? Scripts are great. When the winchester on my micro start making noise I know my scripts are working just fine.
    I have no idea what he's on about. But I just posted my Ubuntu kernel build script in the other thread for those interested. Posting it here because I don't think many will go back to the old comment thread

    Leave a comment:


  • M@GOid
    replied
    Originally posted by intelfx View Post

    80's sysadmins coming out of woodworks with their "scripts"... Scripts are unmanageable, non-reusable, eventually unmaintainable. Few lines here, few lines there and suddenly you have an abomination on your hands.

    Modern systems are designed to be declarative as much as possible, on all levels. The only place left for scripts is maybe end-user customization.
    What are you talking about son? Scripts are great. When the winchester on my micro start making noise I know my scripts are working just fine.

    Leave a comment:


  • mdedetrich
    replied
    Originally posted by piorunz View Post

    Don't buy laptops with soldered RAM then. It's your fault.
    Most out of touch comment ever, sometimes you don't have a choice and in any case the whole point of Linux is to run in a variety of systems (within reason), and 8gb of RAM is definitely within reason.

    it's this kind of attitude that hinders the progress of Linux desktop

    Leave a comment:


  • perpetually high
    replied
    Originally posted by piorunz View Post

    Battle? With who? What we are fighting for again? I don't even know what you are replying to exactly as you didn't quoted anything.
    Um, you. You're the one battling. You commented on this thread with something silly. People corrected you, now you're going after each one instead of just admitting that you were flat out wrong.

    Ok bud, you do you.

    Leave a comment:


  • piorunz
    replied
    I've read that. Give me one point from this article which applies to 64GB on desktop, as in original quote which you skipped just to include "No need for swap".

    Leave a comment:

Working...
X