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

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-12-04, 01:48 PM   #1
mrn
Registered User
 
Join Date: Dec 2004
Posts: 254
Default doom3 performance different in root/user first/second run

Doom3 1024x768 ultra high quality:

//Edit, updated:
Code:
user running gnome:
35.7
no cpu load monitor : 38fps
no cpu load mon,running in sudo : 40.08fps
no cpu load mon,running in sudo, nice --adjust=-1 : 42.2fps

root xterm only:
42.2fps
second run : 51.7fps
First test I ran as a user, running gnome 2.8.
Second run I ran as root, using xterm only, only "first run" of doom3 is counted.
Third run is the second time I ran timedemo demo1 (ie run it once, you get 42.2fps, run it again you get 51.7fps).

Questions:
A 7fps loss from running as user? I'm thinking I'm missing permissions on something here? If anyone have any suggestions that'd be great.

On first run it always lags like hell (stops to think?), second run runs perfectly fine, dma is on on my hd, and it doesn't seem to me to be a hd thing. For example when he takes up the flashlight the game stops to a crawl, but once it's up it's fine.

I believe I'm seeing almost the same thing in ET, game runs fine after I've run it for a while.

Last edited by mrn; 12-12-04 at 08:29 PM.
mrn is offline   Reply With Quote
Old 12-12-04, 02:14 PM   #2
energyman76b
Registered User
 
Join Date: Dec 2002
Location: Clausthal/Germany
Posts: 1,104
Default Re: doom3 performance different in root/user first/second run

The loss is because of gnome.

The second run-issue: do not know. Strange problem.
energyman76b is offline   Reply With Quote
Old 12-12-04, 04:22 PM   #3
vincoof
Registered User
 
Join Date: Sep 2004
Location: France
Posts: 104
Send a message via ICQ to vincoof Send a message via AIM to vincoof
Default Re: doom3 performance different in root/user first/second run

Yeah gnome is really using lots of CPU usage.

When I run doom3, I first start as console mode (runlevel 3) and then run the game (and only the game) with its own X server. I get a significant 10% boost.

As for the first/second difference, it is mainly due to cache issues, even if the "pre-caching" option is enabled. Many benchmarking websites run the doom3 bench several times and only keep the highest score when comparing different video cards ; and for a single card it always shows that the first score is the lowest. Cache miss is the most plausible theory, that is of today.
vincoof is offline   Reply With Quote
Old 12-12-04, 08:25 PM   #4
mrn
Registered User
 
Join Date: Dec 2004
Posts: 254
Default Re: doom3 performance different in root/user first/second run

Updated first thread.

First thing I did was remove the cpu load applet, which did help +2.3 fps.

Then I tried running doom3 in root, that gave me another +2 fps.

Why the extra +2 fps when running as user, with gnome and in su?


also for those saying gnome hogs resources, running in a root shell logged in as my normal user, and running it nice --adjustment=-1 produces the excact same results as running as root with no WM.
mrn is offline   Reply With Quote
Old 12-14-04, 02:37 AM   #5
vincoof
Registered User
 
Join Date: Sep 2004
Location: France
Posts: 104
Send a message via ICQ to vincoof Send a message via AIM to vincoof
Default Re: doom3 performance different in root/user first/second run

Maybe it is due to process priority.
Try to play with the "nice" command (type "man nice").
vincoof is offline   Reply With Quote
Old 12-14-04, 05:54 AM   #6
Wolfman [TWP]
Geforce 8800 GTS 512
 
Join Date: Nov 2002
Location: Australia
Posts: 396
Default Re: doom3 performance different in root/user first/second run

Just for the sake of curiosity... What Graphics card and driver are you ruinning??

I use a Geforce 6800GT with the 66.29 drivers and the latest Doom3 1.1.1286 patch, and I don't get that frame rate in the demo. Regardless of whether I run it at 1024x768 or 1280x1024 at the ultra settings mode, I only get 35.5fps tops (In both resolution settings). (Of course in game it's anywhere from 15-100+ fps, with it averaging around 50-60fps most of the time, which is good).

Oh, and I run it on Redhat Enterprise 3 WS (Update 3) 2.4.21-20.0.1.ELsmp kernel. Using KDE, and running the game from a desktop menu link.

