kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* zswap compressors
@ 2013-11-26 15:35 Thomas Krichel
  0 siblings, 0 replies; only message in thread
From: Thomas Krichel @ 2013-11-26 15:35 UTC (permalink / raw)
  To: kernelnewbies


  Hi,

  I have two issues with zswap.

  I am running 3.11.0-13-generic #20~precise2-Ubuntu. The zswap doc
  says that I can run a custom compessor and suggests, as an example
  in the doc to use, for example, zswap.compressor=deflate as a kernel
  option. But when I do that dmesg says "zswap: deflate compressor not
  available" and send me back to the default lzo compressor. Trying
  lz4 gets the same note. Is this a bug or a feature, and where should
  this be reported to?

  I wonder why the default compressor is lzo. I understand that,
  roughly, lz4 would achieve roughly the same compression and takes
  roughly the same effort to compress, but decompresses much
  faster. If my understanding is correct, a compressed page is likely
  to be decompressed several times while it stays in the pool.  I
  therefore suspect that lz4 it would be a better compressor for zswap
  than lzo. Am I way off base here?

-- 

  Cheers,

  Thomas Krichel                  http://openlib.org/home/krichel
                                              skype:thomaskrichel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-11-26 15:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-26 15:35 zswap compressors Thomas Krichel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).