Whenever I wake my laptop from sleep (RAM), kswapd0 always uses 50% of the CPU all the time. It basically uses 100% of one of the 2 cores I have in my laptop. It only happens after I wake my system from sleep. It happens even if swap is not used a lot. When I wake up the system only 2MB of 4093MB of swap was used. I tried switching swap off and on and that did not bring the usage down.
This high usage does not stop even an hour after I wake the system from Sleep. Only solution is to restart my laptop. It makes my system practically unusable, since I have to work on resource intensive programs.
Please help me. I am sick an tired of restarting my laptop everytime I use.
KDE 4.8.3 Release 504
Kernel : 3.4.0-2-desktop #1 SMP PREEMPT Sun May 27 19:46:37 UTC 2012 (8353c9e) x86_64 x86_64 x86_64 GNU/Linux
Things you could try after reading the links above to better understand if they are applicable or not:
echo 1 > /proc/sys/vm/drop_caches
And virtual memory settings (in /etc/sysctl?):
vm.dirty_background_ratio = 3 (default was 10, had tried 5))
vm.dirty_expire_centisecs = 500 (default was 3000, had tried 1000)
vm.dirty_ratio = 15 (default was 40)
vm.dirty_writeback_centisecs = 100 (default was 500)
FWIW in a netbook with oS 12.1 KDE 4.8.3 release 503 kernel 3.1.10-1.9-desktop #1 SMP PREEMPT x86_64 and 2GB RAM (later upgraded to 8GB) I’ve never seen this happen.
and that is the first thing I noticed too: OP reports not the stock KDE, not the stock kernel, and not Tumbleweed (where I don’t have the issue).
@OP: consider downgrading the kernel, since the stock kernel doesn;t seem to produce the erronic behaviour. That’s one. Another thing that we could take a look at is the repo configuration. Please post output of
I visited today a friend, he has a mini ITX (i5-2500, 4GB RAM, intel HD 2000 gfx ) and asked me to install a “light” Linux to play mp4 videos.
so far so good I installed the OpenSUSE 12.2 x64 (XFCE desktop) + packman repo, to say the truth the system WAS crawled like hell when he
tried to play those videos.
Then I decided to install Linux Mint (well not my cup of tea as I prefer RPM based distros), so far so good the guy enjoys those videos without any problem! Can’t believe that OpenSUSE failed on this…
Did you try killing the process? I’d try to do this with “top” in a terminal as root. Or perhaps there’s a start/stop script to do this, as with other services. Just guessing.
Welcome.I add to the topic, because I have a similar situation as I leave the computer without using kilkagodzin and then run. dim the screen.I have a Linux kernel xxxxxxxl 3.7.7-1-desktop # 1 SMP PREEMPT Mon Feb 11 10:47:39 p.m. UTC 2013 (aeb2714) x86_64 x86_64 x86_64 GNU / LinuxWhat could be the reason?