nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   General Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=27)
-   -   >= 2.6.9 kernels and kswapd using >50% CPU in games (http://www.nvnews.net/vbulletin/showthread.php?t=40206)

thomas_n 11-07-04 12:48 PM

>= 2.6.9 kernels and kswapd using >50% CPU in games -- Solved
 
I currently have a problem with kswapd0 suddenly eating >50% CPU when starting certain games with 2.6.9 or .10-rc1.
In 2.6.9 it went of after starting ut2004 and loading big (Onslaught) maps, now with .10-rc1 it starts doing this in savage ("Savage: The Battle for Newerth", not as hardware/RAM hungry as ut2004), UT2004 works fine again, nothing changed there patch or config wise.

Strange thing is that it also happens when I turn off swap, here are the two programs shown in top:

Code:

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                       
  35 root      25  0    0    0    0 R 64.8  0.0  2:13.65 kswapd0                         
13304 thomas    25  0  639m 192m  46m R 28.6 38.1  0:36.86 silverback.bin

(silverback.bin == savage binary)

Remarkable here is that the 639MB Virtual memory is more than my 512MB Ram, the 600 MB swap are not available (swapoff /dev/xy).

System is a Debian/Sid with selfcompiled kernel, PREEMT enabled. No other fancy stuff I can think of atm, everything is 100% stable in 2.6.8.1.

thomas_n 11-07-04 01:52 PM

Re: >= 2.6.9 kernels and kswapd using >50% CPU in games
 
I did some more research (as if I hadn't google my fingertips off before :P) and it seems it's this issue seen with Doom3: http://zerowing.idsoftware.com/linux...d1aba2d5ba6336

Strange, Doom3 ran fine under 2.6.9. Trying this patch http://ck.kolivas.org/patches/2.6/2....ive_list.patch now.

Edit: Yes, that little patch did it. Time they move that kind of b0rking to a 2.7 branch.

darklegion 11-09-04 11:27 PM

Re: >= 2.6.9 kernels and kswapd using >50% CPU in games
 
2.6.9-cko3 also has this patch applied :)


All times are GMT -5. The time now is 11:26 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.