Re: kswapd causing giant load

From: Rik van Riel
Date: Sun Jun 05 2005 - 11:46:53 EST


On Sat, 4 Jun 2005, Gaspar Bakos wrote:

> 10715 hatuser 15 0 35432 2792 2020 R 28.3 0.1 1:45.06 sshd
> 10724 hatuser 16 0 17504 11m 664 R 8.3 0.3 0:33.56 rsync
> 175 root 15 0 0 0 0 S 19.7 0.0 136:25.58 kswapd0
> 172 root 15 0 0 0 0 S 0.3 0.0 1:23.59 pdflush
> 174 root 15 0 0 0 0 S 0.3 0.0 99:18.93 kswapd1
>
> Before I start extensive experimenting, maybe someone knows right away
> what causes high loads due to "kswapd* and pdflush".

Looks like your system is NUMA, meaning that the system
memory is divided in half, and the threshold at which a
memory dirtying process is throttled might be higher than
the amount of memory available in the zone.

Can you reproduce this problem if you boot with "numa=off"
or if you "echo 20 > /proc/sys/vm/dirty_ratio" ?

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
-
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/