DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: SetCPU Basics

  1. Junior Droid
    Chris.Go's Avatar
    Member #
    65091
    Join Date
    May 2010
    Posts
    22
    Phone
    Moto Droid A855
    #1

    SetCPU Basics

    Is SetCPU really required or can the stock BB 1.1 or even .21 just perform better on it's own? The program is a pain in the ass and the widget is goofy. So it comes down to this Yes or No? If you install a 1250 ROM do you need SetCPU to actually benefit?
  2. Sponsor
    DF Advertising
    Join Date
    Nov 2008
    Location
    DroidForums.net
     
     
     
     
  3. Junior Droid
    kskwerl's Avatar
    Member #
    51693
    Join Date
    Mar 2010
    Posts
    13
    Phone
    Motorola Droid
    #2
    Quote Originally Posted by Chris.Go View Post
    Is SetCPU really required or can the stock BB 1.1 or even .21 just perform better on it's own? The program is a pain in the ass and the widget is goofy. So it comes down to this Yes or No? If you install a 1250 ROM do you need SetCPU to actually benefit?
    Idk, I installed a 1100 kernal with BB1.1 and I went into SetCPU and it was still at my previous settings of 800 and not 1100, but it SetCPU I could only get it up to 1000. :/
  4. Master Droid
    BigMcGuire's Avatar
    Member #
    15290
    Join Date
    Dec 2009
    Location
    Los Angeles, California
    Posts
    981
    Phone
    HTC Thunderbolt
    #3
    Quote Originally Posted by Chris.Go View Post
    Is SetCPU really required or can the stock BB 1.1 or even .21 just perform better on it's own? The program is a pain in the ass and the widget is goofy. So it comes down to this Yes or No? If you install a 1250 ROM do you need SetCPU to actually benefit?
    According to the notes in the last BB Froyo version - Pete sets it so that it will use the highest CPU slot available. The first version didn't do this so if you put a custom kernel on, you had to use SetCPU to use that extra CPU over 800Mhz. You just reposition the CPU bar back and forth and you'll be able to use all the CPU in that kernel. Version 0.2 fixes this. So you don't NEED SetCPU.

    I use it because I overclock to 1.2Ghz and it is nice having a failsafe. SetCPU will clock down my phone's processor if the temperatures get too hot.

    I've also noticed that while charging Froyo uses a lot of CPU. So I downclock it while it is charging via the profiles automatically.


    I don't think you're going to "perform better" with or without SetCPU. Because 1.2Ghz is the same with or without SetCPU. You just have more control/options with SetCPU that you may or may not need.
  5. Droid Ninja
    Se7enLC's Avatar
    Member #
    5148
    Join Date
    Nov 2009
    Posts
    1,263
    Liked
    6 times
    Phone
    Samsung Galaxy Nexus
    #4
    Quote Originally Posted by BigMcGuire View Post
    According to the notes in the last BB Froyo version - Pete sets it so that it will use the highest CPU slot available. The first version didn't do this so if you put a custom kernel on, you had to use SetCPU to use that extra CPU over 800Mhz. You just reposition the CPU bar back and forth and you'll be able to use all the CPU in that kernel. Version 0.2 fixes this. So you don't NEED SetCPU.
    Yes, this is exactly correct.

    I use it because I overclock to 1.2Ghz and it is nice having a failsafe. SetCPU will clock down my phone's processor if the temperatures get too hot.
    But in Froyo kernels, the phone's processor temperature sensor doesn't work, yet, so that may be a moot point.

    I've also noticed that while charging Froyo uses a lot of CPU. So I downclock it while it is charging via the profiles automatically.
    A lot like, always > 500Mhz? If that's all, that's not a Froyo thing. Somewhere built-into the droid is a hard-limit. When it is plugged into AC, the CPU will not go lower than 500Mhz, even if you set it manually with SetCPU or directly manipulating the values in /sys. If you charge via USB, however, it will go wherever you tell it to.

    I don't think you're going to "perform better" with or without SetCPU. Because 1.2Ghz is the same with or without SetCPU. You just have more control/options with SetCPU that you may or may not need.
    Exactly. If you want profiles to automatically set your maximum/minimum in different circumstances, use SetCPU. If you just want to set the max speed to be the max supported speed for the kernel, just use stock BB. If you want to pick your own max/min speed and governor on command, but otherwise leave it alone, I wrote a script to make that easier. In all three of those cases, the frequency will scale based on usage (it's not going to stick on at full speed)
    Cool CM Tricks
    custom_backup_list.txt - make a list of files in /system that will survive a nightly install (ringtones, notifications, system apps, wallpapers, whatever)
    in Terminal Emulator, set this as your shell command: "/system/xbin/su -c /system/xbin/bash". You get all the features of bash, root access, and you can still use the initial command field for whatever you want (default is adding /data/local/bin to your path)
  6. Master Droid
    Skull One's Avatar
    Member #
    45849
    Join Date
    Mar 2010
    Posts
    760
    Liked
    9 times
    Phone
    iPhone 4S daily. Droid and DX
    #5
    Quote Originally Posted by Chris.Go View Post
    Is SetCPU really required or can the stock BB 1.1 or even .21 just perform better on it's own? The program is a pain in the ass and the widget is goofy. So it comes down to this Yes or No? If you install a 1250 ROM do you need SetCPU to actually benefit?

    I suggest you read two things:

    http://www.droidforums.net/forum/hac...ing-101-a.html

    And my post in response to SetCPU and Peter's claims.

    SetCPU Vs Petes V1.1 CPU script
    Facts are the very first casuality of bad information.
  7. Master Droid
    Phxphenom's Avatar
    Member #
    67765
    Join Date
    May 2010
    Posts
    287
    Phone
    Enter Current Phone Model Here
    #6
    Quote Originally Posted by Skull One View Post

    I suggest you read two things:

    http://www.droidforums.net/forum/hac...ing-101-a.html

    And my post in response to SetCPU and Peter's claims.

    SetCPU Vs Petes V1.1 CPU script
    I suggest you read the Overclocking 101 thread first.....intense reading material but very helpful.
    Marc F. (Scottsdale, Az)
    Bugless Beast V0.5 (Froyo)
    Slayher 1.1ghz ULV kernal
    ClockworkMod Recovery
    LauncherPro

    Follow me at http://www.twitter.com/Phxphenom
  8. Droid Ninja
    Se7enLC's Avatar
    Member #
    5148
    Join Date
    Nov 2009
    Posts
    1,263
    Liked
    6 times
    Phone
    Samsung Galaxy Nexus
    #7
    Quote Originally Posted by Skull One View Post
    And my post in response to SetCPU and Peter's claims.

    SetCPU Vs Petes V1.1 CPU script
    Your comments are out of date, now. For previous version of BB, you were correct - the maximum CPU scaling speed was hard-coded into the /system/xbin/pete script. Customized copies of that script were distributed with the bekit kernels recommended with BB. That's why ONLY the recommended kernels went the right speed. But again, this is no longer the case as of BB 0.2.

    BB 0.2 Froyo uses /system/etc/install-recovery.sh as a startup script. Inside the startup script it sets the scaling_max_freq value (in the /sys virtual filesystem). It sets it to the value found in cpuinfo_max_freq (also found in the /sys virtual filesystem).

    What this means is that on boot, it DOES set the speed to the maximum value supported by your kernel on boot - regardless of what kernel you have! The /sys virtual filesystem is like a window into the kernel. Some of the virtual files in there are designed for reading values from, some are designed for writing values, and some can do both. In this case, you are reading the maximum supported cpu speed in the cpuinfo_max_freq file and writing that to the scaling_max_freq file to select that speed. Without having to modify that startup script, you can flash a new kernel and rest assured that when you boot back up, you will be running at your new maximum speed!

    NOTE: There IS still a problem! Your MINIMUM speed is still being hard-coded to 250Mhz. If you install a kernel that does not have a 250Mhz slot, all bets are off as to what your minimum speed will be set to.

    I wrote a setspeed script to allow simple modification of speed both immediately and persistent between reboots, compatible with the latest releases of BB Froyo (0.1, 0.2 and 0.2.1). See it in another thread in this subforum.
    Cool CM Tricks
    custom_backup_list.txt - make a list of files in /system that will survive a nightly install (ringtones, notifications, system apps, wallpapers, whatever)
    in Terminal Emulator, set this as your shell command: "/system/xbin/su -c /system/xbin/bash". You get all the features of bash, root access, and you can still use the initial command field for whatever you want (default is adding /data/local/bin to your path)
  9. Master Droid
    Skull One's Avatar
    Member #
    45849
    Join Date
    Mar 2010
    Posts
    760
    Liked
    9 times
    Phone
    iPhone 4S daily. Droid and DX
    #8
    Quote Originally Posted by Se7enLC View Post
    Quote Originally Posted by Skull One View Post
    And my post in response to SetCPU and Peter's claims.

    SetCPU Vs Petes V1.1 CPU script
    Your comments are out of date, now. For previous version of BB, you were correct - the maximum CPU scaling speed was hard-coded into the /system/xbin/pete script. Customized copies of that script were distributed with the bekit kernels recommended with BB. That's why ONLY the recommended kernels went the right speed. But again, this is no longer the case as of BB 0.2.

    BB 0.2 Froyo uses /system/etc/install-recovery.sh as a startup script. Inside the startup script it sets the scaling_max_freq value (in the /sys virtual filesystem). It sets it to the value found in cpuinfo_max_freq (also found in the /sys virtual filesystem).

    What this means is that on boot, it DOES set the speed to the maximum value supported by your kernel on boot - regardless of what kernel you have! The /sys virtual filesystem is like a window into the kernel. Some of the virtual files in there are designed for reading values from, some are designed for writing values, and some can do both. In this case, you are reading the maximum supported cpu speed in the cpuinfo_max_freq file and writing that to the scaling_max_freq file to select that speed. Without having to modify that startup script, you can flash a new kernel and rest assured that when you boot back up, you will be running at your new maximum speed!

    NOTE: There IS still a problem! Your MINIMUM speed is still being hard-coded to 250Mhz. If you install a kernel that does not have a 250Mhz slot, all bets are off as to what your minimum speed will be set to.

    I wrote a setspeed script to allow simple modification of speed both immediately and persistent between reboots, compatible with the latest releases of BB Froyo (0.1, 0.2 and 0.2.1). See it in another thread in this subforum.
    The point of my argument wasn't the fact that the overclocking was hard coded instead of reading the files to set low and high.

    My point was SetCPU can be used to protect the CPU overheating under 2.1 and below rom sets.

    And once 2.2 kernels get CPU temp code built in, then we can add that to the list as well.
    Facts are the very first casuality of bad information.
  10. Droid Sensei
    czerdrill's Avatar
    Member #
    22335
    Join Date
    Jan 2010
    Posts
    4,850
    Liked
    103 times
    Phone
    OG Droid UD 3.0 -- GB :)
    #9
    Quote Originally Posted by Skull One View Post
    Quote Originally Posted by Se7enLC View Post
    Quote Originally Posted by Skull One View Post
    And my post in response to SetCPU and Peter's claims.

    SetCPU Vs Petes V1.1 CPU script
    Your comments are out of date, now. For previous version of BB, you were correct - the maximum CPU scaling speed was hard-coded into the /system/xbin/pete script. Customized copies of that script were distributed with the bekit kernels recommended with BB. That's why ONLY the recommended kernels went the right speed. But again, this is no longer the case as of BB 0.2.

    BB 0.2 Froyo uses /system/etc/install-recovery.sh as a startup script. Inside the startup script it sets the scaling_max_freq value (in the /sys virtual filesystem). It sets it to the value found in cpuinfo_max_freq (also found in the /sys virtual filesystem).

    What this means is that on boot, it DOES set the speed to the maximum value supported by your kernel on boot - regardless of what kernel you have! The /sys virtual filesystem is like a window into the kernel. Some of the virtual files in there are designed for reading values from, some are designed for writing values, and some can do both. In this case, you are reading the maximum supported cpu speed in the cpuinfo_max_freq file and writing that to the scaling_max_freq file to select that speed. Without having to modify that startup script, you can flash a new kernel and rest assured that when you boot back up, you will be running at your new maximum speed!

    NOTE: There IS still a problem! Your MINIMUM speed is still being hard-coded to 250Mhz. If you install a kernel that does not have a 250Mhz slot, all bets are off as to what your minimum speed will be set to.

    I wrote a setspeed script to allow simple modification of speed both immediately and persistent between reboots, compatible with the latest releases of BB Froyo (0.1, 0.2 and 0.2.1). See it in another thread in this subforum.
    The point of my argument wasn't the fact that the overclocking was hard coded instead of reading the files to set low and high.

    My point was SetCPU can be used to protect the CPU overheating under 2.1 and below rom sets.

    And once 2.2 kernels get CPU temp code built in, then we can add that to the list as well.
    Agreed, it goes back to why you want to use setCPU. No script in the world will be able to dynamically monitor temps and adjust kernel speeds accordingly. Same with reading battery states. Whether or not pete allows you to use any kernel in the world is cool, but it doesn't solve the problem of having profiles and it never will without a setCPU or setCPU like application.
    Google Interview Q&A

    Apple CEO, Verizon COO
  11. Droid Ninja
    Se7enLC's Avatar
    Member #
    5148
    Join Date
    Nov 2009
    Posts
    1,263
    Liked
    6 times
    Phone
    Samsung Galaxy Nexus
    #10
    Quote Originally Posted by Skull One View Post
    The point of my argument wasn't the fact that the overclocking was hard coded instead of reading the files to set low and high.

    My point was SetCPU can be used to protect the CPU overheating under 2.1 and below rom sets.

    And once 2.2 kernels get CPU temp code built in, then we can add that to the list as well.
    Ahh, oops - I misread your point, then. The over-simplified bullet point in the release notes for BB that says "removed need for SetCPU" doesn't really explain how there are other features that SetCPU offers that BB just doesn't - like the profiles and temperature monitoring.

    Yeah, BB does NOTHING to prevent overheating due to overclocking - but it also doesn't have anything active in memory to do the overclock like SetCPU does. So it's a tradeoff - the risk of overheating vs the battery life reduction of having a resident app in a polling loop reading sensors.
    Cool CM Tricks
    custom_backup_list.txt - make a list of files in /system that will survive a nightly install (ringtones, notifications, system apps, wallpapers, whatever)
    in Terminal Emulator, set this as your shell command: "/system/xbin/su -c /system/xbin/bash". You get all the features of bash, root access, and you can still use the initial command field for whatever you want (default is adding /data/local/bin to your path)
Page 1 of 2 1 2 LastLast

Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Good Link with the basics about ROM's?
    By vtvette in forum Android Roms
    Replies: 0
    Last Post: 04-19-2010, 09:01 PM
  2. SetCPU help please :)
    By nmoore125 in forum Droid Hacks
    Replies: 9
    Last Post: 03-16-2010, 08:39 PM
  3. SetCPU help
    By Slntagent in forum Droid Hacks
    Replies: 2
    Last Post: 03-15-2010, 11:28 PM
  4. Simple Basics For Nubes-Vets please add more
    By dendroid in forum Android General Discussions
    Replies: 12
    Last Post: 11-19-2009, 09:51 PM
  5. Looking for the basics
    By Tadas T in forum Droid Themes
    Replies: 0
    Last Post: 11-15-2009, 03:35 PM

Search tags for this page

android cpuinfo max freq

,

android scaling max freq

,
cpuinfo max freq
,
htc wildfire cpuinfo max freq change
,
scaling max freq
,

scaling max freq android

,
set scaling max freq
,

setting scaling max freq

,
what does scaling mean android
,

what does scaling mean in setcpu

,
what does scaling mean on setcpu
,

what does scaling mean setcpu

Click on a term to search our site for related topics.
Find us on Google+