public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Florian Philipp <lists@binarywings.net>
To: Gentoo User List <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] zcache + frontswap + cleancache: Am I missing something?
Date: Sun, 18 Nov 2012 19:42:05 +0100	[thread overview]
Message-ID: <50A92BFD.5020605@binarywings.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 1821 bytes --]

Hi list!

I'm wondering about the usage of frontswap and cleancache. Now that all
pieces are in place in kernel-3.5, is it actually used?

I've found references to cleancache and frontswap in several source
files of the kernel (ext4, swapfile, page_io, ...).
/sys/kernel/mm/zcache is also present but seems to indicate no usage at
all. Content attached below.

So, what is the state of all this? Should it work? Does it work? Am I
missing a kernel parameter or something?

Content of /sys/kernel/mm/zcache:
compress_poor: 0
curr_obj_count: 0
curr_obj_count_max: 0
curr_objnode_count: 0
curr_objnode_count_max: 0
evicted_buddied_pages: 0
evicted_raw_pages: 0
evicted_unbuddied_pages: 0
failed_alloc: 0
failed_eph_puts: 0
failed_get_free_pages: 0
failed_pers_puts: 0
flobj_found: 0
flobj_total: 0
flush_found: 0
flush_total: 0
mean_compress_poor: 0
put_to_flush: 0
zbpg_unused_list_count: 0
zbud_buddied_count: 0
zbud_cumul_chunk_counts: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 <=21:0 <=32:0 <=42:0, mean:0
zbud_cumul_zbytes: 0
zbud_cumul_zpages: 0
zbud_curr_raw_pages: 0
zbud_curr_zbytes: 0
zbud_curr_zpages: 0
zbud_unbuddied_list_counts: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 zv_cumul_dist_counts: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 mean:0
zv_curr_dist_counts: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
mean:0
zv_max_mean_zsize: 2560
zv_max_zsize: 3584
zv_page_count_policy_percent: 75

Thanks in advance,
Florian Philipp


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

             reply	other threads:[~2012-11-18 18:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-18 18:42 Florian Philipp [this message]
2012-11-19 17:51 ` [gentoo-user] zcache + frontswap + cleancache: Am I missing something? Kerin Millar
2012-11-19 19:26   ` Florian Philipp
2012-11-19 20:06     ` Kerin Millar
2012-11-22 21:22       ` Florian Philipp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50A92BFD.5020605@binarywings.net \
    --to=lists@binarywings.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox