Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Zswap Merged Into The Linux 3.11 Kernel

  1. #1
    Join Date
    Jan 2007
    Posts
    15,193

    Default 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. #2
    Join Date
    Aug 2011
    Location
    Australia
    Posts
    48

    Default

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

  3. #3
    Join Date
    Nov 2012
    Location
    France
    Posts
    595

    Default

    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.

  4. #4
    Join Date
    Jul 2013
    Location
    Bordeaux, France
    Posts
    308

    Default

    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.

  5. #5
    Join Date
    Jan 2013
    Posts
    236

    Default

    Quote 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.

  6. #6
    Join Date
    Jul 2013
    Posts
    3

    Default

    Would be a really desirable feature



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

  7. #7
    Join Date
    Nov 2009
    Location
    Madrid, Spain
    Posts
    398

    Default

    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.

  8. #8
    Join Date
    Mar 2012
    Posts
    127

    Default

    Quote 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.

  9. #9
    Join Date
    Jul 2013
    Location
    USA
    Posts
    715

    Default

    Quote 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

  10. #10
    Join Date
    Jul 2013
    Posts
    1

    Default 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •