• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: VWR-3365
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: ZigZag Freenote
Votes: 2
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
1. Second Life Viewer - VWR

Power Saving Options

Created: 20/Nov/07 11:43 PM   Updated: 01/Dec/07 10:40 AM
Return to search
Component/s: User Interface
Affects Version/s: None
Fix Version/s: None

Issue Links:
Relates


 Description  « Hide
Hmm, everyone is talking about global warming. Let's do a small thing in SL, too. But it's not just that, I want my CPU and GPU to cool down a little bit when they can.

Currently there is a 5 (5.6?) ms sleep in each draw. Another 40ms is added if the viewer is not in foreground (focus).

I would like to have three configurable sleeps:

  • "Running priority" - draw sleep (0-10ms) as a yield/nice feature
  • "Background Power Saving" - 0-100ms (default now 40, but could be changed to 50)
  • "Away Power Saving" - 0-100ms (default 50?)

Away power saving would disregard the Character AFK check. It would increase towards the set value as keyboard/mouse inactivity time approaches the AFK time setting in preferences. I would make it so it increases in discrete steps every minute, other approaches are possible. The background and away values would simply add up for the sleep, which would yield less than 5 fps when away for a long time and all settings maxed. Sounds reasonable to me.

Where to put this? A new tab in Preferences would be just fine. Make it visible that you care about power saving.

Is this connected to graphics performance settings? I don't think people will complain if fps drops when not active. The "always" sleep is small and it affects mostly those with very high fps, even if "unintentionally" set to max. Someone with 5 FPS would not even notice the extra couple of miliseconds. Therefore, I think no connection is needed between power saving and graphics options. This goes more with away time.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
ZigZag Freenote added a comment - 20/Nov/07 11:46 PM
Oh, a partial workaround for the conscious:

See debug setting BackgroundYieldTime, set it to 100 and enjoy more CPU for other applications, lower consumption, lower fan speeds and more trees in rl...


ZigZag Freenote added a comment - 01/Dec/07 10:20 AM
About the implementation, there is one caveat. FPS is measured for statistics shown on this page:
http://secondlifegrid.net/resources/service_metrics

So, care must be taken to not spoil the results. To be fair, it could be done so the running sleep is subtracted from the draw time and 5ms is added.

I don't know how background mode is handled, but I would suppose it simply doesn't count, after all, I don't care what frame rate I get while I work on something else. The away part should do a similar thing. Either measure only the first minute of the inactivity time, or measure all of the inactivity time until away condition is reached, compensating by subtracting any additional sleep time from the results.