John Kreno on 15 May 2016 14:51:19 -0700

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Using ZRAM for swap

zram sounds like ramdisk, I'm not sure that would work on a ram starved system. It'll likely just make your problem worse.

On Sun, May 15, 2016 at 5:46 PM, Rich Freeman <> wrote:
On Sun, May 15, 2016 at 1:40 PM, Keith C. Perry
<> wrote:
> 2) Has anyone use zram for swap?  If so, how is the experience compared to
> using dedicated swap partitions or swap files.

I have not used it for swap but was using it for a good year or so as
a tmpfs for volatile storage.  I was running recent stable kernels
over that period of time and did not notice any kind of instability
attributable to zram.  I imagine it would be fine for swap - that is
really its main use case.  I'd think that the obvious trade-off is
disk vs CPU, which is a pretty good trade-off for most systems.

Philadelphia Linux Users Group         --
Announcements -
General Discussion  --

John Kreno

"Rightful liberty is unobstructed action according to our will within limits drawn around us by the equal rights of others. I do not add 'within the limits of the law' because law is often but the tyrant's will, and always so when it violates the rights of the individual."

 Thomas Jefferson
Philadelphia Linux Users Group         --
Announcements -
General Discussion  --