[INFO] 2/23 || s800 CPU bin || "How stable is YOUR chip?"

Status
Not open for further replies.
Search This thread

cun7

Senior Member
Feb 13, 2014
99
310
A few users in the kernel asked about this subject. So I'm going to answer some questions, and provide some information and understanding here about what a "cpu bin" means (/d/acpuclk/pvs_bin) and more importantly, what it means to us as users.

I'll go ahead and snip my response from the kernel thread to get things rolling here so we can get a basic idea of it, and have an analogy to put into physicality of how this can be compared to something less "mysterious" for the every day guy wanting to understand.


Your CPU bin is the result of your device's inspection and test criteria at the Qualcomm factory. Basically a high bin CPU like a 5 or 6 is a very well made chip and very stable with very little imperfections in the manufacturing process. What this means for a HIGH bin is that the chip requires less voltage to operate at any frequency than, say, a bin 1. This is why you see some people having reboot issues when trying to under volt - their processor becomes unstable with less juice because of less accurate tolerances.

Think of it as friction. If you have a well oiled arm on a machine, and part of that arm's job is to force it's way through an opening repeatedly, and the tolerances on the arm and the opening are just slightly off... Well, for that "more out of tolerance" one to do the same amount of work as one that's parts were machined perfectly, it would require more force, because there is more friction inherently from a less accurate build process. Think of the machine as the CPU, the force required behind the arm being moved to carry out the work as the voltage required in your chip, and the tolerance of the parts as the same - just a different types of parts because of course, it is an analogy.

A higher CPU bin is, generally speaking, a more stable chip. Bus frequency, RAM speed, GPU speeds... Everything is directly related, in terms of stability and capable clock rate, to the chip's bin (or quality of build).

Here is an interesting article that most people will find shocking. Look at the difference is clock rates of low and high binned chips:

http://www.androidbeat.com/2013/09/difference-snapdragon-800-2-2ghz-2-3ghz/#.Uwdf2p_TnqA

Note the example of the HTC One and Galaxy S4. It is obvious that Qualcomm sold their higher end chips to Samsung, while HTC was given the less quality chips. Same chip. Same theoretical clock rate. However, the chips in the HTC One are different in 1 aspect - their build quality, and therefore, their capable clock rate and their stable clock rate.

And of course the end of that article reallllyy sums up the bottom line here for those of us who like to overclock:

So, you mean to say I should avoid any Android device that uses a Snapdragon S800 SoC running at 2.2GHz, and not 2.3GHz? No! The S800 is the fastest SoC available from Qualcomm, and the slight difference in performance between the different bins should not affect your final decision at all. The S800 is more than future-proof so don’t worry about the slight difference in clock speed.

However, if you are a benchmark junkie or love to overclock your device, better get an Android device that uses the higher binned S800.

It is important to note, that while there is a slight difference in performance (of course at stock speeds) there is a huge difference in stability when you start adding non-calculated variables when the processor was given it's bin number.... over clocking... and under volting - both common things that are added into a device's operation after rooting and installing a new kernel.

A small tid bit of information to think about:
A bin 6 runs the stock MAX frequency with only 950 MV...
A bin 0 runs the stock MAX frequency with 1100 MV...


150mv difference! You can see the example of my "machine analogy" can't you? Less is required, to do the same amount of work.

SO, what does all of this mean anyways? Well, to sum it all up, it simply means that you should be aware of your device's capabilities. KNOW YOUR BIN!

With a file explorer, navigate to:
Code:
/d/acpuclk/pvs_bin


And if you are running 4.4.2 KitKat:
Code:
/sys/devices/system/soc/soc0/soc_pvs

There will be a number there 0 - 6

If you are an overclock junkie, higher the number the better.

A lower number like a 0 or 1 will simply mean that you will not be able to get away with as much overclocking and under volting. You kind of just are what you are. If you are a 0 or 1, or even a 2 and you are overclocking and under volting your device and having reboots... well, luck of the draw. Your chip just needs that extra juice to operate, it is a physically binding attribute. Set, and test. Set, and test. Find out where your device is comfortable and what it can handle and accept it.

There is a lot more information that I will add later - specifically about how the different bins are more or less power friendly.

I hope this sheds some light for those who want to understand this.


For those of you wanting to know the guts (as a result of, again, PMs) Keep reading...


BREAKING IT DOWN - A Tale of Two Snapdragons
The test methods involved in "binning" chips. What I am about to explain is what, quite honestly, few people know. This is because the process of testing goes on behind closed doors at Qualcomm, but is common practice in manufacturing anything mechanical or electronic. Quality Control is why you have these "binned" CPUs. It is basically the result of a set of tests run on the chip to examine extremes in variation of fabrication of the chips. No chip, or manufactured part for that matter, is exactly the same as the next, simply because of manufacturing variables that cause the manufactured design to have slight variations or even defects. The silicon of the chip being exposed to undesirable or slightly out of "tolerance" environmental temperatures, for example, could have an effect on the quality of the end product. It is a very controlled process, and the "process corner" as it is called or design of experiments, it a process used to test, evaluate, and graph the uncontrolled moments of that particular part's manufacturing journey.

