nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Better control for adaptive performance mode (http://www.nvnews.net/vbulletin/showthread.php?t=158870)

Tronic 01-19-11 04:16 AM

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

jpi110 01-19-11 11:24 AM

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.

Tronic 01-20-11 07:59 AM

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?

jpterj 01-25-11 03:44 AM

Re: Better control for adaptive performance mode
 
Quote:

Originally Posted by Tronic (Post 2380392)
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

no4b 01-27-11 05:01 PM

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.

szwagros 01-31-11 05:17 PM

Re: Better control for adaptive performance mode
 
Quote:

Originally Posted by no4b (Post 2384080)
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.

Tronic 04-24-11 10:43 PM

Re: Better control for adaptive performance mode
 
Quote:

Originally Posted by jpterj (Post 2382927)
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...

RUSTY 04-26-11 05:06 AM

Re: Better control for adaptive performance mode
 
Is there a way to make powermizer not to drop below performance level 1 ?

Licaon 04-26-11 06:14 PM

Re: Better control for adaptive performance mode
 
Quote:

Originally Posted by RUSTY (Post 2423589)
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"

RUSTY 04-26-11 08:37 PM

Re: Better control for adaptive performance mode
 
Quote:

Originally Posted by Licaon (Post 2423955)
in xorg.conf:

no effect. it still goes to level 0.

ledoc 04-26-11 09:12 PM

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.

RUSTY 04-26-11 10:09 PM

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.


All times are GMT -5. The time now is 01:29 PM.

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