[Q] thalamus 2.6.37.2 kernel - Desire Q&A, Help & Troubleshooting

I'm using this kernel as packaged with oxygen 2.0.1 and I'm interested to learn more about how it manages the CPU and what voltage it uses. Done a fair bit of Google and not finding much!
What is the min and max cpu frequency it allows?
Does it scale between these automatically?
What voltage does it define for the cpu; does that vary?
Is it an overclocked or undervolted kernel?
Does anyone use setcpu with this kernel and what are the effects?
All for interest only really, very pleased with rom, battery life and phone speed as is!
Full kernel is 2.6.37.2-thalamus-S-gfbbb1325thalamus @ozone#1,
look forward to comments!

Related

[KERNEL] smartass cmkernel 11/26/11]

This is based on the cyanogenmod kernel, with the main change being the smartass governor has been added and is default.
The zip file is in koush's anykernel format, so it can be flashed just like a rom.
Changes:
Smartass governor by erasmux is default
extra overclock enabled
patch #22 by farmatito
disabled CONFIG_SERIAL_MSM
NO SUPPORT WILL BE GIVEN. ONLY FLASH IF YOU KNOW WHAT YOU ARE DOING. NO ONE IS RESPONSIBLE EXCEPT YOU. BLAH BLAH BLAH.
Newest
2.6.35.14-oc-cm-smartass_g0dd6e8c.zip
source: http://github.com/dumfuq
old versions: http://www.mediafire.com/dumfuq
What does the smartass governor do?
mackster248 said:
What does the smartass governor do?
Click to expand...
Click to collapse
smartass governor - is based on the concept of the interactive governor.
I have always agreed that in theory the way interactive works - by taking over the idle loop - is very attractive. I have never managed to tweak it so it would behave decently in real life. Smartass is a complete rewrite of the code plus more. I think its a success. Performance is on par with the "old" minmax and I think smartass is a bit more responsive. Battery life is hard to quantify precisely but it does spend much more time at the lower frequencies.
Smartass will also cap the max frequency when sleeping to 352Mhz (or if your min frequency is higher than 352 - why?! - it will cap it to your min frequency). Lets take for example the 528/176 kernel, it will sleep at 352/176. No need for sleep profiles any more!
i googled it lol, seems like its a bit more responsive then interactive, and it ramps down quickly too. could give some battery savings
What ROM's will this work with?
keeps cpu at/above 768mhz, will not go below until you switch off smartass gov.
liking the "sleep" enhancement, but seems like it should let the processor scale on down to 245 when idle with screen on
I'm running this with CM7 Nightly #16 and it's running really well. I'm getting a little more battery consumption than I do with zinx's kernel, but that could just be because I've only been using the kernel for around 2-3 hours. It may need a little more time to settle? I'm not sure, but it is definitely snappier! If it does scale down the cpu during screen off, you can't tell at all! It doesn't have any lag when unlocking like setting profiles usually does. So I'm really stoked about this kernel! Great work as always Dumfuq! This will be my new kernel for at least a few days to give it more of a chance.
PS: I'm only getting around 29 on linpack at 1.017 GHz, where as with zinx's I was getting 38's. Smartbench scores are at 1320's for productivity and 1869 for gaming. So those both beat out zinx's kernel. Just wanted to put those out there so people have some kind of a comparison point.
posted a v2. The difference is frequencies are changed to match glacier frequencies instead of hero's.
The only noticable difference here is that when the screen is off the frequency scales between 245 and 368 instead of being stuck at 245.
dumfuq said:
posted a v2. The difference is frequencies are changed to match glacier frequencies instead of hero's.
The only noticable difference here is that when the screen is off the frequency scales between 245 and 368 instead of being stuck at 245.
Click to expand...
Click to collapse
Damn. Nice!
Works with evil's MIUI 1.1.26 r2..Hopefully battery life will increase now.
Edit: breaks video playback in miui
sl1k1 said:
Works with evil's MIUI 1.1.26 r2..Hopefully battery life will increase now.
Edit: breaks video playback in miui
Click to expand...
Click to collapse
Smartass is already compiled in.
Sent from my HTC Glacier
I use this on my GF's Mytouch Slide and she gets 20+ hr's on a charge overclocked @ 825. Was so hoping someone would port the kernal to this phone. thx dumfuq ^^
Trying to decide if I want to flash this over the stock cm7 kernel.
Has anyone noticed any gains from doing this? what about compared with the stock cm7 kernel + setCPU?
flashed this over build 16, cm7. I still use setcpu. no problems, everything is smooth like butter. Definitely smoother than it was before. no wake up problems, no play back problems. thanks for this =]
Does wifi calling also work with this? Anyone know?
brian6685 said:
Does wifi calling also work with this? Anyone know?
Click to expand...
Click to collapse
You could always flash it and find out, and if not, just restore the backup you made prior to flashing it. ;] I don't see why it wouldn't it hasn't broken anything for me.
K ill try it out later when I get home from work. Thanks
whats the mhz setting on this by default? not super fond of setcpu. though i do like this idea of a custom throttle and logic. so i figured if the mhz is high enough then i'll give it a shot.
brian6685 said:
K ill try it out later when I get home from work. Thanks
Click to expand...
Click to collapse
let us know what happens
here's my initial test of the v2 as far as battery goes...
looks like wifi calling works ;]
I've had great battery life with this kernel so far.

Pershoots kernel or CM kernel?

I'm on the latest CM7 build and would like to know the pros and cons of using each kernel. Hopefully someone can enlighten me.
I'm on Pershoot's right now, btw.
personally i like the pershoot kernels, they give u more frequencies to choose from... now this isnt really a big deal when u picking the overclock frequency (844Mhz vs 864Mhz vs 883Mhz isnt a big difference really), but given that the kernel can vary the frequencies in real-time means that the kernel has more options to chose from, also given a good algorithm that picks the frequencies it should result in better performance and less battery use (theoretically since the power required for 806MHz is less than 883Mhz).
Also pershoot kernels are UV, which should mean that the CPU is using less power to run at any given frequency (compared to running at that exact frequency with a non UV kernel).
Having said so, CM kernel gives u more options regarding the governors, under the original CM kernel i always picked the Conservative governor which gave me amazing battery life... this option is not available under the pershoot kernel and i believe pershoot recommends using the OnDemand option (not a 100% on this one though).
so in my opinion, and if am correct it's mostly a preference thing. I use the pershoot kernels.
let me know if am missing anything
awsrasool said:
personally i like the pershoot kernels, they give u more frequencies to choose from... now this isnt really a big deal when u picking the overclock frequency (844Mhz vs 864Mhz vs 883Mhz isnt a big difference really), but given that the kernel can vary the frequencies in real-time means that the kernel has more options to chose from, also given a good algorithm that picks the frequencies it should result in better performance and less battery use (theoretically since the power required for 806MHz is less than 883Mhz).
Also pershoot kernels are UV, which should mean that the CPU is using less power to run at any given frequency (compared to running at that exact frequency with a non UV kernel).
Having said so, CM kernel gives u more options regarding the governors, under the original CM kernel i always picked the Conservative governor which gave me amazing battery life... this option is not available under the pershoot kernel and i believe pershoot recommends using the OnDemand option (not a 100% on this one though).
so in my opinion, and if am correct it's mostly a preference thing. I use the pershoot kernels.
let me know if am missing anything
Click to expand...
Click to collapse
Thank you so much! Just the answer I was looking for! Very informative and straight-forward, thanks.
Looks like I'll be sticking to Pershoot's.
awsrasool said:
Having said so, CM kernel gives u more options regarding the governors, under the original CM kernel i always picked the Conservative governor which gave me amazing battery life... this option is not available under the pershoot kernel and i believe pershoot recommends using the OnDemand option (not a 100% on this one though).
Click to expand...
Click to collapse
You're correct. Pershoot uses the ondemand governor because he says it's more stable at the higher cpu clock cycles. Few issues with FC's, lockups, and reboots. Though I do love the interactive governor (still want the smartass gov) he is correct from what I've personally experienced. That may be due to small variances in the kernels though despite coming from the same source but who knows.
Pershoot also has a .zip for every kernel that's full of some /lib files to add extra functions to your device, most users probably won't find a use for them though.
KCRic said:
Pershoot also has a .zip for every kernel that's full of some /lib files to add extra functions to your device, most users probably won't find a use for them though.
Click to expand...
Click to collapse
Can you please explain these extra functions and how to apply them please?
Wouldn't mind having some new functions
Sent from my HTC Vision using XDA App
I've found I get better battery life with Pershoot's kernel compared to the stock CM kernel using the same clocks speeds and governor (245 Mhz-1017 Mhz, Ondemand). No statistics to throw up though.

Undervolting

