I am on xbuntu 15.10 and this affected me after I upgraded.  I have 16GB
ram and kswapd kicks in, locks it up for 10 - 30 seconds multiple times
an hour.  vmstat 5 shows:

1  0 1208112 569056  69376 7019032    0    0    84   347 1634 2951 25  1 73  0  0
 2  0 1208072 164192   2212 6619100   14    6   163    10 2177 5029 26  3 70  0 
 0
 0 20 2366584 204456    316 6367792   48 234926 25103 235206 6928 2748  2  8  5 
86  0
 1  5 3294060 151216    548 6413108 27001 193908 88306 193970 5196 6590  2 10 
13 76  0
 2  1 4065264 172748   3172 6488812 72246 163202 106635 163531 8388 11018  2 22 
43 33  0
 5  0 4806852 136160   4444 6469352 76391 153371 98650 154074 8352 9759  2 26 
37 35  0
 1  1 5573372 145112    816 6440936 73558 157316 87340 157662 6802 8592  2 21 
44 33  0
 0  4 6383744 168976   1800 6463780 74014 166143 88715 166679 6388 8669  2 27 
41 31  0
 1  1 7024704 146832   1924 6466112 68409 135974 78778 136382 6356 8203  1 19 
42 38  0
 2  0 7736084 181116   1928 6476672 56372 144775 64527 145122 8093 6853  1 16 
41 43  0
 0  7 8381188 197892    432 6456988 74326 159450 87829 160040 8327 8744  4 23 
45 28  0
 1  0 3944136 3240020   1400 6488888 9170   67 14278    74 2112 4084 22  3 69  
6  0
 1  0 3926636 2819400   2060 6521132 3596    0  7028     0 1848 3374 25  3 71  
1  0
 
So you can see when it kicks in.  I have made the following modifications and 
still have the problem:

/etc/sysctl.conf:
vm.swappiness=10

/etc/rc.local:
# Fix khugepaged issues (20150706)
echo never > /sys/kernel/mm/transparent_hugepage/defrag
echo 0 > /sys/kernel/mm/transparent_hugepage/khugepaged/defrag

# Another fix for khugepaged issues (20151210)
echo madvise > /sys/kernel/mm/transparent_hugepage/enabled

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1476211

Title:
  kswapd takes 100% CPU although there is no swap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1476211/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to