Results 1 to 6 of 6

Thread: How do I know if zRAM is useful on my system?

  1. #1
    Join Date
    Dec 2007
    Location
    Bombay
    Beans
    6,326
    Distro
    Lubuntu 14.04 Trusty Tahr

    How do I know if zRAM is useful on my system?

    Code:
    [10:43 AM] ~ $ dmesg | grep zram
    [   23.623097] zram: module is from the staging directory, the quality is unknown, you have been warned.
    [   23.633196] zram: Created 2 device(s) ...
    [   23.663521] Adding 1002652k swap on /dev/zram0.  Priority:5 extents:1 across:1002652k SSFS
    [   23.677369] Adding 1002652k swap on /dev/zram1.  Priority:5 extents:1 across:1002652k SSFS
    [11:29 AM] ~ $
    I have a Dell 1545 laptop with Core2Duo and 4 GB RAM running xubuntu-desktop and Openbox on Lubuntu 13.10. Under what conditions will zRAM be useful to me? I don't do any sort of "intensive" CPU- or RAM-hogging stuff.

    If I don't need zRAM, is there any merit in turning it off or uninstalling it (if that is possible)? If it's worth doing, how do I turn it off or remove it?

    (I have looked at Using zRAM On Ubuntu 13.04 Linux)
    de gustibus et coloribus non est disputandum -- Wiktionary

  2. #2
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: How do I know if zRAM is useful on my system?

    I think you need it if swapping is making your system slow. If you almost never notice it, you will probably not need it.

    On the other hand, if zRAM is completely stable and causes no problems, you might as well use it.

  3. #3
    Join Date
    Dec 2007
    Location
    Bombay
    Beans
    6,326
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: How do I know if zRAM is useful on my system?

    Quote Originally Posted by sudodus View Post
    I think you need it if swapping is making your system slow. If you almost never notice it, you will probably not need it.

    On the other hand, if zRAM is completely stable and causes no problems, you might as well use it.
    Well, I'm not aware that it has caused any problem whatever on my system but I'll run sudo mv /etc/init/zram-config.conf /etc/init/zram-config.conf.disabled and see if there's any loss of function.
    de gustibus et coloribus non est disputandum -- Wiktionary

  4. #4
    Join Date
    Jan 2009
    Location
    Belgium (Ghent)
    Beans
    481
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: How do I know if zRAM is useful on my system?

    zRam is good when you not have much memory like 1GB or less.
    In Lubuntu 14.04 there will use it as default. (What I read about it).
    With 4GB you have more than enough memory.

    When you use zRam and you type in a terminal:
    Code:
    top
    You will see size of zRam and what he used.
    Dutch speaking; understand English, writing is a bit difficult. Member of: http://forum.ubuntu-nl.org
    be Open be Free be Ubuntu Reg. User #485479
    Ubuntu 13.10 Saucy Salamander - Ubuntu 14.04 Trusty Tahr

  5. #5
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,175
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How do I know if zRAM is useful on my system?

    Isn't zram just a virtual swap? I couldn't decipher it in the output of "top" command. On the other hand, "cat /proc/swaps" gives me a total usage detail which is easy to understand for me.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags
    Am I not replying you? Perhaps this is why.

  6. #6
    Join Date
    Jan 2009
    Location
    Belgium (Ghent)
    Beans
    481
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: How do I know if zRAM is useful on my system?

    zram put compressed data in the RAM.
    http://en.wikipedia.org/wiki/Zram
    Dutch speaking; understand English, writing is a bit difficult. Member of: http://forum.ubuntu-nl.org
    be Open be Free be Ubuntu Reg. User #485479
    Ubuntu 13.10 Saucy Salamander - Ubuntu 14.04 Trusty Tahr

Bookmarks

Posting Permissions

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