I wanted to know some more about undervolting and was hoping someone could help and explain a bit. Basically, what I'm seeing is when I undervolt my device on the max side of things, eventually the device freezes and needs a battery pull or reboots. When I don't touch the max voltage values and only drop the min values the phone seems more stable and doesn't reboot. Can someone explain if my thinking of only undervolting the min values is correct and why this may be happening. Also, what would be the proper way to undervolt the phone? I have been using system tuner to do so on deck's 1.3 ROM using the Lee +sbc kernel. Thanks for taking the time to read this and for all the helpful responses.
Sent from my Decked Evo running Lee+sbc... It's easier this way.
I have this same question! I was trying to figure this out becuase the freedom kernels have something to do with under and over voltage to allow better OC? not sure on why the you would need and over voltage to over clock?...
What is your ROM/Kernel setup?
Remember that undervolting and underclocking are two different things. Over/underclocking, via apps like setcpu, raise/lower the frequency at which your processor operates. Over/undervolting raises/lowers the power voltage available to your processor at any given frequency. This can potentially cause problems if you have a kernel set to undervolt your processor while running an app like setcpu to overclock it. This may be why you are seeing issues with your phone.
pmacevad said:
[snip]
I have been using system tuner to do so on deck's 1.3 ROM using the Lee +sbc kernel.
[snip]
Sent from my Decked Evo running Lee+sbc... It's easier this way.
Click to expand...
Click to collapse
Concordium said:
What is your ROM/Kernel setup?
Click to expand...
Click to collapse
OP clearly states he's running Deck's 1.3 and Tiamat 3.3.7 (aka LEE kernel)
OP should also state Deck's ROM version but I'm assuming 1.3d as it's most popular next to 1.3 Stable.
I'm running the same setup - Deck's 1.3d with LEE SBC. I'd like someone to explain (as the OP also asked) the difference between the MIN and MAX sides of the undervolting equation please.
(I do understand underclocking AND that it is a separate and different animal and for the record, my EVO is UC'd to 128/499MHz and using Smartass governor)
I'm just not sure what I'm looking at in the ST interface (what's the first number and what's the number in [] brackets?) and also not sure just why there is both a min and max voltage for each frequency and how it affects performance.
Thanks much for any inputs.
J.
I use vipermod and terminal emulator for aosp roms its much more stable than using system tuner and you can drop all voltages with a single command it all depends on your particular hardware but typically around -100 the phone will lag or freeze i usually stick to -50 at stock voltages and -25 on overclock i never overclock over 1075mhz as anything higher and my phone tries to cook my fingers however now im oc to 1.6ghz on my et4g with a 200mhz min and it stays nice and cool like it was clocked at 1.2ghz stock the exynos is capable of clock speeds up to 2 ghz but the phone doesnt handle those speeds well similar to the evo not liking anything over 1.19 at 1.2 on the evo theres a good chance of frying the logic board or bursting the battery from heat if you overclock dont undervolt too much as it makes the processor get really really hot due to it having to work harder from lack of energy to power it
We are legion, for we are many
Sent from my Anonymous DeathStar in the depths of GalaXy S2
To answer the min/max at each freq min is the lowest voltage that freq will run while idle max is the highest voltage the freq will run while in use the voltages are depenedant on the load running at the particular freq ie how many process' are running the more process' the higher the voltage required to power the processor
We are legion, for we are many
Sent from my Anonymous DeathStar in the depths of GalaXy S2
Is there an app the will show actual voltage the CPU is using in real time?
Sent from my Synergized Aggressive Lionfish Evo using the XDA app
bmw pro will u can set the mv on the widget or set recording in the app and it will log the info
We are legion, for we are many
Sent from my Anonymous DeathStar in the depths of GalaXy S2
I had a similar issue with undervolting and underclocking. I was setting my CPU min/max to 128-499 MHz and undervolting to -75 or -100 using Lee with Smartass v1. But I was getting too many random reboots and freezes on each ASOP rom I tried (e.g. Deck 1.3d, CM7).
I've been playing around with these settings. I changed my CPU to 128-576, no undervolting, and SZ 2.2.1 with SavagedZen governor. I haven't had any random reboots and my batter life is about the same...plus my phone is MUCH snappier. I'm still getting a little screen on lag but not nearly as much as I was at 128-499 and undervolted.
As a note, I normally run Deck 1.3d as my daily driver but for the last couple days I've been running KWIQ. It's definitely giving 1.3d a run for its money as becoming my daily driver.
Anywho, are there any rules of thumb with undervolting and underclocking? Like is 128 MHz is too low with -100 undervolting? Or are these things pretty much phone dependent? I know each phone seems to respond different to these things.
-EViL-KoNCEPTz- said:
To answer the min/max at each freq min is the lowest voltage that freq will run while idle max is the highest voltage the freq will run while in use the voltages are depenedant on the load running at the particular freq ie how many process' are running the more process' the higher the voltage required to power the processor
Click to expand...
Click to collapse
Thank you. That made good sense to me. Question then: is it suggested/typical to drop min and max by equal amounts or is it typical to drop min more (so there's juice for the proc under load but maybe being more aggressive with the sleeping/idle side of things or can the proc run at a given frequency at different voltages)?
jackfrost909 said:
I'm just not sure what I'm looking at in the ST interface (what's the first number and what's the number in [] brackets?)
Click to expand...
Click to collapse
Are you familiar enough with ST to shed some light on this? Please if so. Thank you.
detcup4evr said:
Is there an app the will show actual voltage the CPU is using in real time?
Click to expand...
Click to collapse
-EViL-KoNCEPTz- said:
bmw pro will u can set the mv on the widget or set recording in the app and it will log the info
Click to expand...
Click to collapse
Though I have to recheck this I don't remember BMW showing the voltage being used at each frequency just the overall voltage draw. If you know otherwise or another tool that does, please share
Thanks for all the help.
J.
--
Tapa Tapa Tapa..
Let's see.. My phone flies, my battery doesn't suck.. and your point was.... ?
OG EVO - Deck'd and LEE'd because it's just better this way.
Lionfish kernel
Has anyone tried undervolting with lionfish kernel on SENSE Roms, is it stable?
einstein562 said:
Has anyone tried undervolting with lionfish kernel on SENSE Roms, is it stable?
Click to expand...
Click to collapse
I use aggressive and it works well but some phones don't like it, hopefully I can get vipermod to work, and that will allow you to adjust each frequency independently
Sent from my Synergized Aggressive Lionfish Evo using the XDA app
I actually just got rid of lionfish aggressive on MikG3.11
I had a lot of lagginess, but battery life was really good... Back to anthrax for me, lionfish was based at one point on freedom kernels I thought, maybe one of those would be better...?
What's the best thing to use to control undervolting on sense roms?
Sent from my PC36100 using Tapatalk 2
Is the battery life improvement substantial when undervolting?
I have governators set at 240-650max and am getting decent life on my ics savoca kernel.
What % improvements are obtained?
Well I don't have logcats and scientific evidence, but I saw about 12 hour days, with moderate use, everything syncing, lots of text a few calls, hotspot for an hour or so, some web browsing, but the random revolts and lagginess on that was horrible, freedom was better.... It's worth it to underclock
I have everything set to 384-1152.
Different governors for profiles, screen off @ conservative because I have a lot to sync
Sent from my PC36100 using Tapatalk 2

Safe voltages for my Titanium kernel setup?

Hi,
I'm a bit of a newb when it comes to undervolting, and I'd like some insight on safe values for my kernel.
I'm currently running:
PACman ROM (4.1.2 Jelly Bean)
A nice 1804Mhz overclock - my phone can handle this with very little overheating
A minimum clock of 368Mhz
sio scheduler
Lionheart CPU governor
Now, the problem I have is that when the phone isn't an amazing performer at battery life. Undervolting seems like the way to go to fix this (I like my overclock!), yet all of the apps I have seen don't work for some reason - I'm pretty sure the only way to edit voltage levels is to edit the vdd_levels file.
As I'm new to this, I'd definitely like some support in picking a voltage that is safe for my phone - if I have to sacrifice a little battery to avoid my CPU conking from lack of power I'm fine with that - and that provides at least a bit of battery boost.
Thanks in advance,
-Cameron
Limit the least to 850
Sent from my One V using xda app-developers app

[Q] Overclocking Underclocking - Overvolting Undervolting

I'm interested in underclocking/overclocking my S3 to save battery life primarily. I understand that underclocking is different than using a CPU governor. What is the difference exactly?
Also, is it possible to underclock using the CM10 nighties? I understand that underclocking is dependent on the kernel you use. Does the standard CM10 kernel have this capability? Or does anyone know if its possible to get another kernel that CM10 is compatible with that has the capabilities to underclock?
thanks!
This thread would be a good place to start reading.
http://forum.xda-developers.com/showthread.php?t=1369817

Categories

Resources