Overclocking/Underclocking??!!??? - G1 Android Development

As I like to test all roms, i thought i would post in this forum, i read a lot about overclocking etc, now I have a 32b magic, and i got the setcpu application, I use my phone a lot on opera mini, calling and texts, and the odd game, been told overclocking uses more battery, but whats the best setting for my phone, someone says put max 528 minimum 122, others say as i browse a lot put maximum 245 minimum 122 which i presume is underclocking, thanks for any help given btw im running CaNNoNs 2.2.1 rom

528 is overclocked on the G1, it's whatever the setting is around 300 that is the default clock speed.

Overclock if you want speed. Under clock if you want more battery life. That's it.

Funkstar De Luxe said:
Overclock if you want speed. Under clock if you want more battery life. That's it.
Click to expand...
Click to collapse
Or use Pershoot's kernels and overclock/undervolt. I prefer Dumfuq's balls-to-the-wall overclocking b/c it's no big deal to carry an extra battery
Maybe it would be a good idea to have a Sticky for overclocking!

Related

NOOB question: overclocking, Mhz, JIT

hey guys,
looking to make the jump to 2.1 rom (most probably htcclay). but ive been looking at alot of different threads and i'm seeing a lot of comments regarding overclocking, setcpu, 528Mhz, 710Mhz, and JIT.
I'm trying to make sense of it all and want to know how to understand it properly. can anyone help? or point me in the right direction with a link explaining stuff?
im currently using a 32A magic with the old radio =)
Noob tries to help noob:
MHz refers to the frequency of the CPU. This reflects the speed at which operations are executed on an overall level. The original HTC Magic ROM was around 312 MHz if I remember correctly (which was in fact underclocked). Then the threshold was pushed to original frequency (around 512 MHz).
However, the frequenzy is not fix but rather adaptive in a range (speed stepping). If an application requires CPU time, the frequency goes up to those values indicated in the paragraph above. When the processor is idle however, frequency goes done to somewhere around 200MHz to save power (as higher MHz consumes more power).
Therefore 710 MHz reflects the upper limit of the range and is beyond the factory 512 MHz. Thus you gain roughly 30% peak performance.
JIT: Just In Time compilation. Another way to compile the Java code . This methode is introduced by replacing a library in the system and available in ROMs >= Android 1.6 . The performance gain is said around 30% but... I don't now whether this affects only apps or the overall system.
Hope this helps (probably not all numbers given are correct, but the concept should be).
Romwise I stick with Sanpei's Eris port. Not overclocked but smooth and good for everyday live
thanks for that dude! that makes a hell of a lot more sense to me =)
i popped the htcclay 2.1 rom from for 32A on last night and its working a charm. i set the frequency to max 528MHz, and min 245Mhz.
Is there any recommended settings to optimize the battery life so you can use it as an everyday rom? I grown quite fond of android 2.1, and the launcherpro beta is SO fast.
i know the whole idea of SetCPU is to customise whats right for you, but because I'm knew to all this I just need some direction as to what the best general settings are
Yes the non-sense 2.1 ROMs are speed wise amazing. I missed the HTC dialer though. I like to be able to type names on the keypad which is - to my knowledge - not possible on standard dialer. Also the HTC calendar app is a thing I havily rely on and the 2.1 Andorid Calendar is simply crap in comparison. That's why I stick with Sense ROMs.
However, speaking of overclocking. There is now clear rule. To factors affect your choice: your phone usage pattern, the individual quality of your hardware.
Hardware Quality: Processors and boards are guaranteed to operate flawless in a certain frequency range. Most processors can handle more that guaranteed (because there is a safety margin introduced by the factory) . However, how much more the processory can actually handle (before it starts to throw errors and faults) is rather individual.
Usage pattern meaning: if you're a havy gamer and you play ressource hungry games you will put the upper threshold as high as possible (however, you might also consider buying an XBOX which is more fun). Also if you feel that your phone response is sluggish. But, as long as you feel fine with the response of your phone, I would not go up with frequency (not for power reasons, rather stability of the OS). Go up if you feel that you need more processing power.
The lowest threshold is probably 128 MHz. I never tried that because I read of phones which would not wake up after having gone in standby. This is not dangerous (you only have to reboot) but personally I cannot afford to miss a call because of that. So I stick above 200.
Regards,
F
well in regards to my usage pattern, i dont play any games on my phone at all. for the reason being i dont want it to consume battery on the handset.
i dont even use it much for calls. i do a LOT of sms, facebook, youtube, emails, and some widgets which requires data usage. so what would u recommend for something like this? i want the rom to be zippy, not sluggish, but not drain the battery too fast?
and how do i know which operations/apps require CPU time?
no doubt about sense-ui is amazing! im even thinking of getting a htc desire soon, or just seeing what else is coming out soon. which model of phone are u using the sanpei eris port??
32A, New Radio. Use Radio Switcher from eyegor: Sticky Post. Works like charm but be careful and read the instructions (or you might end up buying a desire sooner than you intended to). I am usind a partitioned SD with EXT 3 System for apps2SD and a cache partition. SD can be formatted this way from Recovery.
I think Sanpei's Eris is the best 2.1 compromise for the time being. However, based on your comments on how you use your phone, probably you even don't need 2.1 and are fine with 1.5. Then try this (this is also for the new Radio: use Radio Switcher)
Cursorsense's 1.5 (Most solid build I know of)
http://forum.xda-developers.com/showthread.php?t=592856
Then before booting flash this:
http://forum.xda-developers.com/showthread.php?t=681378
Boot and fasten your seatbelt. It's not as fast as HTCClay... but its the closest experience you can get with any Sense ROM...
Regards,
F
PS: Probably there is a huge flame coming our way for off topic discussion. I guess we have to stop. Going for cover
LOL! ur help has been awesome my friend =)
LOL! ur help has been awesome my friend =)
I would recommend you use cyanogenmod 5 if you want stability
sense roms cannot compare to AOSP roms for stability because they are a proprietary framework which cannot be updated unless htc releases a new version
and CM 5 is the fastest eclair rom I have tried - faster than even donut roms
i wouldnt go with 1.5....there are to many apps/widgets that wont run...
i would recommend cyan's latest 1.6 rom, 4.2.15.1 .. stable (better than stock roms), fast and has great battery life...
if you must get 2.1 then go for cyan's latest 5.0.7 test6 2.1 rom, or sanpei's if you must really want sense...
i run cyan's latest 2.1 rom and its stable as hell, as fast as his 1.6 rom, rock solid and great battery life..
ultimately its your choice.. i would stay away from JIT though, to unstable...
feicher said:
Yes the non-sense 2.1 ROMs are speed wise amazing. I missed the HTC dialer though. I like to be able to type names on the keypad which is - to my knowledge - not possible on standard dialer.
Click to expand...
Click to collapse
try DialerOne, it has the "keypad-T9" function and is free on the market
the only downside is it's really not as pretty as the sense dialer(feels a little clunky and outdated)
as far as the ROM goes, i'm using alan090's modded CM5 t5 right now, OC'd to 710MHz and with JIT enabled. best rom i've had so far, really snappy and stable. JIT seems to be very stable on my phone, i wasn't even sure i had enabled it correctly at first.. until i ran linpack and got a good 4.5 MFLOPS
I have a somewhat related question:
should i be afraid of a overclocked cpu rom heating wise? sometimes i feel my phone heating a little and i am using a default speed rom.

