Skip to contentSkip to conversation

kswapd craziness round 2

DISCUSSION Jiri Slaby 1 participant 1 message Feb 17, 2013 Memory management

lore
Share & tools
lore

Jiri Slaby

author
#0 lore raw

Hi,

You still feel the sour taste of the "kswapd craziness in v3.7" thread, right? Welcome to the hell, part two :{.

I believe this started happening after update from 3.8.0-rc4-next-20130125 to 3.8.0-rc7-next-20130211. The same as before, many hours of uptime are needed and perhaps some suspend/resume cycles too. Memory pressure is not high, plenty of I/O cache:

# free
             total       used       free     shared    buffers     cached
Mem:       6026692    5571184     455508          0     351252    2016648
-/+ buffers/cache:    3203284    2823408
Swap:            0          0          0

kswap is working very toughly though:
root 580 0.6 0.0 0 0 ? S uno12 46:21 [kswapd0]

This happens on I/O activity right now. For example by updatedb or find /. This is what the stack trace of kswapd0 looks like:

[<ffffffff8113c431>] shrink_slab+0xa1/0x2d0
[<ffffffff8113ecd1>] kswapd+0x541/0x930
[<ffffffff810a3000>] kthread+0xc0/0xd0
[<ffffffff816beb5c>] ret_from_fork+0x7c/0xb0

[<ffffffffffffffff>] 0xffffffffffffffff

Any ideas?

thanks,

Signature · 8 lines
js
suse labs

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>