Go Back   nV News Forums > Linux Support Forums > General Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 11-07-04, 12:48 PM   #1
thomas_n
Registered User
 
Join Date: Jan 2003
Posts: 15
Default >= 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.

Last edited by thomas_n; 11-07-04 at 02:09 PM.
thomas_n is offline   Reply With Quote
Old 11-07-04, 01:52 PM   #2
thomas_n
Registered User
 
Join Date: Jan 2003
Posts: 15
Default 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.

Last edited by thomas_n; 11-07-04 at 02:11 PM.
thomas_n is offline   Reply With Quote
Old 11-09-04, 11:27 PM   #3
darklegion
Registered User
 
Join Date: Oct 2004
Posts: 37
Default Re: >= 2.6.9 kernels and kswapd using >50% CPU in games

2.6.9-cko3 also has this patch applied
darklegion is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:08 AM.


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