Re: 3.4-rc4 oom killer out of control.

From: David Rientjes
Date: Thu Apr 26 2012 - 18:20:33 EST


On Thu, 26 Apr 2012, Dave Jones wrote:

> /sys/kernel/mm/ksm/full_scans is increasing constantly
>
> full_scans: 146370
> pages_shared: 1
> pages_sharing: 4
> pages_to_scan: 1250
> pages_unshared: 867
> pages_volatile: 1
> run: 1
> sleep_millisecs: 20
>

full_scans is just a counter of how many times it has scanned mergable
memory so it should be increasing constantly. Whether pages_to_scan ==
1250 and sleep_millisecs == 20 is good for your system is unknown. You
may want to try disabling ksm entirely (echo 0 > /sys/kernel/mm/ksm/run)
to see if it significantly increases responsiveness for your workload.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/