You are not logged in.

#1 2013-01-21 17:29:00

Logain
Member
Registered: 2013-01-21
Posts: 2

kswapd0 gets 99% iowait

System information
-------------------------

  • Release rolling 64-bit

  • Kernel Linux 3.6.11-1-ARCH

  • RAM 7.8 GiB

  • No swap


iotop shows [kswapd0] with 99.99%
The RAM used never reaches 60%, the rest is always used for cache.

I was able to make the pc usable by changing the process' priority:

sudo renice 19 -p 60

But it stills freezes on some occasions due to a lot of iowait.

I've seen many posts related to iowait problems and kswapd0, along with several bugs entries in some distros, but I wasn't able to reach a solution yet.
Any ideas?

Offline

#2 2013-01-22 15:55:15

Logain
Member
Registered: 2013-01-21
Posts: 2

Re: kswapd0 gets 99% iowait

It seems the asd.service (anything sync daemon) was the one filling the ram with cache, once I stopped the service everything went back to normal.
But, anyway... should this happen? Why the kswapd0 was trying to swap the cache? It doesn't seem to be right... after all, I don't even have a swap partition.

Offline

#3 2013-01-24 07:53:50

neilzium
Member
Registered: 2011-12-17
Posts: 41

Re: kswapd0 gets 99% iowait

I've noticed similar behaviour with my mdraid setup with the lts kernel. the standard arch kernel also has problems with kswapd0 for me, becoming stuck at 100% cpu every now and then after some relatively heavy IO. I've seen a thread on these forums relating to this. I also don't have any swap. There are plenty of bug reports on other distros relating to this issue. I also don't understand why kswapd does anything if there is no swap.

Offline

Board footer

Powered by FluxBB