Hi, I've enabled zcache and got these messages.
% uname -r
3.1.0-rc8.ledtest-00743-gf72a209-dirty
% cat /proc/cpuinfo
processor : 0
cpu : 7455, altivec supported
clock : 606.000000MHz
revision : 3.3 (pvr 8001 0303)
bogomips : 36.86
timebase : 18432000
platform : PowerMac
model : PowerBook6,3
machine : PowerBook6,3
motherboard : PowerBook6,3 MacRISC3 Power Macintosh
detected as : 287 (iBook G4)
pmac flags : 0000001b
L2 cache : 256K unified
pmac-generation : NewWorld
Memory : 640 MB
Oct 2 01:22:02 iBook kernel: [ 969.423674] ------------[ cut here
]------------
Oct 2 01:22:02 iBook kernel: [ 969.423705] WARNING: at
drivers/staging/zcache/zcache-main.c:203
Oct 2 01:22:02 iBook kernel: [ 969.423715] Modules linked in: ppp_async
crc_ccitt ppp_generic slhc ipv6 fuse option usb_wwan usbserial snd_powermac b43
mac80211 snd_aoa_i2sbus snd_pcm_oss snd_mixer_oss snd_pcm cfg80211
snd_page_alloc usb_storage snd_seq firewire_ohci rng_core sg firewire_core
snd_timer snd_seq_device evdev sr_mod pmac_zilog cdrom crc_itu_t snd
serial_core soundcore snd_aoa_soundbus ssb
Oct 2 01:22:02 iBook kernel: [ 969.423838] NIP: c03da3e4 LR: c03da36c CTR:
00000000
Oct 2 01:22:02 iBook kernel: [ 969.423854] REGS: e6169b10 TRAP: 0700 Not
tainted (3.1.0-rc8.ledtest-00743-gf72a209-dirty)
Oct 2 01:22:02 iBook kernel: [ 969.423867] MSR: 00021032 <ME,CE,IR,DR> CR:
22444024 XER: 20000000
Oct 2 01:22:02 iBook kernel: [ 969.423894] TASK = e6164000[22] 'kswapd0'
THREAD: e6168000
Oct 2 01:22:02 iBook kernel: [ 969.423904] GPR00: fffffff8 e6169bc0 e6164000
d5614000 0000071a c06c3880 fffffe74 c06c3850
Oct 2 01:22:02 iBook kernel: [ 969.423930] GPR08: 00000001 00000000 00360a85
e6169bd0 ce1c8ff9 00000000 00000001 c05703b1
Oct 2 01:22:02 iBook kernel: [ 969.423955] GPR16: c065e808 c056a0d3 c0570512
c04a1468 c06b6590 00000001 00000000 c06c2efc
Oct 2 01:22:02 iBook kernel: [ 969.423981] GPR24: d5614008 e639c000 0000ffff
0000003c 0000001d 0000071a e6168000 e6169bc0
Oct 2 01:22:02 iBook kernel: [ 969.424028] NIP [c03da3e4] zbud_data+0x98/0xcc
Oct 2 01:22:02 iBook kernel: [ 969.424042] LR [c03da36c] zbud_data+0x20/0xcc
Oct 2 01:22:02 iBook kernel: [ 969.424050] Call Trace:
Oct 2 01:22:02 iBook kernel: [ 969.424073] [e6169bc0] [00000001] 0x1
(unreliable)
Oct 2 01:22:02 iBook kernel: [ 969.424092] [e6169bd0] [c03db5f4]
zcache_pampd_create+0x4a4/0x7cc
Oct 2 01:22:02 iBook kernel: [ 969.424111] [e6169c20] [c03dcc14]
tmem_put+0x2b8/0x4c8
Oct 2 01:22:02 iBook kernel: [ 969.424127] [e6169c60] [c03dbe14]
zcache_cleancache_put_page+0x234/0x2c8
Oct 2 01:22:02 iBook kernel: [ 969.424155] [e6169cb0] [c0103c10]
__cleancache_put_page+0xb4/0xc8
Oct 2 01:22:02 iBook kernel: [ 969.424180] [e6169d10] [c00c2f3c]
__delete_from_page_cache+0x6c/0x204
Oct 2 01:22:02 iBook kernel: [ 969.424207] [e6169d30] [c00d14a0]
__remove_mapping+0x140/0x1a8
Oct 2 01:22:02 iBook kernel: [ 969.424226] [e6169d50] [c00d3e34]
shrink_page_list+0x7d0/0x998
Oct 2 01:22:02 iBook kernel: [ 969.424243] [e6169df0] [c00d4540]
shrink_inactive_list+0x27c/0x464
Oct 2 01:22:02 iBook kernel: [ 969.424261] [e6169e50] [c00d4ccc]
shrink_zone+0x5a4/0x5c4
Oct 2 01:22:02 iBook kernel: [ 969.424277] [e6169ef0] [c00d523c]
kswapd+0x550/0x8c8
Oct 2 01:22:02 iBook kernel: [ 969.424300] [e6169fb0] [c005fc10]
kthread+0x88/0x8c
Oct 2 01:22:02 iBook kernel: [ 969.424326] [e6169ff0] [c0011b34]
kernel_thread+0x4c/0x68
Oct 2 01:22:02 iBook kernel: [ 969.424336] Instruction dump:
Oct 2 01:22:02 iBook kernel: [ 969.424346] 5400d97e 0f000000 2f840000
38000001 419e0010 20040f40 7c000110 7c0000d0
Oct 2 01:22:02 iBook kernel: [ 969.424371] 0f000000 1c090030 2000fff8
7c630214 <0fe00000> 2f890000 40be000c 38630080
Oct 2 01:22:02 iBook kernel: [ 969.424400] ---[ end trace 4d60a41c82416639
]---
Oct 2 01:22:02 iBook kernel: [ 969.429683] ------------[ cut here
]------------
Oct 2 01:22:02 iBook kernel: [ 969.429707] WARNING: at
drivers/staging/zcache/zcache-main.c:462
Oct 2 01:22:02 iBook kernel: [ 969.429715] Modules linked in: ppp_async
crc_ccitt ppp_generic slhc ipv6 fuse option usb_wwan usbserial snd_powermac b43
mac80211 snd_aoa_i2sbus snd_pcm_oss snd_mixer_oss snd_pcm cfg80211
snd_page_alloc usb_storage snd_seq firewire_ohci rng_core sg firewire_core
snd_timer snd_seq_device evdev sr_mod pmac_zilog cdrom crc_itu_t snd
serial_core soundcore snd_aoa_soundbus ssb
Oct 2 01:22:02 iBook kernel: [ 969.429820] NIP: c03da628 LR: c03da908 CTR:
c03da77c
Oct 2 01:22:02 iBook kernel: [ 969.429835] REGS: e6169d20 TRAP: 0700
Tainted: G W (3.1.0-rc8.ledtest-00743-gf72a209-dirty)
Oct 2 01:22:02 iBook kernel: [ 969.429847] MSR: 00029032 <EE,ME,CE,IR,DR>
CR: 22022024 XER: 20000000
Oct 2 01:22:02 iBook kernel: [ 969.429873] TASK = e6164000[22] 'kswapd0'
THREAD: e6168000
Oct 2 01:22:02 iBook kernel: [ 969.429881] GPR00: c03da908 e6169dd0 e6164000
d5614000 e6169f00 00024db3 e6169d38 00000000
Oct 2 01:22:02 iBook kernel: [ 969.429903] GPR08: 00000001 00000000 00000000
c06c3850 22022088 00000000 00024db4 00024db3
Oct 2 01:22:02 iBook kernel: [ 969.429924] GPR16: 00000000 00000000 00000000
00000011 00000001 00000000 00000000 00000000
Oct 2 01:22:02 iBook kernel: [ 969.429945] GPR24: c0659810 c06c2efc c06c36f4
0000001d c06c3850 e6168000 d5614000 e6169dd0
Oct 2 01:22:02 iBook kernel: [ 969.429988] NIP [c03da628]
zbud_evict_zbpg+0x24/0x178
Oct 2 01:22:02 iBook kernel: [ 969.430002] LR [c03da908]
shrink_zcache_memory+0x18c/0x27c
Oct 2 01:22:02 iBook kernel: [ 969.430011] Call Trace:
Oct 2 01:22:02 iBook kernel: [ 969.430036] [e6169dd0] [c00d3624]
shrink_active_list.isra.50+0x388/0x3c8 (unreliable)
Oct 2 01:22:02 iBook kernel: [ 969.430053] [e6169e40] [c03da908]
shrink_zcache_memory+0x18c/0x27c
Oct 2 01:22:02 iBook kernel: [ 969.430069] [e6169e70] [c00d226c]
shrink_slab+0xc4/0x38c
Oct 2 01:22:02 iBook kernel: [ 969.430084] [e6169ef0] [c00d5254]
kswapd+0x568/0x8c8
Oct 2 01:22:02 iBook kernel: [ 969.430105] [e6169fb0] [c005fc10]
kthread+0x88/0x8c
Oct 2 01:22:02 iBook kernel: [ 969.430129] [e6169ff0] [c0011b34]
kernel_thread+0x4c/0x68
Oct 2 01:22:02 iBook kernel: [ 969.430137] Instruction dump:
Oct 2 01:22:02 iBook kernel: [ 969.430146] 40a2fff4 397f0010 4bc41d70
7c0802a6 90010004 60000000 9421ff90 7c0802a6
Oct 2 01:22:02 iBook kernel: [ 969.430168] 90010074 bf410058 7c3f0b78
7c7e1b78 <0fe00000> 80030000 7c600278 7c000034
Oct 2 01:22:02 iBook kernel: [ 969.430192] ---[ end trace 4d60a41c8241663a
]---
Oct 2 01:22:02 iBook kernel: [ 969.430319] ------------[ cut here
]------------
Oct 2 01:22:02 iBook kernel: [ 969.430330] WARNING: at
drivers/staging/zcache/zcache-main.c:263
Oct 2 01:22:02 iBook kernel: [ 969.430338] Modules linked in: ppp_async
crc_ccitt ppp_generic slhc ipv6 fuse option usb_wwan usbserial snd_powermac b43
mac80211 snd_aoa_i2sbus snd_pcm_oss snd_mixer_oss snd_pcm cfg80211
snd_page_alloc usb_storage snd_seq firewire_ohci rng_core sg firewire_core
snd_timer snd_seq_device evdev sr_mod pmac_zilog cdrom crc_itu_t snd
serial_core soundcore snd_aoa_soundbus ssb
Oct 2 01:22:02 iBook kernel: [ 969.430426] NIP: c03da014 LR: c03d9fd8 CTR:
c03da53c
Oct 2 01:22:02 iBook kernel: [ 969.430438] REGS: e6169d10 TRAP: 0700
Tainted: G W (3.1.0-rc8.ledtest-00743-gf72a209-dirty)
Oct 2 01:22:02 iBook kernel: [ 969.430449] MSR: 00029032 <EE,ME,CE,IR,DR>
CR: 22022022 XER: 20000000
Oct 2 01:22:02 iBook kernel: [ 969.430472] TASK = e6164000[22] 'kswapd0'
THREAD: e6168000
Oct 2 01:22:02 iBook kernel: [ 969.430480] GPR00: 00000000 e6169dc0 e6164000
d5614000 c0b99240 e6169df0 0000003c e63922c0
Oct 2 01:22:02 iBook kernel: [ 969.430501] GPR08: 00026f72 deadbeef 00026f73
e6169dd0 22022088 00000000 00024db4 00024db3
Oct 2 01:22:02 iBook kernel: [ 969.430523] GPR16: 00000000 00000000 00000000
00000011 00000001 00000000 00000000 00000000
Oct 2 01:22:02 iBook kernel: [ 969.430544] GPR24: c0659810 c06c2efc e30ae800
00000001 00000001 00000004 d5614000 e6169dc0
Oct 2 01:22:02 iBook kernel: [ 969.430575] NIP [c03da014]
zbud_free_raw_page+0x5c/0x198
Oct 2 01:22:02 iBook kernel: [ 969.430588] LR [c03d9fd8]
zbud_free_raw_page+0x20/0x198
Oct 2 01:22:02 iBook kernel: [ 969.430596] Call Trace:
Oct 2 01:22:02 iBook kernel: [ 969.430608] [e6169dd0] [c03da774]
zbud_evict_zbpg+0x170/0x178
Oct 2 01:22:02 iBook kernel: [ 969.430624] [e6169e40] [c03da908]
shrink_zcache_memory+0x18c/0x27c
Oct 2 01:22:02 iBook kernel: [ 969.430641] [e6169e70] [c00d226c]
shrink_slab+0xc4/0x38c
Oct 2 01:22:02 iBook kernel: [ 969.430656] [e6169ef0] [c00d5254]
kswapd+0x568/0x8c8
Oct 2 01:22:02 iBook kernel: [ 969.430672] [e6169fb0] [c005fc10]
kthread+0x88/0x8c
Oct 2 01:22:02 iBook kernel: [ 969.430689] [e6169ff0] [c0011b34]
kernel_thread+0x4c/0x68
Oct 2 01:22:02 iBook kernel: [ 969.430697] Instruction dump:
Oct 2 01:22:02 iBook kernel: [ 969.430705] 6000beef 7d200278 7c000034
5400d97e 68000001 0f000000 80030000 7c600278
Oct 2 01:22:02 iBook kernel: [ 969.430726] 7c000034 5400d97e 68000001
0f000000 <0fe00000> a123002c 38000001 2f890000
Oct 2 01:22:02 iBook kernel: [ 969.430749] ---[ end trace 4d60a41c8241663b
]---
Beware, the following numbers are take 12 hours later.
# gcat /sys/kernel/mm/zcache/*
/sys/kernel/mm/zcache/aborted_preload:0
/sys/kernel/mm/zcache/aborted_shrink:0
/sys/kernel/mm/zcache/compress_poor:58944
/sys/kernel/mm/zcache/curr_obj_count:23
/sys/kernel/mm/zcache/curr_obj_count_max:1099
/sys/kernel/mm/zcache/curr_objnode_count:201
/sys/kernel/mm/zcache/curr_objnode_count_max:882
/sys/kernel/mm/zcache/evicted_buddied_pages:67852
/sys/kernel/mm/zcache/evicted_raw_pages:292420
/sys/kernel/mm/zcache/evicted_unbuddied_pages:362898
/sys/kernel/mm/zcache/failed_alloc:183
/sys/kernel/mm/zcache/failed_eph_puts:58944
/sys/kernel/mm/zcache/failed_get_free_pages:335874
/sys/kernel/mm/zcache/failed_pers_puts:0
/sys/kernel/mm/zcache/flobj_found:29
/sys/kernel/mm/zcache/flobj_total:614831
/sys/kernel/mm/zcache/flush_found:0
/sys/kernel/mm/zcache/flush_total:822213
/sys/kernel/mm/zcache/mean_compress_poor:0
/sys/kernel/mm/zcache/put_to_flush:336057
/sys/kernel/mm/zcache/zbpg_unused_list_count:1
/sys/kernel/mm/zcache/zbud_buddied_count:666
/sys/kernel/mm/zcache/zbud_cumul_chunk_counts:0 13997 1956 1992 1368 976 778
856 1098 1207 1103 1247 1276 1308 1539 1937 1643 1455 1895 3084 4692 3869 2493
2500 2909 3210 5808 6138 7297 9141 8529 10446 13231 9491 7929 8206 8839 9828
12886 21073 28561 25440 25197 20334 18315 19143 16811 18896 22621 25305 25982
27424 15300 9965 4130 1734 680 652 674 779 908 1011 <=21:49276 <=32:120978
<=42:278428, mean:38
/sys/kernel/mm/zcache/zbud_cumul_zbytes:1250766267
/sys/kernel/mm/zcache/zbud_cumul_zpages:509092
/sys/kernel/mm/zcache/zbud_curr_raw_pages:1247
/sys/kernel/mm/zcache/zbud_curr_zbytes:4634011
/sys/kernel/mm/zcache/zbud_curr_zpages:1912
/sys/kernel/mm/zcache/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 2 1 0 2 2 2 1 7 6 0 3 1 0 0 1 1 0 0 0 0
0 0 0 0 0 0 551
/sys/kernel/mm/zcache/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
/sys/kernel/mm/zcache/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
/sys/kernel/mm/zcache/zv_max_mean_zsize:2560
/sys/kernel/mm/zcache/zv_max_zsize:3584
/sys/kernel/mm/zcache/zv_page_count_policy_percent:75
If you need more informations or when I should run some tests, tell me.
Bye, Jörg.
--
“Unfortunately, the current generation of mail programs do not have
checkers to see if the sender knows what he is talking about”
(Andrew S. Tanenbaum)
signature.asc
Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP
_______________________________________________ devel mailing list [email protected] http://driverdev.linuxdriverproject.org/mailman/listinfo/devel
