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

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-19-11, 04:16 AM   #1
Tronic
Registered User
 
Join Date: Jul 2004
Posts: 35
Default Better control for adaptive performance mode

I am currently forced to use the maximum performance mode all the time because otherwise scrolling on my web browser, watching videos and other things I do my desktop run too slowly. It would be nice if the performance scaling could be limited so that e.g. it never would go below level 2.

I have GTX 460 on PCI-E 2.0 and with power management enabled it also keeps switching PCI-E link rate all the time, possibly this is the reason for bad performance (PCI-E Gen 1 is certainly fast enough but does the switch cause delays?).

The scaling algorithm could also prefer to stay on higher level for longer periods:
- Avoid frequent switching: wait a while before going to a lower level
- Biased hysterisis to avoid oscillation: do not switch down when there is sufficient load for the current level (even if the driver determines the lower level could also handle the same load)
- Fast response: when more performance is needed, switch instantly to a higher (or highest) level
Tronic is offline   Reply With Quote
Old 01-19-11, 11:24 AM   #2
jpi110
Gentoo User
 
Join Date: Jan 2011
Location: Portland, Oregon
Posts: 14
Default Re: Better control for adaptive performance mode

I would even go a step further on this and have them use the cpufreq modules in the kernel as a source of reference by presenting several options:

A.) Powersave mode (always lowest speed and energy consumption possible.)
B.) Conservative mode (hesitant to switch to a higher/lower speed until load persists long enough to warrant change)
C.) Ondemand mode (always switches up and down quickly dependent on current load)
D.) Performance mode (always on highest speed possible)
E.) Userspace mode (definable criteria on what is acceptable performance)

I'd even argue that some of these variables, like cpufreq, could be controlled in /sys space.
jpi110 is offline   Reply With Quote
Old 01-20-11, 07:59 AM   #3
Tronic
Registered User
 
Join Date: Jul 2004
Posts: 35
Default Re: Better control for adaptive performance mode

To make the issue even worse, nvidia-settings doesn't save the performance setting to .nvidia-settings-rc. Is there some other way to script setting it to prefer maximum performance?
Tronic is offline   Reply With Quote
Old 01-25-11, 03:44 AM   #4
jpterj
Registered User
 
Join Date: Dec 2008
Posts: 57
Default Re: Better control for adaptive performance mode

Quote:
Originally Posted by Tronic View Post
To make the issue even worse, nvidia-settings doesn't save the performance setting to .nvidia-settings-rc. Is there some other way to script setting it to prefer maximum performance?
This works for me:
#!/bin/sh
/usr/bin/nvidia-settings -l # Load settings
/usr/bin/nvidia-settings -a [gpu:0]/GPUPowerMizerMode=1 # Set performance level
jpterj is offline   Reply With Quote
Old 01-27-11, 05:01 PM   #5
no4b
Registered User
 
Join Date: Oct 2007
Posts: 27
Default Re: Better control for adaptive performance mode

It would be fine for me if I could tell driver not to go below performance level 1. Performance level 0 is way to slow on my GTX460. I see redrawing of webpage when I change tab in Opera. It's by far unacceptable. When card works on performance level 1 everything is OK.

Is nvidia going to implement this feature? Running all the time on highest performance level consumes way to much energy, but I'm forced to use it to get decent user experience.
no4b is offline   Reply With Quote
Old 01-31-11, 05:17 PM   #6
szwagros
Registered User
 
Join Date: Mar 2005
Posts: 3
Default Re: Better control for adaptive performance mode

Quote:
Originally Posted by no4b View Post
It would be fine for me if I could tell driver not to go below performance level 1. Performance level 0 is way to slow on my GTX460.
+1

I also have GTX460. In performance level 0 it switches to following settings:

- graphics 50mhz, memory 135mhz, processor 101 mhz

it's way too low to handle KDE (4.6) smoothly. Opening, moving windows, scrolling pages in FF or Chromium is just slow. Switching Preferred Mode to Performance of course solves the problem but as no4b pointed it consumes way to much energy and too much noise.
szwagros is offline   Reply With Quote
Old 04-24-11, 10:43 PM   #7
Tronic
Registered User
 
Join Date: Jul 2004
Posts: 35
Default Re: Better control for adaptive performance mode

Quote:
Originally Posted by jpterj View Post
This works for me:
#!/bin/sh
/usr/bin/nvidia-settings -l # Load settings
/usr/bin/nvidia-settings -a [gpu:0]/GPUPowerMizerMode=1 # Set performance level
Thanks, most helpful!

Still waiting for Nvidia to fix the actual problem, though...
Tronic is offline   Reply With Quote
Old 04-26-11, 05:06 AM   #8
RUSTY
Registered User
 
Join Date: Dec 2002
Posts: 44
Default Re: Better control for adaptive performance mode

Is there a way to make powermizer not to drop below performance level 1 ?
RUSTY is offline   Reply With Quote

Old 04-26-11, 06:14 PM   #9
Licaon
Registered User
 
Licaon's Avatar
 
Join Date: Nov 2004
Location: Between the keyboard and the chair.
Posts: 490
Default Re: Better control for adaptive performance mode

Quote:
Originally Posted by RUSTY View Post
Is there a way to make powermizer not to drop below performance level 1 ?
in xorg.conf:
Quote:
Option "RegistryDwords" "PowerMizerEnable=0x1; PowerMizerLevel=0x1; PowerMizerDefault=0x1; PowerMizerDefaultAC=0x1"
Licaon is offline   Reply With Quote
Old 04-26-11, 08:37 PM   #10
RUSTY
Registered User
 
Join Date: Dec 2002
Posts: 44
Default Re: Better control for adaptive performance mode

Quote:
Originally Posted by Licaon View Post
in xorg.conf:
no effect. it still goes to level 0.
RUSTY is offline   Reply With Quote
Old 04-26-11, 09:12 PM   #11
ledoc
Registered User
 
Join Date: Jan 2008
Posts: 330
Default Re: Better control for adaptive performance mode

This issue has been notorious for many, many years.

There is no official way to do this, probably because it involves thermal design and therefore the card/laptop manufacturer.

People have had various success with tricks like the xorg magic or calling nvidia-settings -q all every 10 seconds or playing a silent sound file permanently in the background or things like that.

The only real way to do this is to flash a modded bios where the frequencies for each level are adapted. Of course such a procedure has it's own risks.

Lastly, trying to avoid GPU-hogging software can be an approach as well.
ledoc is offline   Reply With Quote
Old 04-26-11, 10:09 PM   #12
RUSTY
Registered User
 
Join Date: Dec 2002
Posts: 44
Default Re: Better control for adaptive performance mode

it's driving me nuts already it seems like I'm on p2 machine back in 98. nvidia we need a fix please.
RUSTY 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 06:55 AM.


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