The graph is on a logarithmic scale btw

Configuration Before series (ms) With series (ms)
1 vCPU 22.3 (21.6-22.6) 0.97 (0.72-1.4)
8 vCPUs 314 (97-2542) 7.0 (5.0-98)
  • Victor@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    16 days ago

    Ah, okay. I get it, I think. You’re still using the same amount of RAM but you’re spending some CPU cycles compressing its contents to make more room.

    Can you combine zswap with regular swap, like a swap device or swap file?

    • Die4Ever@retrolemmy.comOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      16 days ago

      Zswap always(?) uses a swap file or disk partition. It does a smart job using both compressed memory and disk space as swap

      zRam does not use disk. Do not attempt combining zRam with any kind of swap on disk, it’s a horrible combination