I just installed the latest kitchen build on a 6700 and notice there's a performance program in the settings section, that allows for overclocking the cpu. it has a couple warnings about damages and errors etc, however I'm curious what the experiences are using this. is it safe to run all the time or what? I tried it out a couple times and the phone seems twice as fast. Any info appreciated.
I use Pocket Hack Master v4.33 and I run at 624 all day and have been for a long lone time and never had any adverse effects.
I have used XCPUScaler and I never had a problem, for Xscale processors, from what I have researched, all the program does is change the frequency of the CPU controller, Ram controller, and LCD controller. I have also read that the more power that the Xscale processor is given, the higher the speed/frequency. Well enough tech talk, the only difference I have ever seen is that battery drain is a bit more when the cpu is overclocked, never has frozen on me running at 624Mhz. Good luck.
Hi guys
I downloaded the quadrant standard application on my Captivate. Looking into the system info i observed the following
1. CPU : samsung cortex v7. I thght the processor was a v8? I dunno whether the processor info is right.
2. The processor speed is displayes as "800 MHz"
Max freq ; 1000 MHz
MIN freq : 800 MHz
Whatz going on here?
Can someone explain this?
Please run the benchmark and lef me know!
Sent from my SAMSUNG-SGH-I897 using XDA App
carporsche said:
Hi guys
I downloaded the quadrant standard application on my Captivate. Looking into the system info i observed the following
1. CPU : samsung cortex v7. I thght the processor was a v8? I dunno whether the processor info is right.
2. The processor speed is displayes as "800 MHz"
Max freq ; 1000 MHz
MIN freq : 800 MHz
Whatz going on here?
Can someone explain this?
Please run the benchmark and lef me know!
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
the 800mhz I would assume means it is throttled down.
My results...
Name: ARMv7 Processor rev 2 (v71)
Current freq: 800 MHz
Max req: 1000MHz
Min freq: 100 MHz
-JChao
Just ran the benchmark and got the same thing. Please don't tell me this thing is underclocked. if so is there a program out there that will bring it up to speed?
The processor is a Samsung S5PC110 Cortex-A8 and uses the ARM v7 instruction set. It's not a version 8.
there is an APp to change your CPU clock. Don't do it though, nothing on android requires those extra 200 MHz yet. If your thinking about UI Lag, this is a software issue and not a consequence of the throttled cpu. Hang tight for a fix from developers.
With the software fix and throttled down cpu, this phone is still faster than the newest phones running 2.2 (Froyo)
SetCPU will let you force the frequency. But you shouldn't need to use it, 800MHz just seems to be the Hummingbird's idle frequency. The CPU probably just idled while the graphical benchmarks were being run.
CPU in phones never runs at 100% at all times that would kill battery , you can force it if you root your phone but that is counter productive , as it goes from anywhere from 1% to 100% of its speed when it needs to , during intensive usage or benchmarking it will reach 1000mhz , but if all you do is read text it will conserve battery.
Its obvious from this info below
Current freq: 800 MHz
Max req: 1000MHz
Min freq: 100 MHz
Yes, the Cortex A8 is an ARM7 processor. The older CPU's used were ARM11 processors.
Thankx for the info guys..
I checked again and for some reason i got confused with the processor and was writing the post from memory (my memory ). it says ARMv7 Processor rev 2 (v71).
And yes i do think the 800 MHZ is pretty fast.
I just need to get rid of the samsung UI and switch to stock android.
-------------
itzz(AN)dRoiD
The spec sheet lists 1 GHz, and spec sheets show the operating frequency so I would assume that the CPU can run at different speeds for different workloads. Try running a couple heavy applications in the background and check it again. If all is well in the world it should clock upto 1 GHz.
carporsche said:
Thankx for the info guys..
I checked again and for some reason i got confused with the processor and was writing the post from memory (my memory ). it says ARMv7 Processor rev 2 (v71).
And yes i do think the 800 MHZ is pretty fast.
I just need to get rid of the samsung UI and switch to stock android.
-------------
itzz(AN)dRoiD
Click to expand...
Click to collapse
The processor is NOT 800mhz it's just throttled down to 800mhz cause of not needing the full 1ghz speed. That saves power and battery life gets extended. Laptops and desktops do the same thing.
so in other words it basically adjusts oh and also maybe the ARMv7 infrastructure is better then the 11 one
yes i do get the idea
tbae2 said:
The processor is NOT 800mhz it's just throttled down to 800mhz cause of not needing the full 1ghz speed. That saves power and battery life gets extended. Laptops and desktops do the same thing.
Click to expand...
Click to collapse
I do get the idea!.. i inquired about it bcoz nowhere it was mentioned that the processor was underclocked.. So basically the ideal processor speed is 800MHz and it can be overclocked to 1GHz is the way i see it!
sorta like that more like the speed auto adjust to your needs i think
So what kind of scores does this phone get in comparison to other new Android phones with or without 2.2. I am curious between the Quandrant scores of Hummingbird (Galaxy S), OMAP (Droid X), Snapdragon (HTC HD2/EVO 4G).
Thanks.
well the hummingbird beat the evo 4g in graphics and cpu power just search captivate benchmarks on youtube the channel name is androidandme
with mimocans lag fix ive seen people get scores as high as 1700(nexus one on 2.2 gets about 1250).
cognition 6.1 XXJVQ 2.3.4 gingerbread on my 1897 captivate
http://www.google.com/url?sa=t&sour...q93aAw&usg=AFQjCNFXnK6kfMAUUHmLjWnrNt4Mx-pZXw
hi guyz, here is a little video witch looks a not standard demo video, but a real working product with hmp solution (the galaxy tab 10.1 2014 ed)
http://www.youtube.com/watch?v=wYMnu4L2-aU
girl sad it works over the same android solution, so, we could have it in an android 4.3 upgrade, and not only from the 4.4
untill better news, watch the video :good:
iba21 said:
hi guyz, here is a little video witch looks a not standard demo video, but a real working product with hmp solution (the galaxy tab 10.1 2014 ed)
http://www.youtube.com/watch?v=wYMnu4L2-aU
girl sad it works over the same android solution, so, we could have it in an android 4.3 upgrade, and not only from the 4.4
untill better news, watch the video :good:
Click to expand...
Click to collapse
"Android 4.4 can not be just a modified kernel"
Where is it?
I hope samsung this issue as soon as possible:good:
Bilux said:
"Android 4.4 can not be just a modified kernel"
Where is it?
I hope samsung this issue as soon as possible:good:
Click to expand...
Click to collapse
What??m
Sent from my SM-N900 using xda app-developers app
thats really great news hope it comes with 4.4 update
iba21 said:
but a real working product with hmp solution (the galaxy tab 10.1 2014 ed)
Click to expand...
Click to collapse
That's not a 10.1 2014. It's some sort of test device. Look how big the bezels are and how thick it is.
Umh..
Edit: right.. it has a different form factor as the galaxy tab 10.1
zeyadhan said:
thats really great news hope it comes with 4.4 update
Click to expand...
Click to collapse
If samsung wont upgrade the note3.. it will be only a commercial choice.. and sure.. too mouch peoples will disappoint it
iba21 said:
If samsung wont upgrade the note3.. it will be only a commercial choice.. and sure.. too mouch peoples will disappoint it
Click to expand...
Click to collapse
Design, performance, and the thermal profile of Samsung's current Octa devices weren't optimized to run all eight cores at once. Battery life would suffer as could the longevity of some of the components with the additional heat not being able to be properly dissipated. Even if they could activate HMP on existing devices via s/w that doesn't mean they will or that it would be smart. How many mainstream Octa-device owners do you think know or care about HMP?
BarryH_GEG said:
Design, performance, and the thermal profile of Samsung's current Octa devices weren't optimized to run all eight cores at once. Battery life would suffer as could the longevity of some of the components with the additional heat not being able to be properly dissipated. Even if they could activate HMP on existing devices via s/w that doesn't mean they will or that it would be smart. How many mainstream Octa-device owners do you think know or care about HMP?
Click to expand...
Click to collapse
Design performance and thermal profile.. well.. how do you know the thermal profile has issues? Do you have a datasheet?
And.. please.. respond..
The ACTUAL use is the CORE MIGRATION.. traduct for all, 4 cortexA7 at the base.. when touch the screen, in the 99% of the touching situation, cluster switchs from 4 a7 to 4 A15
Why? IKS LOGIC
So.. are you writing a text? Well you are using 4 cortexA15
With hmp the difference is.. an ammount of 4 cortexA7 at the base.. and.. if really necessary, turn on 1-2-3-4 cortexA15
If you look in the video you see angry birds runs over 4 cortexA7, and sometimes turns on the A15 for "other" things..
Well, with the actual cluster migration, in the same situation, game computation is compiled by 4 cortexA15
If you would i can prove it.. i'm on an n900
Well, do you thing 4cortexA7 + SOMETIMES 1-2-3-4 A15 has an HIGHER battery drain than 4 cortexA15?
Because.. when my phone reaches the maxfreq, cpu temperature goes to 80 degreese Celsius in about 4 seconds.. after that thermal ID decreses the maxfreq value..
Well.. the WORST condiction is when there are 4 A15 turned on..
All thinks about hmp as a pure 8 cores with always all 8 cores turned on.. but.. looks at the s800.. does it have the quadcore always turned on??
do you know s800 has an huge heating issue?
With 4 cores at maxfreq (2.3ghz) in about 3 seconds cpu temperature goes to 65 celsius.. after that, maxfreq changes to 1.3-1.5ghz
So.. 4 krait 400 have thermal issues
4 cortex A15 have thermal issues
4 cortexA7 works perfect without any issue
That's the real goal of hmp
Use the cortexA7 for ALL POSSIBLE.. and the other compiled by cortexA15
The 8 core condiction is reached only in heavy benchmarks and "maybe" in heavy games
Web rendering is compiled by A7.. panning needs 1 cortexA15..
So.. do you really think this 5420 has thermal issues?
Well, last stupid question..
The next cpus will have a lower building process, but, will have an higher frequency, so, high consuption caused by high performance arch.. an the 64bit needs more transistors.. so.. more heating issue
How to fix it? An external dissipator with a 120mm fan?
Com'on.. sometimes use the brain
iba21 said:
Com'on.. sometimes use the brain
Click to expand...
Click to collapse
Back at you. You and a bunch of enthusiasts all have their panties in a bunch because one of the two modes Octa runs in isn't being offered by Samsung. There's nothing wrong with the approach they've taken assuming it was to deliver a SoC with comparable performance to Qualcomm's latest chips. With that goal being reached and the right balance between energy efficiency vs. performance already achieved, what reason would Samsung have to, months after the N3 was released, release a feature they could have released at launch? No one but enthusiasts could give a crap about HMP and they make up an estimated 5% of the device population. Samsung builds devices for the mainstream, not enthusiasts. KNOX and eFuse should pretty much confirm that. My logic as to why Samsung chose not to enable HMP and most likely won't until a later generation of Octa chips is released is more based on business logic and common sense than anything else. But you and others keep rationalizing and justifying its imminent appearance via an update. That worked out really well for the SGS4 Octa owners who've been doing the same thing since March.
Oh.. second responce..
With my usage.. i forced the ondemand + my settings + battery saving... why? With this setting the 650mhz (1.3ghz of cortexA7) is the second most freq used.. the first is the 250mhz.. (500mhz of cortexA7)
With this setting i never go over 39 celsius with a normal usage..
Where is the issue?
When i'm writing a text.. cpu increases over the 650mhz.. and.. changes the cluster to A15
So.. for 1 keyboard task.. all 4 cores are used..
The same situation is when i move the web pages, the panning..
With the same situation, with hmp, 4 A7 will used for the most of the things (web rendering too)
And 1 or 2 cortexA15 will used for web panning and keyboard writing
Do you think 4 A7 At maxfreq + 1 A15 at maxfreq has an higher battery drain than 4 A15 at maxfreq??
Oooh.. if i shut down the batterysaving, cortexA15 will be used for the most of the time.. the A7 will.be used only for iper base functions, as like calling and multimedias
so.. if you think it's normal, you should buy one n900 and looks in the kernel sysfs code
BarryH_GEG said:
Back at you. You and a bunch of enthusiasts all have their panties in a bunch because one of the two modes Octa runs in isn't being offered by Samsung. There's nothing wrong with the approach they've taken assuming it was to deliver a SoC with comparable performance to Qualcomm's latest chips. With that goal being reached and the right balance between energy efficiency vs. performance already achieved, what reason would Samsung have to, months after the N3 was released, release a feature they could have released at launch? No one but enthusiasts could give a crap about HMP and they make up an estimated 5% of the device population. Samsung builds devices for the mainstream, not enthusiasts. KNOX and eFuse should pretty much confirm that. My logic as to why Samsung chose not to enable HMP and most likely won't until a later generation of Octa chips is released is more based on business logic and common sense than anything else. But you and others keep rationalizing and justifying its imminent appearance via an update. That worked out really well for the SGS4 Octa owners who've been doing the same thing since March.
Click to expand...
Click to collapse
Are you a flamer?
1) you sad n900 has thermal dissipation problem.. it's as like as on normal people say the sun is cold..
2) Galaxy s4 coudn't have hmp due to a CCI transistor issue.. it means it's impossible to turn on 2 different cluster or system crashes..
3) i don't know why samsung doesen't releases the hmp until.. it's difficult to compile the code, all the scheduler, with the new function.. it's the FIRST TIME in the world.. so.. there aren't any other base code to copy (ex.. ondemand governor was wrote by intel developers.. INTEL..)
4) samsung sad exynos 5420 is ready for hmp.. new exynos versions? Well where do you see those? Post me an official link, not an ipotetic exynos 6xxx with 64bit arch.. because.. i'm rocco siffredi by using words :thumbup:
The only thing witch n900 doesent have is the widcon technology.. only that..
So.. the situation are 2:
1) samsung will release hmp soon for n900
2) samsung will release hmp for galaxy s5 as a marketing pubblicity
Anyway.. n900 has the worst cpu logic.. core migration should be better.. hmp is the maximize of battery saving with the same task
Oooh.. i forgot..
More frequency = more performance = more battery drain = more heat
If i'm using 4 A15 when only 1 is really need.. i'm spending more energy for other 3 A15 FOR NOTHING
Do you think 3 A15 for nothing is what you sad a good battery drain condiction?
Do you think 4 cortexA7 has an higher batterydrain than 3 cortexA15
With hmp i could shut down those 3 A15 and direct use the 4 cortexA7.. with the same performance
With hmp A15 CORES WILL BE USED ONLY IF REAL NECESSARY.. SO.. NO MORE A15 TURNED ON FOR NOTHING
now you understand?
Oh.. why samsung doesen't release hmp from the day 1.. i probably have 1 answer
Since s800 and 5420 has a simillar benchmark results.. 5420 with all 8 core will have more benchmark results
So.. samsung released the s800 version in the most of the world, and the 5420 in the other even if the 5420 should reach an higher benchmark ammount?
Who bought the s800?
Peoples witch wants a slower cpu?
iba21 said:
Are you a flamer?
Click to expand...
Click to collapse
My thanks count is almost three times as high as yours. Why does everyone assume Octa without HMP is broken? 5420 paces S-800 just fine the way it was released. Maybe to pace S-805 we'll see Samsung move to HMP. But for now there's no motive I can see other than placating a bunch of enthusiasts who somehow feel cheated. As for any "marketing" benefit that's a stretch. Do you think 95% of the mainstream that buy a Samsung eight-core phone do so for that reason? If so making the majority of N3's quad-core was a huge mistake. And whether all eight cores running at the same time means anything outside XDA is highly doubtful.
BarryH_GEG said:
My thanks count is almost three times as high as yours. Why does everyone assume Octa without HMP is broken? 5420 paces S-800 just fine the way it was released. Maybe to pace S-805 we'll see Samsung move to HMP. But for now there's no motive I can see other than placating a bunch of enthusiasts who somehow feel cheated. As for any "marketing" benefit that's a stretch. Do you think 95% of the mainstream that buy a Samsung eight-core phone do so for that reason? If so making the majority of N3's quad-core was a huge mistake. And whether all eight cores running at the same time means anything outside XDA is highly doubtful.
Click to expand...
Click to collapse
Other "majority" with a quadcore s800 only because s800 has LTE in the SoC
Qualcomm sells his s800 at less than double than the single LTE chip
Would you buy a top range phone without lte in states witch have it?
Anyway from heating issue to marketing choice.. well.. if it's only a marketing choice, i have to say fu samsung
Simply, i hope to use my exynos with it's own completely tech.. 5420 has the ability to do..
iba21 said:
Are you a flamer?
1) you sad n900 has thermal dissipation problem.. it's as like as on normal people say the sun is cold..
2) Galaxy s4 coudn't have hmp due to a CCI transistor issue.. it means it's impossible to turn on 2 different cluster or system crashes..
3) i don't know why samsung doesen't releases the hmp until.. it's difficult to compile the code, all the scheduler, with the new function.. it's the FIRST TIME in the world.. so.. there aren't any other base code to copy (ex.. ondemand governor was wrote by intel developers.. INTEL..)
4) samsung sad exynos 5420 is ready for hmp.. new exynos versions? Well where do you see those? Post me an official link, not an ipotetic exynos 6xxx with 64bit arch.. because.. i'm rocco siffredi by using words :thumbup:
The only thing witch n900 doesent have is the widcon technology.. only that..
So.. the situation are 2:
1) samsung will release hmp soon for n900
2) samsung will release hmp for galaxy s5 as a marketing pubblicity
Anyway.. n900 has the worst cpu logic.. core migration should be better.. hmp is the maximize of battery saving with the same task
Click to expand...
Click to collapse
any idea if the octacore version for mediatek helps.. ie. if they releases the source for hmp?? may be jus a noobish question :silly:
cooldoc007 said:
any idea if the octacore version for mediatek helps.. ie. if they releases the source for hmp?? may be jus a noobish question :silly:
Click to expand...
Click to collapse
Hard to say. Their using eight identical A7 chips which makes task migration and scheduling easier.
For the cores MediaTek has opted to use eight Cortex-A7 cores arranged in a big.LITTLE configuration. Which doesn’t make much sense as big.LITTLE is meant to be for a true Heterogeneous Multi-Processing design where some of the cores are faster (i.e. Cortex-A15 cores) than others. It seems that MediaTek has arranged the eight cores in a kind of little.LITTLE arrangement. In this arrangement MediaTek is using its own scheduling algorithm that also monitors temperature and power consumption to ensure optimum performance at all times.http://www.androidauthority.com/mediatek-mt6592-318700/
cooldoc007 said:
any idea if the octacore version for mediatek helps.. ie. if they releases the source for hmp?? may be jus a noobish question :silly:
Click to expand...
Click to collapse
Mediatek uses all the same cluster as octa, it means scheduling doesen't have to switch and chose what core need.. simply.. it's a false big.little.. because it's a little.little!
Probably there are 2 clusters in the core.. and the scheduling logic probably is this:
First case..
there are 1 cluster (4 cortexA7) always on.. the second shutted down by power gating tech.. when scheduling needs more power.. turn on the second cluster
Second case..
All cores are indipendently, so, in the base situation 1 core on and the other shutted down..
When scheduler needs more power.. it activates the other core..
But.. for me the first case will be used.. it's easier to write the code..
###########
Some free informations about big.little tech
###########
Big.little has 2 clusters
http://www.imgur.com/amCLDKU.png
If you open the terminal, and you write:
cat /sys/devices/system/b.L/b.L_core_stat
You'll see what cluster are on.. and.. if you red what i wrote.. you'll see in the 99% of case the A15 cluster..
In that stat you see 0 and 1.. 0 is shutted down, 1 is on..
If you see there are the L2 value too.. 2 clusters has 2 different L2 (cache second level), so, cache is shutted down too..
A7 Cluster has 512kb of cache.. A15 has 2048kb of cache (2mb) (4 time more)
Cache absorbs a lot of energy.. that's one of the cause of the low power consuption by a7 arch..
Well, how to shut down the cluster?
Big.little uses the power gating tech, it's created by intel, and, simply, when there aren't an usage of the core, chip AUTOMATICALLY shut down it..
The old logic uses a dvfs command to say to the chip to shut down the core.. now it's all absolutely automatically.. so.. if scheduler doesen't want to send a taks in one core.. that core will be shutted down until one scheduling call
What's the scheduler?
linux kernel has this code in it witch chose the task destination..
How it work?
It runs the task for little time (ex.. 10milliseconds) and looks about the usage of the cpu.. it trys to find the possible cpu load caused by that task, and it move it into one core witch can compile it without increasing frequency..
So.. the base logic is to always have the minor freq possible
Why?
More freq = more and more power consuption
one chip at 500mhz absorbs less than an half than the same chip at 1000mhz
so.. 4 cores at 500mhz are better than 1 at 2ghz.. absorbs less energy and have the same base computation
Sure.. scheduler is not a mage, it can't be perfect, and sometimes it moves the task in the worst core.. it means, the worst situation for energy efficiency
Anyway.. the actual cluster migration logic chose from 2 cluster.. you could have OR 4A7 OR 4A15
why? Code is easyer to write..
android scheduler is the same as normal scheduler.. there are only an IKS (in kernel switching) module witch chose what cluster use..
From 250mhz to 650mhz there is used A7 cluster
From 700mhz to 1900mhz there is used A15 cluster
Frequency of A7 cluster is an half of the real freq of the chip
So.. 250mhz in kernel value means 500mhz of the chip a7 cluster.. 650mhz of kernel means 1300mhz of the cluster (650 x 2)
A15 has the same frequency as kernel.. so.. 800mhz is really 800mhz..
There are 2 BIG BUGS with that logic:
1) scheduler doesen't have a good code.. it sees 4 cores.. so.. it moves tasks in those 4 cores.. the IKS is indipendent out of the scheduler logic.. so.. there are not so mouch time witch one core has NO LOADING.. so.. the most of the time if the cluster is turn on, all cores are really on
2) it's the conclusion of the first case.. when the A15 are turned on.. A7 are off.. and.. if all tasks force all 4 A15 cores to be active, frequency grow up for all 4 cores.. and.. you have to know that cortexA15 has an HIGH POWER DISSIPATION..
IT REALLY NEEDS A PHYSICAL DISSIPATOR + A FAN AS LIKE PC
In simple words.. the actual cluster migration logic USES TOO MOUCH THE A15 CLUSTER FOR NOTHING..
A car example.. you use the car in a normal street with a low (2nd) gear at 6000rpm at 80km/h (50miles/h)
You'll have an high fuel consuption for nothing
You could increase the gear (5th) and engine will slow down at, for ex, 2000rpm with the same 80km/h
That's a real efficiency
We actual use too mouch cortexA15 cores for nothing.. it means.. spend energy for nothing
The HMP REWRITES THE SCHEDULING LOGIC..
Scheduler knows what are the cores and what architecture have.. so.. the base situation is 1 A7 core.. all other shutted down..
It runs a task in A7 core, looks of it "size", and move into one other A7 core (if size is low) or in one A15 cores (if size is high)
So.. this logic is completely different.. now the scheduler uses less cores as possible, and prefere A7 cores over A15 if they could run the task
Scheduling has a better powergating code.. so.. it choses to turn on one core OR increase frequency of the core..
I did some examples in other posts
Anyway.. HMP tryes to use A7 in the most of the condictions, and, moves sometimes some tasks in 1-2-3-4 A15 cores dipendent of the condiction
I repeat one simple example
CLUSTER MIGRATION (ACTUAL)
touch the screen, 4 A15 on
Web rendering (loading) 4A7 on (in the most of the case)
Web page panning (sliding) 4A15 on
HMP
Tuch the screen 4 A7 on and SOMETIMES one A15
Web rendering 4 A7 on and SOMETIMES 1-2 A15 ON
Web page panning 4A7 on and 1-2 A15 on..
Why in hmp always 4 A7 on?
Because OS has a lot of tasks to do.. low tasks (as like sensors) are compiled by A7.. and huge tasks by A15
In the actual cluster migration, if you reach more than 650mhz (always if you need to compile 1 stupid high task) all 4 A15 are on even to compile other stupid tasks.. so.. 1huge task increases the power consuption for all other 300 little tasks
With HMP.. 300 little tasks are compiled by A7 cluster.. and 1 huge by 1 A15 cluster
THAT'S WHAT I CALL EFFICIENCY
Sure.. more efficiency = less energy drain = less cpu heating
Sorry for my kilometrical post.. i hope someone read it, and understand what are the benefit of this "code"
iba21 said:
Mediatek uses all the same cluster as octa, it means scheduling doesen't have to switch and chose what core need.. simply.. it's a false big.little.. because it's a little.little!
Probably there are 2 clusters in the core.. and the scheduling logic probably is this:
First case..
there are 1 cluster (4 cortexA7) always on.. the second shutted down by power gating tech.. when scheduling needs more power.. turn on the second cluster
Second case..
All cores are indipendently, so, in the base situation 1 core on and the other shutted down..
When scheduler needs more power.. it activates the other core..
But.. for me the first case will be used.. it's easier to write the code..
###########
Some free informations about big.little tech
###########
Big.little has 2 clusters
http://www.imgur.com/amCLDKU.png
If you open the terminal, and you write:
cat /sys/devices/system/b.L/b.L_core_stat
You'll see what cluster are on.. and.. if you red what i wrote.. you'll see in the 99% of case the A15 cluster..
In that stat you see 0 and 1.. 0 is shutted down, 1 is on..
If you see there are the L2 value too.. 2 clusters has 2 different L2 (cache second level), so, cache is shutted down too..
A7 Cluster has 512kb of cache.. A15 has 2048kb of cache (2mb) (4 time more)
Cache absorbs a lot of energy.. that's one of the cause of the low power consuption by a7 arch..
Well, how to shut down the cluster?
Big.little uses the power gating tech, it's created by intel, and, simply, when there aren't an usage of the core, chip AUTOMATICALLY shut down it..
The old logic uses a dvfs command to say to the chip to shut down the core.. now it's all absolutely automatically.. so.. if scheduler doesen't want to send a taks in one core.. that core will be shutted down until one scheduling call
What's the scheduler?
linux kernel has this code in it witch chose the task destination..
How it work?
It runs the task for little time (ex.. 10milliseconds) and looks about the usage of the cpu.. it trys to find the possible cpu load caused by that task, and it move it into one core witch can compile it without increasing frequency..
So.. the base logic is to always have the minor freq possible
Why?
More freq = more and more power consuption
one chip at 500mhz absorbs less than an half than the same chip at 1000mhz
so.. 4 cores at 500mhz are better than 1 at 2ghz.. absorbs less energy and have the same base computation
Sure.. scheduler is not a mage, it can't be perfect, and sometimes it moves the task in the worst core.. it means, the worst situation for energy efficiency
Anyway.. the actual cluster migration logic chose from 2 cluster.. you could have OR 4A7 OR 4A15
why? Code is easyer to write..
android scheduler is the same as normal scheduler.. there are only an IKS (in kernel switching) module witch chose what cluster use..
From 250mhz to 650mhz there is used A7 cluster
From 700mhz to 1900mhz there is used A15 cluster
Frequency of A7 cluster is an half of the real freq of the chip
So.. 250mhz in kernel value means 500mhz of the chip a7 cluster.. 650mhz of kernel means 1300mhz of the cluster (650 x 2)
A15 has the same frequency as kernel.. so.. 800mhz is really 800mhz..
There are 2 BIG BUGS with that logic:
1) scheduler doesen't have a good code.. it sees 4 cores.. so.. it moves tasks in those 4 cores.. the IKS is indipendent out of the scheduler logic.. so.. there are not so mouch time witch one core has NO LOADING.. so.. the most of the time if the cluster is turn on, all cores are really on
2) it's the conclusion of the first case.. when the A15 are turned on.. A7 are off.. and.. if all tasks force all 4 A15 cores to be active, frequency grow up for all 4 cores.. and.. you have to know that cortexA15 has an HIGH POWER DISSIPATION..
IT REALLY NEEDS A PHYSICAL DISSIPATOR + A FAN AS LIKE PC
In simple words.. the actual cluster migration logic USES TOO MOUCH THE A15 CLUSTER FOR NOTHING..
A car example.. you use the car in a normal street with a low (2nd) gear at 6000rpm at 80km/h (50miles/h)
You'll have an high fuel consuption for nothing
You could increase the gear (5th) and engine will slow down at, for ex, 2000rpm with the same 80km/h
That's a real efficiency
We actual use too mouch cortexA15 cores for nothing.. it means.. spend energy for nothing
The HMP REWRITES THE SCHEDULING LOGIC..
Scheduler knows what are the cores and what architecture have.. so.. the base situation is 1 A7 core.. all other shutted down..
It runs a task in A7 core, looks of it "size", and move into one other A7 core (if size is low) or in one A15 cores (if size is high)
So.. this logic is completely different.. now the scheduler uses less cores as possible, and prefere A7 cores over A15 if they could run the task
Scheduling has a better powergating code.. so.. it choses to turn on one core OR increase frequency of the core..
I did some examples in other posts
Anyway.. HMP tryes to use A7 in the most of the condictions, and, moves sometimes some tasks in 1-2-3-4 A15 cores dipendent of the condiction
I repeat one simple example
CLUSTER MIGRATION (ACTUAL)
touch the screen, 4 A15 on
Web rendering (loading) 4A7 on (in the most of the case)
Web page panning (sliding) 4A15 on
HMP
Tuch the screen 4 A7 on and SOMETIMES one A15
Web rendering 4 A7 on and SOMETIMES 1-2 A15 ON
Web page panning 4A7 on and 1-2 A15 on..
Why in hmp always 4 A7 on?
Because OS has a lot of tasks to do.. low tasks (as like sensors) are compiled by A7.. and huge tasks by A15
In the actual cluster migration, if you reach more than 650mhz (always if you need to compile 1 stupid high task) all 4 A15 are on even to compile other stupid tasks.. so.. 1huge task increases the power consuption for all other 300 little tasks
With HMP.. 300 little tasks are compiled by A7 cluster.. and 1 huge by 1 A15 cluster
THAT'S WHAT I CALL EFFICIENCY
Sure.. more efficiency = less energy drain = less cpu heating
Sorry for my kilometrical post.. i hope someone read it, and understand what are the benefit of this "code"
Click to expand...
Click to collapse
I really enjoy reading your explanations and learning about HMP.
I hope Samsung realeases this for the exynos variant of the Note 3.
2 examples :
http://www.imgur.com/vmXPhNx.png
Normal status.. nothing open.. only system tuner.. airplane mode.. ALWAYS 4 CORTEXA15 on
http://www.imgur.com/P2HFAxp.png
Same condiction with maxfreq of 650mhz (1.3ghz of cortexa7)
More apps opened, no airplane mode.. ALWAYS CORTEXA7
....
Why?
When i touch the screen to press the run button, cpu goes over 650mhz and switch to cortexA15.. after that come back..
If i force maxfreq to 650mhz.. iks can't switch to cortexA15
It's the opposite of hmp solution! Ahahahahaha
Now it's easyer to understand?
That's why i need it..
If you woukd do the same test.. download system tuner and run that string in terminal.. you'll see
After that, if you have root.. go to CPU tab, move maxfreq to 650mhz.. and redo terminal command.. you'll have the same results as mine!!
This is and this will be until hmp upgrade (only kernel upgrade)
Sure.. i remember, more time in A15 = more energy absorb = more heat..
Now.. open this video
https://www.youtube.com/watch?v=wYMnu4L2-aU&feature=youtube_gdata_player
And look.. guy press the hone button.. 4A7 on + 1 A15 for 500ms..
Do you think 4A7+ 1A15 absorbs more energy than 4A15?
Well.. SAMSUNG PLEASE RELEASE HMP