Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: Zswap: Compressed Swap Caching For Linux

  1. #11
    Join Date
    Feb 2008
    Location
    Linuxland
    Posts
    4,725

    Default

    What is the advantage of zswap over using zram for swap? They sound very similar.

  2. #12

    Default

    marco, FourDMusic thanks for the info.

    So is there some module that should deprecate others? I suppose at least zcache2 vs. zcache? What about others, zram should just be moved out of staging in 3.8. Or every one has its purpose?

  3. #13
    Join Date
    Oct 2009
    Posts
    845

    Default

    Yes thanks for the rundown on these different schemes guys. So, as someone who hasn't used swap at all since all my machines had atleast 4gb ram I'm mostly interested zcache from what I'm reading here. Is it anywhere near getting into mainline?

  4. #14
    Join Date
    Jun 2008
    Location
    Perth, Scotland
    Posts
    433

    Default

    Quote Originally Posted by XorEaxEax View Post
    Yes thanks for the rundown on these different schemes guys. So, as someone who hasn't used swap at all since all my machines had atleast 4gb ram I'm mostly interested zcache from what I'm reading here. Is it anywhere near getting into mainline?
    zcache has been in mainline for ages.

  5. #15

  6. #16
    Join Date
    Mar 2009
    Posts
    130

    Default

    Quote Originally Posted by YAFU View Post
    Oh! I hope Zswap will improve swap and system performance.
    Everyone knows that especially in Linux, when the swap is used the system performance is disastrous. I know this should be normal because the speed of the hard disk, but Linux swap have worse performance compared to other systems who do heavy usage of the paging file. I think this problem is well known in Linux because there is much written on the internet to avoid the swap usage changing the swappiness.
    In my experience Linux is much better with harddisk access than Windows. Windows constantly wants to access your harddisk. Linux tries to avoid swap as much as possible.

  7. #17
    Join Date
    Apr 2009
    Posts
    108

    Default

    Quote Originally Posted by Ferdinand View Post
    In my experience Linux is much better with harddisk access than Windows. Windows constantly wants to access your harddisk. Linux tries to avoid swap as much as possible.
    Yes, you are right. You search about the "swappiness" that I had mentioned before and you will understand it better. Windows uses virtual memory from the start. But when Linux uses the swap it has a very poor performance in comparison. Mainly when data are moving. Can be created bottlenecks and the system can even hung completely. It's something in my approx 12 years as a Linux user I have not seen great improvements.
    Last edited by YAFU; 12-21-2012 at 11:23 PM.

Posting Permissions

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