Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  CPU Boost Counter
« previous next »
  • Print
Pages: [1] 2

Author Topic: CPU Boost Counter  (Read 6229 times)

Offline (V)3@7Y

  • Member
  • *
  • Posts: 27
CPU Boost Counter
« on: June 13, 2008, 08:48:56 AM »
In a recent build, i have noticed that there is no limit on the CPU Boost counter, or at least it goes further than i am willing to take it. Basically i would like to know how high it can be taken before horrible things start to happen inside my DAP. Obviously battery usage will go up, but is there any chance that my CPU will destroy itself?
Logged

Offline Multiplex

  • Member
  • *
  • Posts: 440
Re: CPU Boost Counter
« Reply #1 on: June 13, 2008, 08:58:31 AM »
I think that this is a count of the processes/tasks that have requested to boost the CPU - as long as the counter is greater than zero the CPU is boosted, if it is zero the CPU is low speed.

You don't make it go faster by incrementing the count (you just make it stay at the high speed).

Or maybe it has been totally re-architected since I last looked into that area.
Logged

Offline (V)3@7Y

  • Member
  • *
  • Posts: 27
Re: CPU Boost Counter
« Reply #2 on: June 13, 2008, 09:06:15 AM »
hmmm... i never though of it this way.
Preceeding the increase of the "boost counter" frequency increases, i.e.;
24000Mhz
30000Mhz
80000Mhz
boost 1
2
3
4
etc.

Which makes me wonder if  perhaps it is, as you say, making it stay at a higher speed,
(but with an increment of say 50 is it boosting the CPU as if there were 50 tasks?)
Im not sure... Unless i'm imagining things, things do run faster with a higher boost counter value
i.e, I can decode music and run for example the "plasma" plugin with a much higher frame rate than without

Maybe its just wishful thinking?
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: CPU Boost Counter
« Reply #3 on: June 13, 2008, 09:06:40 AM »
Quote from: Multiplex on June 13, 2008, 08:58:31 AM
Or maybe it has been totally re-architected since I last looked into that area.

Nope - you're right on the money with your explanation - that's exactly what it does.
Logged

Read The Manual Please

Offline (V)3@7Y

  • Member
  • *
  • Posts: 27
Re: CPU Boost Counter
« Reply #4 on: June 13, 2008, 09:13:13 AM »
OK, with this in mind, is there... a safety level, originally, the maximum you could manually alter it to is 4.
Which makes me wonder if that was so for a reason. Surely there is a practical limit to high how it can go, otherwise it would have been like this the whole time.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: CPU Boost Counter
« Reply #5 on: June 13, 2008, 09:19:40 AM »
Quote from: (V)3@7Y on June 13, 2008, 09:13:13 AM
OK, with this in mind, is there... a safety level, originally, the maximum you could manually alter it to is 4.
Which makes me wonder if that was so for a reason. Surely there is a practical limit to high how it can go, otherwise it would have been like this the whole time.

Putting it higher just boosts the CPU.  This wastes power so its not like that by default. 
Logged

Offline (V)3@7Y

  • Member
  • *
  • Posts: 27
Re: CPU Boost Counter
« Reply #6 on: June 13, 2008, 09:28:15 AM »
of course, power usage would be an issue, but that doesn't worry me so much as the thought that all of that energy has to go some place, and its most likely going to be heat. is there currently a maximum value? or is it infinite?
Surely your going to hit a point where things start getting hot?
Im quite fond of my MP3 player and i dont really want it to turn into a blob of molten silicon!
I do think you've missed my point a little... on older builds, there was no possible way of exceeding 4, in the later builds, it will go over 50 (Manually) i dont think it will exceed 4 by default
This is a substantial increase, surely there will be irrepairable side effects?
« Last Edit: June 13, 2008, 09:41:32 AM by (V)3@7Y »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: CPU Boost Counter
« Reply #7 on: June 13, 2008, 09:45:58 AM »
Quote from: (V)3@7Y on June 13, 2008, 09:28:15 AM
of course, power usage would be an issue, but that doesn't worry me so much as the thought that all of that energy has to go some place, and its most likely going to be heat. is there currently a maximum value? or is it infinite?

Well the boost counter is probably a 32 bit signed int, so 2^31-1 would be its max value.  For boosting itself, its a binary value, so the highest would be "on".

Quote from: (V)3@7Y on June 13, 2008, 09:28:15 AM
Surely your going to hit a point where things start getting hot?

I think the difference between boosted and unboosted is about 65 mW, so you're unlikely to notice a difference in heat.

Quote from: (V)3@7Y on June 13, 2008, 09:28:15 AM
This is a substantial increase, surely there will be irrepairable side effects?

More likely someone just changed the GUI control for that screen.
Logged

Offline (V)3@7Y

  • Member
  • *
  • Posts: 27
Re: CPU Boost Counter
« Reply #8 on: June 13, 2008, 09:52:40 AM »
well put, i think that has covered everything i need to know.
If there is a fire inside my DAP I shall be consulting you

Thanks for everybodies input, it has been an enlightening experience

(V)347Y
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: CPU Boost Counter
« Reply #9 on: June 13, 2008, 01:29:07 PM »
The player automatically boosts quite regularly anyway, and there's only two states, "Boosted" and "Unboosted" (well, there's also "Idle" I suppose). Setting the counter to any number that is not 0 makes it "Boosted" all the time. This is pretty much pointless, because the only time it should be "Unboosted" is when it doesn't need "Boosted." Now you're making it skip ever being "Unboosted."
Logged

Offline Big D

  • Member
  • *
  • Posts: 6
  • I will soon be getting a Gigabeat f!!! :D
Re: CPU Boost Counter
« Reply #10 on: June 13, 2008, 02:39:14 PM »
I'm a bit confused. What exactly does this boost thing do?

Thanks.
Logged
view my Zone BBS profile!

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: CPU Boost Counter
« Reply #11 on: June 13, 2008, 03:11:00 PM »
Okay:

Normally we run the CPU relatively slowly, to save battery. Some things this will be too slow for (for example, decoding music) so we run the CPU at its full speed (the fastest speed it's designed to safely  be run constantly at) for periods until all the work is caught up, and we get a little bit ahead (at least with music), then we slow it down to the slow speed again.

So this fast speed is called "boosted." We automatically go there when work needs to be done, then come back after. Setting the boost counter higher just means the CPU is always at "boosted." There's no real reason to do this other than a desire to drain your battery more quickly.
Logged

Offline robin0800

  • Member
  • *
  • Posts: 291
  • Freeman
Re: CPU Boost Counter
« Reply #12 on: June 13, 2008, 05:01:46 PM »
Quote
There's no real reason to do this other than a desire to drain your battery more quickly

Why have it user adjustable at all?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: CPU Boost Counter
« Reply #13 on: June 13, 2008, 05:11:39 PM »
You may notice it's in the Debug menu. The one that says "Keep Out". The one that's for Developers to tinker and test things? I think it should be rather obvious that it's not intended for common user adjustment...
Logged

Offline (V)3@7Y

  • Member
  • *
  • Posts: 27
Re: CPU Boost Counter
« Reply #14 on: June 17, 2008, 05:29:12 AM »
Applications run a little faster while decoding music if it is "maxed out"
which brings me to a hypothetical question; if i happened to possess an old ipod or other DAP running rockbox, and i was wanting to boost the CPU to a much higher level (for whatever purpose), regardless of potential damage to the inner workings, how could i disable the limit on over clocking it? I have no real experience in compiling builds, but if it were simple enough, i would like to remove this. Just a thought... all be it destructive.

Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  CPU Boost Counter
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.114 seconds with 15 queries.