Mytouch 4g Setcpu Optimization

So I've been searching the forums for a good thread on optimizing setcpu for specifically the Mytouch 4G. I couldn't find one so after i read up on it i created this profile. The tweaks that I've found make this run very fast and gets me easily 18 hours of battery life, and that is with moderate usage. These setting should work for most if not all devices. I don't get any real noticeable lag even when turning the screen on. I'm Using SetCPU 2.1.0 on a Grankin01 Kernel on a Stock ROM, and I'm also using "Autokiller Memory Optimizer" using moderate preset. Hopefully people will post there profiles anyway here it is.
Here is the thread for the Kernel I'm usinghttp://forum.xda-developers.com/showthread.php?t=876848
and here is a link for setcpu basics.
http://androidforums.com/evo-4g-all-things-root/210253-setcpu-guide.html
Alright here are my most recent setting I've been running.
I get around 20 hours of battery life on my phone with moderate use my set CPU settings are
Overclocked to 1.5 ghz minimum 245 ghz
Battery below 30% Max 1 ghz min 245 ghz
Screen off max 245 ghz min 245 ghz
Latest Cyanogen mod Alpha 7.0
I use max 1113 min 245 scaling on demand...screen off min 245 max 350
MT4G + CM7
Pretty sure this is in the wrong place. I guess you read up on everything except where would an appropriate place to post this be.
Sent from my MT4G running Gingerbread
I get 24hrs if I put my phone away! 6hrs on average lol. Cm7 stock kernel. Grankins breaks youtube everytime. Screen off 328 max 248 min. On demand.
Sent from my HTC Glacier using XDA App
With all the CM7 flashing, I get about 12-15hrs with 149760-245760
Sent from my Gridlocks' CM7 MT4G using XDA App
stlouie65 said:
With all the CM7 flashing, I get about 12-15hrs with 149760-245760
Sent from my Gridlocks' CM7 MT4G using XDA App
Click to expand...
Click to collapse
louie i dont know what to make of your preset here... Either you are running your phone incredibly slowly or you have forgotten a 0 on the end and are crazy OCing it...
Have mine set at 76800-1113600 on demand and I demand a lot and average about 8hrs. CM7, zinx kernel,with superpower.
I've been trying to get profiles and triggers down except I use CPU tuner inserted of setcpu. Is it possible to over clock yet still save battery? I doubt that somehow lol. If anyone can post full settings that save battery but still runs well I'd appreciate it. Ill copy one of you guys.
Questions though. What is all the governor stuff like performance, conservative, on demand, etc? What are the thresholds? What are the min max standards? Like if I have 300 and 1500, which does it user and why? Those are the only things I can't grasp
Sent from my HTC Glacier using XDA App
xFate said:
I've been trying to get profiles and triggers down except I use CPU tuner inserted of setcpu. Is it possible to over clock yet still save battery? I doubt that somehow lol. If anyone can post full settings that save battery but still runs well I'd appreciate it. Ill copy one of you guys.
Questions though. What is all the governor stuff like performance, conservative, on demand, etc? What are the thresholds? What are the min max standards? Like if I have 300 and 1500, which does it user and why? Those are the only things I can't grasp
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
Check out this link it has all you'll need to know http://androidforums.com/evo-4g-all-things-root/210253-setcpu-guide.html
What you want is your device to throttle based on the load being put on it. When you aren't doing much i.e. reading a text it should be clocked at 245760 for example because that's not a demanding task. and versely when you play a graphics intensive app or something, it should use just over the maximum amount of cpu power needed to run the app so the app runs smooth. but wont waste battery by overclocking to 1708800 when only a speed of 1017600 is needed. For this i use "conservative" on SetCPU because it will allow more customization.
My advanced settings for SetCPU are as follow. i haven't use CPU Tuner but hopefully it's similar.
Sample Rate you want kinda low 200000 is what i have and i don't get much if any lag.
Up Threshold is at what percentage of processor usage that the clock speed is increased. for me its set to 60. in other words at 60% load on the processor it will start to increase the clock speed.
Down Threshold is the load percentage where the clock speed will be reduced. i have mine set to 33.
Ignore Nice Load will just ignore nice processes. This includes system i believe. i have mine set to 0.
Grabbed this from a mac forum but it should apply.
"A process's priority is determined with a complex formula that includes what the process is doing and how much CPU time the process has already consumed. A special number, called the nice number or simply the nice, biases this calculation: the lower a process's nice number, the higher its priority, and the more likely that it will be run."
Frequency Step is how much of a jump the CPU will take to meet the load. mine is set low, (12) because most processes and apps wont need a whole lot of boost to run smoothly. For my device on average it will be under 768000 which is what you want and is where the battery saving really comes in. Because the CPU is under-clocked most the time its using a lot less battery but is still running everything smoothly.
A lot of people set there devices to ondemand because it's, "very responsive." although true its responsiveness comes from big steps in clock speed as opposed to the small ones that will most likely get the same job done. i.e. a clock speed of 902400 is more then enough to run the process quickly ondemand will jump to 1708800 to handle the same task.
copied from the above link at android forums.
" * ondemand - Available in most kernels, and the default governor in most kernels. When the CPU load reaches a certain point (see "up threshold" in Advanced Settings), ondemand will rapidly scale the CPU up to meet demand, then gradually scale the CPU down when it isn't needed.
* conservative - Available in some kernels. It is similar to the ondemand governor, but will scale the CPU up more gradually to better fit demand. Conservative provides a less responsive experience than ondemand, but can save battery.
* performance - Available in most kernels. It will keep the CPU running at the "max" set value at all times. This is a bit more efficient than simply setting "max" and "min" to the same value and using ondemand because the system will not waste resources scanning for the CPU load. This governor is recommended for stable benchmarking.
* powersave - Available in some kernels. It will keep the CPU running at the "min" set value at all times.
* userspace- A method for controlling the CPU speed that isn't currently used by SetCPU. For best results, do not use the userspace governor."
Please post in General section, not dev.
Well i changed my setting a little to be a bit more responsive and i haven't noticed a increase in battery usage. I set my max speed to 1516800 and min to 368640 and its running quite nicely.
Anyone else getting good result with the conservative setting?
Keldarr said:
So I've been searching the forums for a good thread on optimizing setcpu for specifically the Mytouch 4G. I couldn't find one so after i read up on it i created this profile. The tweaks that I've found make this run very fast and gets me easily 18 hours of battery life, and that is with moderate usage. I don't get any real noticeable lag even when turning the screen on. I'm Using a Grankin01 Kernel and I'm also using "Autokiller Memory Optimizer" using moderate preset. Hopefully people will post there profiles anyway here it is.
Here is the thread for the Kernel I'm usinghttp://forum.xda-developers.com/showthread.php?t=876848
and here is a link for setcpu basics.
http://androidforums.com/evo-4g-all-things-root/210253-setcpu-guide.html
Edit: I've been using my phone for the last 12 hours I unplugged it this morning and have only plugged it in to pull a screen shots with android commander then unplugged it and my battery is at 53% I've watch youtube, txt, made calls, taken pictures ect, ect normal crap, and its running strong. I've made small adjustments on some of my thresholds but they are mostly similar.
Click to expand...
Click to collapse
What version of SetCPU are you using? In mine I don't have the threshold for down, and my sampling rates are way different. Mine is set as from install at 50000. Running cm7alpha.
Using 2.1.0 and I have all the mentioned settings Bob
bobsbbq said:
What version of SetCPU are you using? In mine I don't have the threshold for down, and my sampling rates are way different. Mine is set as from install at 50000. Running cm7alpha.
Click to expand...
Click to collapse
Sent from my stickie key HTC Glacier using XDA App
Is there a way to change voltage? Frequency rules saves are minumum on cellphones.
I'm using Setcpu 2.1.0 and I'm using a stock OC Kernel from Grankin01 and u have to set the profile to conservative.
NovoRei said:
Is there a way to change voltage? Frequency rules saves are minimum on cellphones.
Click to expand...
Click to collapse
Frequency rules saves do save a lot of battery. Combine with undervolting and memory optimizations and you'll get big saves. But no setcpu is solely for cpu settings.
Whats the most stable speed to run this at?
So far i haven't had any stability issues on the Grankin01 Kernel. They ironed out most the stability issues in the Kernel its self. I do however keep my main profile around 1708800 - 1516800, generally 1516800, and min is set to 368640 and I've had no problem not even a signal freeze or crash. I've also run at 1708800 for most of the day plugged in and no issues other then heat. So i think is up to mostly prefrence.
I'm using a stock rom with bloatware removed and as i mentioned the Grankin01 1.7 OC Kernel.
Here is what I'm talking about. Sometimes the auto detect or something is wrong and I get this screen instead of the one you get. I don't understand why. I change ROMS a lot and I don't know if it is ROM specific or not. I'm currently on the cm7 preview from Zinx. Although I have seen it on other ROMS also as I posted before. Here is a pic.
Ignore the dropcap2 as I had just used it to take the picture.
bobsbbq said:
Here is what I'm talking about. Sometimes the auto detect or something is wrong and I get this screen instead of the one you get. I don't understand why. I change ROMS a lot and I don't know if it is ROM specific or not. I'm currently on the cm7 preview from Zinx. Although I have seen it on other ROMS also as I posted before.
Click to expand...
Click to collapse
Looks like from your screen shot that the profile SetCPU is using is on On demand, interactive or some default. What Kernel are you using? that may be the issue. If not a kernel issue. Then it may be a issue with CM7 and how SetCPU interacts with it. try disabling all your profiles and make sure that your main profile is for sure set to conservative.
Nothing else make a backup and try a different Kernel. Grankin01 has a few great ones and even a CM7 kernel with tunes and tweaks. As well as Gorilla. but id try the CM7 Kernel Grankin01 has first my buddy is running it and hasn't had problems. Just make you do a full backup to avoid a FUBAR situation.
http://forum.xda-developers.com/showthread.php?t=876848 Grankin01
http://forum.xda-developers.com/showthread.php?t=846451 Gorilla
Keldarr said:
Looks like from your screen shot that the profile SetCPU is using is on On demand, interactive or some default. What Kernel are you using? that may be the issue. If not a kernel issue. Then it may be a issue with CM7 and how SetCPU interacts with it. try disabling all your profiles and make sure that your main profile is for sure set to conservative.
Nothing else make a backup and try a different Kernel. Grankin01 has a few great ones and even a CM7 kernel with tunes and tweaks. As well as Gorilla. but id try the CM7 Kernel Grankin01 has first my buddy is running it and hasn't had problems. Just make you do a full backup to avoid a FUBAR situation.
http://forum.xda-developers.com/showthread.php?t=876848 Grankin01
http://forum.xda-developers.com/showthread.php?t=846451 Gorilla
Click to expand...
Click to collapse
You are right it was the main profile was set to on demand and when set to on demand these available options change.
As far as kerenls go I have not had good luck with Grankin CM Gingerbread kernels but he is working on a fix.