All of this translates to robustness of a design. After Qualcomm builds the processor, they want to know how this device will perform under different extreme conditions! Simple logic! If I build something, I want to know how it will handle stress, right? But I don't want to damage the ones I have already built. What they do is replicate these possible manufacturing defects in something called "corner lots". Corner lots have had manufacturing process parameters adjusted according to these extremes. They will then test the devices made from these special "test wafers". Typically, for CPUs, and I know at Qualcomm, they will run voltage tests, clock frequency, temperature.

For voltage, for example, the idea there is to push the device to it's maximum and minimum capability at various clock frequencies, to determine it's stability threshold. Any of you other Engineers out there of the electrical type (I am Mechanical, however) have heard a "shmoo plot" which is basically these test functions graphed as hard data. Based on how the chip performs, it is given a number. A well made chip has less manufacturing variation, obviously, and passes the tests with flying colors, shows very desirable characterization traits during the test method, and is given a bin 6 - just as an example. Another chip does ok, is a little less stable overall than the previous, but is still acceptable based upon the design and engineering criteria, and is given a 0 - barely passing the characterization "test".

So back to the beginning. What is CPU binning? What does the number mean?

Well, based up the pvs tables in the source code, it is obvious that the bin 6's are the ones with less VFP (variation of fabrication parameters) because they require less voltage, and at the same time are clocked higher in the GPU, CPU, and RAM and bus. Less force is required to get the job done. A bin 6 would be comparable to the car you bought that finally took a dump a 300k miles while the other one of similar make, model and year died at 200k. Variation in manufacturing. It applies to everything in industry, not just cars and machined parts made of steel. That is what the tests are designed to do. That is why your voltage tables from one device to the next will vary slightly. That is why one person can run this kernel, and this person can't and why one person can under volt their device 35mv while you cannot.

That is what your cpu "bin" represents people. Simply the physical results of some tests done by some engineers to determine your particular processor's compliance to tolerances as it was being built.
 
Last edited:

cun7

Senior Member
Feb 13, 2014
99
310
Reserved for images of pvs tables. Note the difference in the voltage tables to the right of the frequency steps.
 

Attachments

  • Screenshot_2013-11-18-14-11-51-picsay.jpg
    Screenshot_2013-11-18-14-11-51-picsay.jpg
    235.5 KB · Views: 936
  • Screenshot_2013-11-18-14-11-58-picsay.jpg
    Screenshot_2013-11-18-14-11-58-picsay.jpg
    236.6 KB · Views: 808
  • Screenshot_2013-11-18-14-12-09-picsay.jpg
    Screenshot_2013-11-18-14-12-09-picsay.jpg
    232.5 KB · Views: 741
  • Screenshot_2013-11-18-14-12-16-picsay.jpg
    Screenshot_2013-11-18-14-12-16-picsay.jpg
    233.9 KB · Views: 661
Last edited:

chipworkz

