Announcement

Collapse
No announcement yet.

Zswap Merged Into The Linux 3.11 Kernel

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

  • Zswap Merged Into The Linux 3.11 Kernel

    Phoronix: Zswap Merged Into The Linux 3.11 Kernel

    Zswap is a feature for the Linux kernel that provides compressed swap caching. It's been in development for a long time and was finally merged into the mainline Linux kernel for the 3.11 release...

    http://www.phoronix.com/vr.php?view=MTQwODI

  • #2
    Would be a really desirable feature... if it was like a decade ago :P

    Comment


    • #3
      and users with SSDs as swap devices can extend their devices life by shortening writes
      Or not. It's not like a TLC-based SSD can't handle several hundreds of TiBs written.

      Comment


      • #4
        I can't find any single time in the last few years where my swap have been written a kilobyte. RAM is so cheap nowadays! You could easily load your full linux system into a ramdisk while booting your computer and still have plenty left.

        Comment


        • #5
          Originally posted by doom_Oo7 View Post
          I can't find any single time in the last few years where my swap have been written a kilobyte. RAM is so cheap nowadays! You could easily load your full linux system into a ramdisk while booting your computer and still have plenty left.
          And this would be relevant if every Linux system in the world was a recently built desktop. Meanwhile, back in the real world, some of us have different usage scenarios. I, for example, run Arch on an old netbook with an old SSD (I swapped out the HDD because it was clicking and it annoyed me). Minimising swap writes would be good for me on this machine. Whereas I couldn't care less about this on my install on my gaming desktop with 4gb of RAM.

          Different strokes for different folks.

          Comment


          • #6
            Would be a really desirable feature



            Last edited by deonddr; 07-11-2013, 04:40 AM.

            Comment


            • #7
              I can't find any single time in the last few years where my swap have been written a kilobyte. RAM is so cheap nowadays! You could easily load your full linux system into a ramdisk while booting your computer and still have plenty left.
              True, but you can't extend the phone's memory. Imagine you have FirefoxOS, an Android Phone or things like this. You would really want to benefit if you have your caching "disk" a slow memory card module.

              Comment


              • #8
                Originally posted by doom_Oo7 View Post
                I can't find any single time in the last few years where my swap have been written a kilobyte. RAM is so cheap nowadays! You could easily load your full linux system into a ramdisk while booting your computer and still have plenty left.
                You would spend money buying RAM for a laptop that isn't yours? (corporate)

                I was running linux on a VM, and zram made a big difference.

                Comment


                • #9
                  Originally posted by boast View Post
                  You would spend money buying RAM for a laptop that isn't yours? (corporate)

                  I was running linux on a VM, and zram made a big difference.
                  it says Mobile all over it

                  Comment


                  • #10
                    not just for mobile..

                    Zswap has some uses in the server world as well.

                    For example, if an unruly VM is thrashing to disk it can affect it neighbors.

                    Some more info:

                    http://lwn.net/Articles/537422/

                    Https://www.ibm.com/developerworks/c...ality7?lang=en

                    Comment


                    • #11
                      Originally posted by doom_Oo7 View Post
                      I can't find any single time in the last few years where my swap have been written a kilobyte. RAM is so cheap nowadays! You could easily load your full linux system into a ramdisk while booting your computer and still have plenty left.
                      In the real world I swap with 16gb of ram others swap even with 32gb ram or more.

                      Comment

                      Working...
                      X