Why do most benchmark tests only show one core? - G Tablet General

Is this just because they aren't made for this device???

To my knowledge, (opinion) only one core is being used by the operating system. Therefore it is as if the other core is shut off.
Two cores are two of the same processors but on one chip.
Honeycomb is an operating system designed to use both cores. I am not sure about Gingerbread and my understanding is that Froyo is a single core operating system and only runs on one core. (IMO, IMO, IMO, IMO etc.)!

GaryHypnosis said:
To my knowledge, (opinion) only one core is being used by the operating system. Therefore it is as if the other core is shut off.
Two cores are two of the same processors but on one chip.
Honeycomb is an operating system designed to use both cores. I am not sure about Gingerbread and my understanding is that Froyo is a single core operating system and only runs on one core. (IMO, IMO, IMO, IMO etc.)!
Click to expand...
Click to collapse
Both cores are running. You can test it with command line in terminal emulater
cpu1
cat /sys/devices/system/cpu/cpu0/cpufreg/cpuinfo_cur_freg
cpu2
cat /sys/devices/system/cpu/cpu1/cpufreg/cpuinfo_cur_freg
It should report back 1000000 on both. If its reporting 314000 then you have the lag on wake issue. The apps that are doing the tests aren't designed to look for more than 1 core yet.

thebadfrog said:
Both cores are running. You can test it with command line in terminal emulater
cpu1
cat /sys/devices/system/cpu/cpu0/cpufreg/cpuinfo_cur_freg
cpu2
cat /sys/devices/system/cpu/cpu1/cpufreg/cpuinfo_cur_freg
It should report back 1000000 on both. If its reporting 314000 then you have the lag on wake issue. The apps that are doing the tests aren't designed to look for more than 1 core yet.
Click to expand...
Click to collapse
Here is a post that seems to indicate to me that the second core is not processing in Froyo, (IMO) along with other comments. I found this over at AndroidCentral. For what it's worth. Of course these posts could be wrong, I don't know.
Both clocks are running, and the kernal supports dual core, I agree with you on that. I just think Froyo isn't utilizing the second core. Also, you may be absolutly correct that it just may be that the apps have not caught up with the processor. However, I still think it is Froyo that is not supporting the second core (JMO).
"Ok with all this talk about dualcore processor coming to Android. What's the use or need we already know froyo doesn't support dual core and gingerbread is a question mark. If it turns out that we wont see dualcore support until hunnycomb or later, why get one or why all the hype?"
"Gingerbread will support dual-core processors, but until most/all applications begin support for it there won't be much of a difference in performance. Most applications don't even need that kind of power unless you're gaming of course."
"All depends on the OS. With Froyo, the second core isn't doing anything useful. If GB doesn't support SMP, it will be the same way."
http://forum.androidcentral.com/rumored-devices/46049-dualcore-processor.html

thebadfrog said:
Both cores are running. You can test it with command line in terminal emulater
cpu1
cat /sys/devices/system/cpu/cpu0/cpufreg/cpuinfo_cur_freg
cpu2
cat /sys/devices/system/cpu/cpu1/cpufreg/cpuinfo_cur_freg
It should report back 1000000 on both. If its reporting 314000 then you have the lag on wake issue. The apps that are doing the tests aren't designed to look for more than 1 core yet.
Click to expand...
Click to collapse
It may not be conclusive, but another point of info is if you do a dmesg right after powering the gtab, there are several msgs about CPU1 starting or started.
Jim

<4>[ 4.904642] CPU1: Booted secondary processor
<6>[ 5.174450] Brought up 2 CPUs
<6>[ 5.174464] SMP: Total of 2 processors activated (3991.14 BogoMIPS).
<7>[ 5.174485] CPU0 attaching sched-domain:
<7>[ 5.174495] domain 0: span 0-1 level CPU
<7>[ 5.174504] groups: 0 1
<7>[ 5.174520] CPU1 attaching sched-domain:
<7>[ 5.174528] domain 0: span 0-1 level CPU
<7>[ 5.174535] groups: 1 0
<6>[ 5.197503] regulator: core version 0.5
jimcpl said:
It may not be conclusive, but another point of info is if you do a dmesg right after powering the gtab, there are several msgs about CPU1 starting or started.
Jim
Click to expand...
Click to collapse

most likely it's because Google's Dalvik virt machine either doesn't use both cores or just doesn't bother reporting number of cores yet as up until Tegra 2 they were all single core SoCs...

Related

Undervolting FAQ

I read a lot about undervolting on here and i think i have an idea about what it does but i may be way off, and im sure each device is different. in pimp my cpu there are multiple options, and while this sounds newbish i think this should be explained to folks in some more detail.
this is what im assuming.
undervolting allows for less power consumption.
UV on higher OC levels controls power spikes to the CPU?
what is a safe level to UV and at what frequencies specific to the G2x
i am reading up on this, to get a better idea. http://www.android.net/forum/android-rooting/58117-droid-x-guide-undervolting-guide.html
Here's my understanding of the whole undervolting thing..
In order to maintain stable operation across devices with varying production quality (not all chips are created equal), manufactures use voltage levels higher than necessary for most devices. They cater to the least common denominator. But most phones will still operate reliably at a lower voltage. By undervolting you can extend your battery life and ward off chip killing heat. This all becomes even more important when overclocking. When you overclock your device you increase the power usages (those extra megahertz aren't without cost). This increases both the drain on your battery and the heat produced by your CPU. Undervolting helps to offset both issues.
As for the proper undervolting levels...that will vary with the tolerance of each individual device. But I'm sure someone can provide some general guidelines...sorry I haven't undervolted the g2x yet and don't want to steer you wrong.
Hope this helped...
Good info. I dropped mine .25 on each higher level. So ill see how it goes
G2x with CM7 and faux kernel
what confuses me on this topic is the "it's different for each device" phrase that I keep reading. Is this in reference to the rom/kernel that is being used or is it specific to apps installed/how the phone is used.. or is it a combo of both?
It's confusing me because its seems that OC/UV is hardware specific and each phone has the same hardware. So I don't quite get this "it's different for each device" thing..
schmit said:
It's confusing me because its seems that OC/UV is hardware specific and each phone has the same hardware.
Click to expand...
Click to collapse
Each phone doesn't have the same hardware....for example, G2X has an nvidia tegra 2 and the nexus s has a hummingbird.
i think you mean this.
cybereclipse said:
Each phone doesn't have the same hardware....for example, G2X has an nvidia tegra 2 and the nexus s has a hummingbird.
Click to expand...
Click to collapse
yes all g2x's have a tegra 2 chip.
But production does not always produce the same tolerances for all the chips.
ussually(with the quality control apparently given to the g2x who knows) but ussually all chips are tested and every chip that is in a g2x will perform reliably at 1ghz as it is specified and sold at.
some of these will run reliably at 1500 or better while some will not go over 1100 without starting to get unreliable.
example is the droid 1 was sold at 550 mhz. they did an update that upped it to 600mhz so they knew all chips were tested to be ok at that threshold. Mine would run at 1200 reliably no overheating(except running flash) no reboots.
with 2 different kernels. there was another kernel that they messed with the voltages so that i would get constant reboots even at 700mhz.
some droids would not run over 700 without experiencing problems.
So yes the tegra 2 chips is the same but the abilities of it can be different. they are guarenteed to run at the speed they are sold at but most will function at a much higher speed without problems while some will not.
oh just thought of a great example. the AMD tri-core processors.
those are quadcores where 1 of the cores did not pass the tests but the other 3 did so instead of scrapping the entire chip they turned off the bad processor and sold it as a tricore. there are motherboards out there that allow this core to be turned back on and many have done this and it works just fine. its just that core didnt pass whatever minimum they set on it even though it was perfectally functional they determined that if it got to this temp or didnt run at this speed(over what it was sold at) it didnt pass.
So while this kernel at this voltage may run fine on your phone it may caused reboots or lock ups on others.
hope this makes some sense.
eagle1967 said:
yes all g2x's have a tegra 2 chip.
But production does not always produce the same tolerances for all the chips.
ussually(with the quality control apparently given to the g2x who knows) but ussually all chips are tested and every chip that is in a g2x will perform reliably at 1ghz as it is specified and sold at.
some of these will run reliably at 1500 or better while some will not go over 1100 without starting to get unreliable.
example is the droid 1 was sold at 550 mhz. they did an update that upped it to 600mhz so they knew all chips were tested to be ok at that threshold. Mine would run at 1200 reliably no overheating(except running flash) no reboots.
with 2 different kernels. there was another kernel that they messed with the voltages so that i would get constant reboots even at 700mhz.
some droids would not run over 700 without experiencing problems.
So yes the tegra 2 chips is the same but the abilities of it can be different. they are guarenteed to run at the speed they are sold at but most will function at a much higher speed without problems while some will not.
oh just thought of a great example. the AMD tri-core processors.
those are quadcores where 1 of the cores did not pass the tests but the other 3 did so instead of scrapping the entire chip they turned off the bad processor and sold it as a tricore. there are motherboards out there that allow this core to be turned back on and many have done this and it works just fine. its just that core didnt pass whatever minimum they set on it even though it was perfectally functional they determined that if it got to this temp or didnt run at this speed(over what it was sold at) it didnt pass.
So while this kernel at this voltage may run fine on your phone it may caused reboots or lock ups on others.
hope this makes some sense.
Click to expand...
Click to collapse
Nice...that was much better than my explanation.
cybereclipse said:
Each phone doesn't have the same hardware....for example, G2X has an nvidia tegra 2 and the nexus s has a hummingbird.
Click to expand...
Click to collapse
lol. dude, I'm in the g2x forum.. not the "whatever phone ya wanna talk about" forum. I was referring to the g2x's having the same hardware, lol.
Thanks to the other guy for the awesome explanation

[Q] CPU usage monitor app (with dual core support): can we trust it?

So I bought the application
CPU usage and Frequency Monitor (dual core support)
It's on the market, and you can find its thread here at xda:
http://forum.xda-developers.com/showthread.php?t=1160319
The dev says there a limitation for the Sensation, but I bought it anyway:
****** NOTE ******
HTC Sensation Owners
There is a device limitation with reading the CPU Frequency. I am looking into a workaround for this problem.
****** NOTE ******
Click to expand...
Click to collapse
I asked the question in the dev thread, hopping for a fast answer,but want to ask here too:
Can we trust the CPU usage, individual for each core, that is displayed by the app????
This app displays, at the top of the screen, in the notification bar, what core is used, with one column for each core
So with our asynchrone dual core, one of the column is often empty, when the other can be half full, or full, in normal use, this seem to be OK (even if the used freq for each core is not read, as the dev says, but is the usage correctly read??)
But I noticed the second column, so second core, very often starts filling too!
I used to think Android 2.3 is not supposed to handle dual core, so that almost all the time, only one is used????
That was for me, and for what I've read, the big reason why we have really bad scores on every benchmark?
If CPU monitor is right, I can see the second core easily waking up when the first one is already full, sometimes just a little, sometimes 50%, sometimes 100%
INCLUDING DURING BENCHMARKS where CPU monitors displays both cores running at 100%!!!!
So what is true here? Is CPU monitor fooled by Android 2.3 and shows the second core waking up when it's not?
Or does indeed our second core easily wake up, including in benchmarks, meaning our pittyful scores will never be greatly improved since both cores already release their power??
Need more infos on these asynchrone dual core, the way they work and are supported by Android 2.3, what HTC did to implement this, etc
Not a single answer from a dev of someone with more knowledge than me concerning dual core architecture and the way Android can handle it?
I had an answer from the dev of CPU usage monitor:
The CPU usage information is abstracted in both cases at the App level. Apps just need to read the standard CPU usage information at the OS level to gather its data. Control of when and how the dual core magic works is not a worry at the app level since the OS handles it. Hope this helps.
Click to expand...
Click to collapse
So...........
=> In normal use, the app shows one core only running, very low if no app running, sometimes when the first one is full, the second one starts working a little after the first one is full, 10%, 25%, etc, for apps requiring a little more power, everything seems very logical for an asynchrone dual core CPU (wasn't I told that Android 2.3 doesn't really manage async dual core???? When we overclock, don't we overclock only one core?)
But when doing a Benchmark, or playing heavy openGL games, the app displays that both core run at 100%, CPU at its max power for both cores!
So if it is, even with a better rom once S-OFF or better drivers, our bench scores will always be very low
I need this to be confirmed or not, if we already have both cores running at 100% during bench or openGL games, we can't expect much more from our Sensation :-(
I'd be interested to understand this also.
I appears that the Gingerbread doesn't support Dual-Cores properly.
Have a look at: http://groups.google.com/group/android-platform/browse_thread/thread/b754408b9af17e55?pli=1
I guess we need an upgraded Kernel and associated libraries. I must admit I was surprised when I started looking.

Number of (virtual) CPUs

I would expect that my Sensation's /proc/cpuinfo showed 2 CPUs as processor 0 and 1.
This should be normal for a Linux kernel running on a "dual core CPU", both in case of actual twin cores and in case of "dual threaded single core" CPU.
But what I can see is just 1 core as processor:0.
How can I tell my device is usign both cores?
Thanks.
It's not. If you're not forcing CPU 1 online, it will not jump in until heavy load will occur.
krogoth said:
It's not. If you're not forcing CPU 1 online, it will not jump in until heavy load will occur.
Click to expand...
Click to collapse
Really?
/proc/cpuinfo talks about *all the available CPU cores*, not just the ones in use.
Well, at least under Linux.

Exynos 5420 video witch looks how hmp works

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

Bad performance in GTA:SA and not only? (Adreno-related)

Hi there! Any devs here?
Maybe anyone knows why in few games Adreno CANT BE on 100% usage?
For example: my phone is Pocophone F1. SD845, Adreno 630. Usage in any benchmark at 100%. Minecraft: 414 Mhz (instead of 710 Mhz - max for MIUI kernel), 80%, 50% usage in total.
At the same moment Mali at 100% usage with a LOT bigger FPS. Same with GTA:SA, possibly Modern Combat 5. What's happening? Any fix?
Maybe game devs should do something like PC game devs do?: (enable NVidia Optimus, bad example btw) vOptimusEnablement = 0x00000001 (just an example).
P.S. Oops, forgot. Throttling disabled, 5 minutes in CPU Throttle Test shows no difference (5min enough for this because the game started lag at the whole start).
All programming instructions ( whether they are graphic information or not ) are first processed by the CPU: if the CPU recognizes that they are graphics commands, they are delegated to the GPU. Unlike a CPU - which has only a few cores - a GPU has hundreds of cores.
Throttling the CPU only makes things worse.
jwoegerbauer said:
Throttling the CPU only makes things worse.
Click to expand...
Click to collapse
As i said there's NO throttle. Fully disabled. That's happening on any Kernel. Idk what is this, Adreno-related thing, no problems at Mali with that.
jwoegerbauer said:
All programming instructions ( whether they are graphic information or not ) are first processed by the CPU: if the CPU recognizes that they are graphics commands, they are delegated to the GPU. Unlike a CPU - which has only a few cores - a GPU has hundreds of cores.
Click to expand...
Click to collapse
Of course. Maybe Adreno-drivers need something for this? To say to CPU "Hey, this is an application that needs a lot of GPU power"?
_RusJJ_ said:
Of course. Maybe Adreno-drivers need something for this? To say to CPU "Hey, this is an application that needs a lot of GPU power"?
Click to expand...
Click to collapse
An app neither speaks to CPU nor to GPU: an app's program code gets loaded into RAM, then read in from there by CPU and sequentially processed.
What are you talking about, lol? The game cannot use GPU. It needs something. Maybe some function to call, idk exactly.
You're speaking about completely another thing that i know for almost 12 years, lmao.
Still waiting for any answer. Few games cannot load a GPU. Only on Adreno, Mali GPUs are good.
My last 2 cents here:
A GPU is a processor with hundreds of cores: a game never can load a GPU, it only makes use of it.
For an ideal situation, your device's CPU usage should remain in the 60% to 80% range (up to 90%), and device's GPU usage at 99% or 100%. One of the main causes of low GPU usage is due to CPU bottleneck. It means that you have an under-powered CPU that is not able to keep up with GPU's performance.
A temporary workaround for this problem is to raise a game's resolution to highest if you haven’t done it already. This will cause device's GPU to work more and it will have much higher utilization than before.
Take note that not all games use all the CPU cores. It can be possible that you are getting high usage on two cores only, and others are just not used at all. AFAIK GTA SA makes use of only 2 cores, COD also makes use of only 2 cores, , but PUBG makes use of 4 cores,
What the hell are you talking about?
Is there any CPU bottleneck im talking about?
NO. NO. AND NO. ADRENO-RELATED, HUH?
Pls, stop it, my chair burns. You dont understand a single thing that i need - ADRENO CANT HANDLE A GAME.
Looks like a joke...
Actually, I'm not interested in your problem at all.
Your posts show that you don't understand how CPU and GPU work together.
Here I'll explain it to you:
The GPU's memory consists of a series of registers. These permit the CPU to access the GPU's memory and instruct the GPU to perform operations. It's the CPU what loads the graphics instructions ( OpenGL ES ) to get executed into GPU's memory.
Simplified: the CPU feeds the GPU.
xXx yYy said:
Your posts show that you don't understand how CPU and GPU work together.
Click to expand...
Click to collapse
My post shows that GPU cant handle few games. All Adreno's. GG guys, open your eyes
Still waiting for useful info. For now stop showing your brilliant mind with yours "i think you..."
After a time and with using of a simpleperf i got more info. Playing Half-Life 2:
CPU Usage 12.12% /vendor/lib/egl/libGLESv2_adreno.so
Symbol: !!!0000!f56be09eb88f86833124f1df42e945!95db91f!
Mali HAS NO that problem. Completely.

Categories

Resources