Power Modes Presets

100 views
Skip to first unread message

Chris (osm0sis)

unread,
Jun 29, 2013, 5:29:17 PM6/29/13
to
Alright, so this will probably be the last thing on our list once we've completed the schedulers, the vm (and other) tweaks and have seen what we can do about the mount options.
 
 
Basically these were the f.Ku GN Power Mode presets Philip (yellowdie) and I (but mostly Phil) came up with for the f.Ku rewrite. Since interactive was updated they are all invalid now, so we'll have to rework them to play nice with the new interactive like we did the default "winning" governor tunables. GN only for now since it's the only one with presets at the moment, then maybe expand to N7 for those here with one. That is unless Francisco wants to ditch the Power Modes entirely.

franciscofranco1990

unread,
Apr 11, 2013, 2:29:09 PM4/11/13
to francos...@googlegroups.com
Awesome. I will add these power modes I guess :) Thanks guys!

Chris (osm0sis)

unread,
Apr 12, 2013, 2:19:39 PM4/12/13
to francos...@googlegroups.com
Great! It's last on our list but we'll keep you posted. :)

Steve (Gingerbread Man)

unread,
Apr 27, 2013, 12:42:51 PM4/27/13
to
Ok so I know we said we would do this last but I'm going to spend some time doing this now, the VM stuff is a little beyond me. Also I might be able to work out some modes for grouper. I'm going to be working on this on a Google doc, if your interested in seeing what I'm up to I'll  post the link at request. The time to work this stuff out in theroy won't take long but actaully seeing how effective any power modes are could take some time. I feel it may be worth while seeing if we can get Franco to remove conservative gov completely and just have lazy instead and add lazy gov to grouper. In an ideal world we should have same govs across all devices for the sake of trying to make these modes relatively universal.

Edit


Edit 2

Theory work completed now for some testing

Steve (Gingerbread Man)

unread,
Apr 27, 2013, 10:37:50 AM4/27/13
to francos...@googlegroups.com
OK have a look over these, they are relitly simple compared to Phils when he created his but I haven't bothered messing around with different tunable values for the govs. I have kept it simple at Lazy / performance can't be editted by us, interactive to be kept at winning values to retain some performance. I/o gets changed, gov, Max CPU, and for grouper a couple if different GPU speeds. Screen off Max remains and min CPU stay constant for all power modes. I'm particularly pleased with mild under clock on tuna. Check them out

Steve (Gingerbread Man)

unread,
Apr 27, 2013, 12:00:55 PM4/27/13
to francos...@googlegroups.com
Power modes are not being set on grouper for some reason just to add to the list of things for it.
Screenshot_2013-04-27-16-55-23.png
Screenshot_2013-04-27-16-55-35.png
Screenshot_2013-04-27-16-55-42.png

Chris (osm0sis)

unread,
Apr 27, 2013, 12:10:56 PM4/27/13
to
Yeah until/unless Francisco incorporates governor tunables into power modes, none of that stuff from Phil's was being used anyway. I was more thinking we'd rework them in the hopes Francisco would still add governor tunables in, since then we could really take Power Modes to the next level. So, no problem keeping it simple for the moment (especially with this new autotune interactive on the way)! :)
 
Really great job Steve! I like that you included scheduler in the mix based on overhead+smoothness! Philip and I only knew that deadline worked best for us at the time and had only just begun thinking about messing with those tunables. :D
 
I'd like to suggest grouper have some higher mins for the higher end mode though. 475? Should fix all the stutter. ;)

Chris (osm0sis)

unread,
Apr 27, 2013, 12:46:29 PM4/27/13
to
Just remembered, changing the max on grouper is also a moot point until Francisco gets around to building a custom PowerHAL for it. :/
 
But hey, maybe having some Power Modes ready to go for it will provide motivation. :D
 
Edit: Considering the autotune interactive is on the way in, maybe we can forget governor tunables in Phil's Power Modes and his would still work well for the GN, maybe just change the schedulers like you did now that we've rocked them all.

Steve (Gingerbread Man)

unread,
Apr 27, 2013, 12:46:55 PM4/27/13
to francos...@googlegroups.com
Ah I see that would explain why I was still seeing 1.3ghz getting used. It works on tuna, setting it and set on boot I already checked.

Chris (osm0sis)

unread,
Apr 27, 2013, 1:03:12 PM4/27/13
to francos...@googlegroups.com
You can steal the "any freq" one from the Lean thread I think I saw someone say. I almost grabbed it and made a grouper osmod but then Francisco got active on the N7 thread again so I changed my mind.

Steve (Gingerbread Man)

unread,
Apr 27, 2013, 1:04:03 PM4/27/13
to francos...@googlegroups.com
In answer to your edits Chris

1st about the high mins on grouper, personaly I don't really see the need because the behaviour of the CPU speed is going to be dictated largely by the gov anyway, if you have performance for example you can bet it will be at the high speeds all the time. The reason I left it low is if you the screen off it won't be sat at Max till sleep begins. Its open for discussion I don't mind

2nd with the auto tune on its way in as you say there isn't a great need to fiddle with individual settings around the gov, plus thinking of it the modes I have come up with should work better with the autotune enabled. There is a couple where the Max & hi speed freq would be equal so it would be wasting battery in those couple of examples.

I think we have done all we can this end for now till all the stuff we have done here is implemented

Chris (osm0sis)

unread,
Apr 27, 2013, 1:13:24 PM4/27/13
to francos...@googlegroups.com
Ah true, I forgot about performance governor. Wouldn't that also mean that it's running max even when screen off and awake anyway though?

Steve (Gingerbread Man)

unread,
Apr 27, 2013, 1:18:03 PM4/27/13
to francos...@googlegroups.com
I guess it would really, but atleast if there was an option to slow down it could.

We could do with performance being removed, replace with Wheatley and remove conservative and replace it with lazy on both devices so the modes could work in the same way

Chris (osm0sis)

unread,
Apr 27, 2013, 1:37:34 PM4/27/13
to
I think the performance governor thing is why Phil and I decided to stick with interactive and just raise the min.
 
I'm not sure how receptive Francisco is to removing governors. He's got a "once it's in there - it's in there" M.O. generally. Worth a try though! :D
 
Realistically if we want a high perf governor it should be ondemand over interactive, then still raise the min a bit. We just stuck to interactive because we assumed Francisco would be allowing us to make it more aggressive with the tunables in the Power Modes. I also seem to recall Phil saying 729 max was too low for the battery saver to actually be useable.
 
Edit: I don't really think there will be a set hispeed_freq with auto-tune per se... since it'll adjust, right?
 
Added yours to the main sheet. :)

Steve (Gingerbread Man)

unread,
Apr 27, 2013, 1:35:28 PM4/27/13
to francos...@googlegroups.com
See what he says when he gets round to catching up on all this. I was thinking along the lines of having lazy, interactive, on demand and Wheatley and use the same ones across the board of devices.

Steve (Gingerbread Man)

unread,
Apr 29, 2013, 3:23:46 AM4/29/13
to
I'd just like to add in this topic isnt neseserily finished yet, if any one else has more to add in then it is welcome. I worked on this today because time allowed pretty much. I actually invite the input from everyone else whether its positive or negative, I'd like to hear your opinions.

Edit

Marking as complete if no body has anything else to add in. Discussions are still welcome!

Reply all
Reply to author
Forward
0 new messages