Optimal CPU OC Settings for Droid X

I'm using SetCPU on my rooted Droid X and I wanted to see if anyone could help me find the best CPU settings for my OC'd DX. Right now I have it set at 800 MHz minimum and 1000MHz maximum with scaling on demand and 'Set on Boot' enabled.
Any guidance I could get on this would be greatly appreciated.
Battery life isn't an issue.
Thanks!
youre asking a really open ended question here bud
because what it comes down to is a multitude of factors
ie: what android OS youre using, what version, what rom, what programs you have to aid in overclocking, what do you use your droid x for on a regular basis, are you looking to tweak speed for mere benchmark results or to conserve power, do you game, etc etc etc.
youd have to give me more to go on bud
every phone is different also. i have the same setup as my phone on my friends, and he cant oc past 1.15 without hanging. personally, my highest profile in droid overclock is 1.25 ghz at 58vsel. and lowest 250mhz at around 28vsel
by the way on on liberty 2.0.1 with a theme and a few build.prop tweaks

Overclocking .apk

Will an overclocking .apk be made for the O3D?
Is this possible rather than the current method which is being used in the custom ROM's?
I'm a noob so please bare with me.
with overclocking you would use setcpu or something similar to set the frequency. right now oc for this phone is still in a very early stage which is why we only have the top speed. once we get everything worked out you will be able to set multiple oc speeds in setcpu. i am working on trying to make 1008 available in setcpu so that you can then select from 300, 600, 800, 1008, 1188(or whatever you are oc'ed at) it will all come in due time for now all we can change is the top speed
...fighting ninjas at night, talkin' about this and that.
Cool. Just a case of waiting then.
Thanks for the reply.

noob overclocking question

I'm running cleanROM DE... Chose to overclock to 1.8. And also flash dual core mod. Question is, when I set it to max at 1.8 and minimum at 1.8 along with performance, and I run a benchmark, it says max is 1.8 but almost all of them say current frequency is 1512??? Is it just an incognito mod? But I have to say, the Damn thing is absolutely blazing fast!!! Not to mention I keep it on a strict diet too, only a couple games and the nessesary apps.. but here's a screenshot of my quadrant run...
InflatedTitan said:
I'm running cleanROM DE... Chose to overclock to 1.8. And also flash dual core mod. Question is, when I set it to max at 1.8 and minimum at 1.8 along with performance, and I run a benchmark, it says max is 1.8 but almost all of them say current frequency is 1512??? Is it just an incognito mod? But I have to say, the Damn thing is absolutely blazing fast!!! Not to mention I keep it on a strict diet too, only a couple games and the nessesary apps.. but here's a screenshot of my quadrant run...
Click to expand...
Click to collapse
I'm sure it's been mentioned somewhere in the CleanROM DE thread. Mine does this too. SetCPU will show my clock up at 1.8 but the cpu time monitor and CPUSpy never report the 1.8 frequency.
Yea i used CPU benchmark and it indeed got all the way down to 418 Ms @ 1809 MHz... So its all good I guess. I like mine full throttle as i usually keep my charger on me so battery usually isn't an issue. (Mine walks all over my buddy's gsIII in their current forms)... Thanks for the second opinion bro.

Categories

Resources