Senior Member
Dec 28, 2011
1,749
3,034
I wish you got your scale backwards, my T-Mobile Note 3 is a 1. :(

Edit: Checked my wife's phone and she has a 0. These phones are less than a month old. Wonder if it is just hit and miss per batch or if they started buying cheaper chips.
 
Last edited:

Eric214

Senior Member
Oct 24, 2012
1,650
551
Philly
hmmm interesting write up. I had no clue about CPU binning. Mine is a value of 5. Is there supposed to be anything else in there? It's just a 5, nothing else.
 

Eric214

Senior Member
Oct 24, 2012
1,650
551
Philly
Got a 3.
I don't do any CPU tweaks, but it's nice to know for future reference.

Thx

Sent from my SM-N900T using xda premium

yeah this phone doesn't need overclocking. I'm stock deodexed with bloat removed and I've never once had the phone stutter or lag once and apps open consistently faster then any phone I've ever had prior to this one (including my S4). Though I do maintenance (wipe Dalvik/cache) every 3 or 4 days.
 

mocsab

Senior Member
Aug 16, 2011
3,723
1,372
West Milwaukee
www.shimmeringglass.com


With a file explorer, navigate to:
Code:
/d/acpuclk/pvs_bin

There will be a number there 0 - 6

If you are an overclock junkie, higher the number the better.

.


I am on Project X Kit Kat rom - I used Root Explorer to see if I could locate this - I found d/ folder but I coulid not find anyhting named anything close to acpuclk/pvs_bin

maybe I am looking in the wrong place? Any guidance would be helpful...

thanks
 

pete4k

Senior Member
Jan 2, 2014
975
288
Can anybody with high bin (3-6 lets say) post top and bottom values from acpu_table in the same directory? Just wanted to see how those settings differ at 300MHz idle and 2265MHz full speed to mine with bin 1.
 

Luthien1

Senior Member
Nov 14, 2010
455
83
this thread has been addressed before, and the problem with this is that if you ever flashed a rom on your phone, then the bin number will change to that person who made the rom. therefor, the only way this works is if you never flashed a rom or you have your back up rom. Am i missing something ?

---------- Post added at 12:11 AM ---------- Previous post was at 12:08 AM ----------

oh ok maybe i was wrong sorry
 

cun7

Senior Member
Feb 13, 2014
99
310
Updated post number 2 with images of the pvs table source code. Look at the difference in voltage levels based on the bin number! Quite a difference guys!
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    A few users in the kernel asked about this subject. So I'm going to answer some questions, and provide some information and understanding here about what a "cpu bin" means (/d/acpuclk/pvs_bin) and more importantly, what it means to us as users.

    I'll go ahead and snip my response from the kernel thread to get things rolling here so we can get a basic idea of it, and have an analogy to put into physicality of how this can be compared to something less "mysterious" for the every day guy wanting to understand.


    Your CPU bin is the result of your device's inspection and test criteria at the Qualcomm factory. Basically a high bin CPU like a 5 or 6 is a very well made chip and very stable with very little imperfections in the manufacturing process. What this means for a HIGH bin is that the chip requires less voltage to operate at any frequency than, say, a bin 1. This is why you see some people having reboot issues when trying to under volt - their processor becomes unstable with less juice because of less accurate tolerances.

    Think of it as friction. If you have a well oiled arm on a machine, and part of that arm's job is to force it's way through an opening repeatedly, and the tolerances on the arm and the opening are just slightly off... Well, for that "more out of tolerance" one to do the same amount of work as one that's parts were machined perfectly, it would require more force, because there is more friction inherently from a less accurate build process. Think of the machine as the CPU, the force required behind the arm being moved to carry out the work as the voltage required in your chip, and the tolerance of the parts as the same - just a different types of parts because of course, it is an analogy.

    A higher CPU bin is, generally speaking, a more stable chip. Bus frequency, RAM speed, GPU speeds... Everything is directly related, in terms of stability and capable clock rate, to the chip's bin (or quality of build).

    Here is an interesting article that most people will find shocking. Look at the difference is clock rates of low and high binned chips:

    http://www.androidbeat.com/2013/09/difference-snapdragon-800-2-2ghz-2-3ghz/#.Uwdf2p_TnqA

    Note the example of the HTC One and Galaxy S4. It is obvious that Qualcomm sold their higher end chips to Samsung, while HTC was given the less quality chips. Same chip. Same theoretical clock rate. However, the chips in the HTC One are different in 1 aspect - their build quality, and therefore, their capable clock rate and their stable clock rate.

    And of course the end of that article reallllyy sums up the bottom line here for those of us who like to overclock:

    So, you mean to say I should avoid any Android device that uses a Snapdragon S800 SoC running at 2.2GHz, and not 2.3GHz? No! The S800 is the fastest SoC available from Qualcomm, and the slight difference in performance between the different bins should not affect your final decision at all. The S800 is more than future-proof so don’t worry about the slight difference in clock speed.

    However, if you are a benchmark junkie or love to overclock your device, better get an Android device that uses the higher binned S800.

    It is important to note, that while there is a slight difference in performance (of course at stock speeds) there is a huge difference in stability when you start adding non-calculated variables when the processor was given it's bin number.... over clocking... and under volting - both common things that are added into a device's operation after rooting and installing a new kernel.

    A small tid bit of information to think about:
    A bin 6 runs the stock MAX frequency with only 950 MV...
    A bin 0 runs the stock MAX frequency with 1100 MV...


    150mv difference! You can see the example of my "machine analogy" can't you? Less is required, to do the same amount of work.

    SO, what does all of this mean anyways? Well, to sum it all up, it simply means that you should be aware of your device's capabilities. KNOW YOUR BIN!

    With a file explorer, navigate to:
    Code:
    /d/acpuclk/pvs_bin


    And if you are running 4.4.2 KitKat:
    Code:
    /sys/devices/system/soc/soc0/soc_pvs

    There will be a number there 0 - 6

    If you are an overclock junkie, higher the number the better.

    A lower number like a 0 or 1 will simply mean that you will not be able to get away with as much overclocking and under volting. You kind of just are what you are. If you are a 0 or 1, or even a 2 and you are overclocking and under volting your device and having reboots... well, luck of the draw. Your chip just needs that extra juice to operate, it is a physically binding attribute. Set, and test. Set, and test. Find out where your device is comfortable and what it can handle and accept it.

    There is a lot more information that I will add later - specifically about how the different bins are more or less power friendly.

    I hope this sheds some light for those who want to understand this.


    For those of you wanting to know the guts (as a result of, again, PMs) Keep reading...


    BREAKING IT DOWN - A Tale of Two Snapdragons
    The test methods involved in "binning" chips. What I am about to explain is what, quite honestly, few people know. This is because the process of testing goes on behind closed doors at Qualcomm, but is common practice in manufacturing anything mechanical or electronic. Quality Control is why you have these "binned" CPUs. It is basically the result of a set of tests run on the chip to examine extremes in variation of fabrication of the chips. No chip, or manufactured part for that matter, is exactly the same as the next, simply because of manufacturing variables that cause the manufactured design to have slight variations or even defects. The silicon of the chip being exposed to undesirable or slightly out of "tolerance" environmental temperatures, for example, could have an effect on the quality of the end product. It is a very controlled process, and the "process corner" as it is called or design of experiments, it a process used to test, evaluate, and graph the uncontrolled moments of that particular part's manufacturing journey.

    All of this translates to robustness of a design. After Qualcomm builds the processor, they want to know how this device will perform under different extreme conditions! Simple logic! If I build something, I want to know how it will handle stress, right? But I don't want to damage the ones I have already built. What they do is replicate these possible manufacturing defects in something called "corner lots". Corner lots have had manufacturing process parameters adjusted according to these extremes. They will then test the devices made from these special "test wafers". Typically, for CPUs, and I know at Qualcomm, they will run voltage tests, clock frequency, temperature.

    For voltage, for example, the idea there is to push the device to it's maximum and minimum capability at various clock frequencies, to determine it's stability threshold. Any of you other Engineers out there of the electrical type (I am Mechanical, however) have heard a "shmoo plot" which is basically these test functions graphed as hard data. Based on how the chip performs, it is given a number. A well made chip has less manufacturing variation, obviously, and passes the tests with flying colors, shows very desirable characterization traits during the test method, and is given a bin 6 - just as an example. Another chip does ok, is a little less stable overall than the previous, but is still acceptable based upon the design and engineering criteria, and is given a 0 - barely passing the characterization "test".

    So back to the beginning. What is CPU binning? What does the number mean?

    Well, based up the pvs tables in the source code, it is obvious that the bin 6's are the ones with less VFP (variation of fabrication parameters) because they require less voltage, and at the same time are clocked higher in the GPU, CPU, and RAM and bus. Less force is required to get the job done. A bin 6 would be comparable to the car you bought that finally took a dump a 300k miles while the other one of similar make, model and year died at 200k. Variation in manufacturing. It applies to everything in industry, not just cars and machined parts made of steel. That is what the tests are designed to do. That is why your voltage tables from one device to the next will vary slightly. That is why one person can run this kernel, and this person can't and why one person can under volt their device 35mv while you cannot.

    That is what your cpu "bin" represents people. Simply the physical results of some tests done by some engineers to determine your particular processor's compliance to tolerances as it was being built.
    6
    Reserved for images of pvs tables. Note the difference in the voltage tables to the right of the frequency steps.
    5
    This whole thread is bases on erroneous assumptions of "binning", all microchips are tested at the factory to determine frequency and voltages, just like Intel and amd, cpus are tested and graded, these chips are sold as 3ghz, 2ghz, whatever, based on these results. Over clocking and undervolting are both detrimental on the life span of the chip. That is why chips from Intel (unless you buy an unlocked chip with no warranty) are locked to prevent this. As someone who has went through a LOT of chips it is not recommended. The qualcomm 800 chips are graded the same way, the chips are tested before the actual "model" is determined, and based on the test results, the model of the chip is determined. This has been standard operating procedure for chip fabricators for a long time. Rooting is great for adding functionality and removing bloatware, but and undervolting WILL reduce the life of the chip, this is a fact (check with qualcomm or arm if you doubt).

    Without writing a novel about why you are wrong... The methods I outlined about the quality control process and more specifically the characterization tests is what really goes on... Despite what you may have read on the internet somewhere.

    They do this to test robustness of their design. This isn't an erroneous assumption I'm an Engineer and I have seen this type of testing first hand.

    Also, I never made any claims about over clocking not having any kind of effect on the half-life or service life of the device - added stress unaccounted for during the design phase is a variable that can, of course, play a role in a failure mode.



    Sent from another galaxy
    5
    On Kitkat it is located at:
    Code:
    /sys/devices/system/soc/soc0/soc_pvs
    3
    Mine is a value of 5. Is there supposed to be anything else in there? It's just a 5, nothing else.

    I hate you.

    Sent from another galaxy