In ET, I get a steady 90fps (Which is the same if I were running Quake3, which seems to be capped there somewhere)

Wolf

Wolfman [TWP] is offline   Reply With Quote
Old 12-14-04, 06:33 AM   #7
mrn
Registered User
 
Join Date: Dec 2004
Posts: 254
Default Re: doom3 performance different in root/user first/second run

Quote:
Originally Posted by vincoof
Maybe it is due to process priority.
Try to play with the "nice" command (type "man nice").
as you can see from my previus posts, I AM running nice.

Quote:
Originally Posted by Wolfman [TWP]
Just for the sake of curiosity... What Graphics card and driver are you ruinning??
I'm running a 6800 (non ultra), with the latest drivers.

The latest drivers apperantly has quite a nice speed boost, and I'm on ubuntu right now, with a custom kernel. (2.6.8.1).


If you could try the latest drivers, and run the timedemo demo1 from console a few times and get me the best speed you can get, that'd be interesting.
mrn is offline   Reply With Quote
Old 12-14-04, 06:49 AM   #8
Wolfman [TWP]
Geforce 8800 GTS 512
 
Join Date: Nov 2002
Location: Australia
Posts: 396
Default Re: doom3 performance different in root/user first/second run

Quote:
Originally Posted by mrn
I'm running a 6800 (non ultra), with the latest drivers.

The latest drivers apperantly has quite a nice speed boost, and I'm on ubuntu right now, with a custom kernel. (2.6.8.1).


If you could try the latest drivers, and run the timedemo demo1 from console a few times and get me the best speed you can get, that'd be interesting.
The fps (35.5fps) time that I'd mentioned has been run a few times (About 3 or 4), and that's around the max I get, with the 6800GT. It's about 33% faster all round compared to my FX5950 Ultra I had in the system previously.

Wolf
Wolfman [TWP] is offline   Reply With Quote

Old 12-14-04, 08:04 AM   #9
mrn
Registered User
 
Join Date: Dec 2004
Posts: 254
Default Re: doom3 performance different in root/user first/second run

Quote:
Originally Posted by Wolfman [TWP]
The fps (35.5fps) time that I'd mentioned has been run a few times (About 3 or 4), and that's around the max I get, with the 6800GT. It's about 33% faster all round compared to my FX5950 Ultra I had in the system previously.

Wolf
ouch... try the latest drivers, I get about 51.5fps on my 6800. (using in kernel agpgart)
mrn is offline   Reply With Quote
Old 12-14-04, 08:23 AM   #10
Wolfman [TWP]
Geforce 8800 GTS 512
 
Join Date: Nov 2002
Location: Australia
Posts: 396
Default Re: doom3 performance different in root/user first/second run

Quote:
Originally Posted by mrn
ouch... try the latest drivers, I get about 51.5fps on my 6800. (using in kernel agpgart)
I am running the latest drivers 66.29. And you are most probably running Linux with a 2.6.x kernel. Which will increase the performance as well. I'm still running 2.4, until they fix the problems with 2.6 first. I'm happy, since it's a 33% boost from the fx5950Ultra.

Wolf
Wolfman [TWP] is offline   Reply With Quote
Old 12-14-04, 08:27 AM   #11
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: doom3 performance different in root/user first/second run

@Wolfman [TWP]: which Linux 2.6 problems are you referring to, specifically? The compatibility problem(s) with Linux 2.6.10-rc*?
zander is offline   Reply With Quote
Old 12-14-04, 10:31 AM   #12
energyman76b
Registered User
 
Join Date: Dec 2002
Location: Clausthal/Germany
Posts: 1,104
Default Re: doom3 performance different in root/user first/second run

Hi,

you are using 2.6 AND nice?

Than you have solved your problem. Because of some scheduler tweaks in 2.6 nice does not work anymore like it is expected.

If you nice something to a value like -5, the process will be punished for beeing to 'cpu hungry' and at the end, runs slower than a +5 process.
energyman76b 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
My UT2003 Tweak Guide DXnfiniteFX Gaming Central 48 10-30-02 11:59 PM

All times are GMT -5. The time now is 03:14 PM.


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