Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You mean zram, right? I've been using that for months on Gentoo, it gave me about 10% speedup. Maybe you already have it available too, try:

     $ sudo modprobe zram


No, I don't mean zram. See ava1ar's answer to this stackoverflow question: http://stackoverflow.com/questions/18437205/difference-betwe...

The big differences are (a) zswap is in mainline, zram is not, (b) zswap can swap pages out to disk when it's full, zram cannot.

Also, I wouldn't really characterize the difference that zswap makes as a constant, workload-independent percentage performance boost. Rather, it increases the amount of RAM you can use before the system moves from the "acceptable performance" regime (minimal swapping) to the "dismal performance" regime (lots of swapping). For things like running Rails apps on a relatively small VPS, or getting the most out of a limited-RAM machine like an Eee PC or Raspberry Pi, this is very important.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: