1 |
Hi list! |
2 |
|
3 |
I'm wondering about the usage of frontswap and cleancache. Now that all |
4 |
pieces are in place in kernel-3.5, is it actually used? |
5 |
|
6 |
I've found references to cleancache and frontswap in several source |
7 |
files of the kernel (ext4, swapfile, page_io, ...). |
8 |
/sys/kernel/mm/zcache is also present but seems to indicate no usage at |
9 |
all. Content attached below. |
10 |
|
11 |
So, what is the state of all this? Should it work? Does it work? Am I |
12 |
missing a kernel parameter or something? |
13 |
|
14 |
Content of /sys/kernel/mm/zcache: |
15 |
compress_poor: 0 |
16 |
curr_obj_count: 0 |
17 |
curr_obj_count_max: 0 |
18 |
curr_objnode_count: 0 |
19 |
curr_objnode_count_max: 0 |
20 |
evicted_buddied_pages: 0 |
21 |
evicted_raw_pages: 0 |
22 |
evicted_unbuddied_pages: 0 |
23 |
failed_alloc: 0 |
24 |
failed_eph_puts: 0 |
25 |
failed_get_free_pages: 0 |
26 |
failed_pers_puts: 0 |
27 |
flobj_found: 0 |
28 |
flobj_total: 0 |
29 |
flush_found: 0 |
30 |
flush_total: 0 |
31 |
mean_compress_poor: 0 |
32 |
put_to_flush: 0 |
33 |
zbpg_unused_list_count: 0 |
34 |
zbud_buddied_count: 0 |
35 |
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 |
36 |
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 |
37 |
0 0 <=21:0 <=32:0 <=42:0, mean:0 |
38 |
zbud_cumul_zbytes: 0 |
39 |
zbud_cumul_zpages: 0 |
40 |
zbud_curr_raw_pages: 0 |
41 |
zbud_curr_zbytes: 0 |
42 |
zbud_curr_zpages: 0 |
43 |
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 |
44 |
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 |
45 |
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 |
46 |
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 |
47 |
0 0 0 0 0 mean:0 |
48 |
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 |
49 |
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 |
50 |
mean:0 |
51 |
zv_max_mean_zsize: 2560 |
52 |
zv_max_zsize: 3584 |
53 |
zv_page_count_policy_percent: 75 |
54 |
|
55 |
Thanks in advance, |
56 |
Florian Philipp |