Instructions per cycle - Gary explains

Поділитися
Вставка
  • Опубліковано 10 лют 2025
  • Find out more: goo.gl/LuttfM
    Is the clock frequency the main gauge of a CPU's performance? No, because it matters how many instructions the CPU can execute per cycle of that clock!
    Download the AndroidAuthority App: play.google.co...
    Subscribe to our UA-cam channel: www.youtube.com...
    ----------------------------------------------------
    Stay connected to Android Authority:
    www.androidauth...
    google.com/+and...
    / androidauthority
    / androidauth
    / androidauthority
    Follow the Team:
    Josh Vergara: plus.google.co...
    Joe Hindy: plus.google.co...
    Lanh Nguyen: plus.google.co...
    Jayce Broda: plus.google.co...
    Gary Sims: plus.google.co...
    Kris Carlon: plus.google.com...
    Nirave Gondhia: plus.google.com...
    John Velasco: plus.google.com...
    Bailey Stein: plus.google.com...

КОМЕНТАРІ • 146

  • @skyMcWeeds
    @skyMcWeeds 8 років тому +2

    Gary Explains has become one of my favorite portions of AA. Lots of stuff to learn.

  • @Mooooooof
    @Mooooooof 8 років тому +54

    Your videos are great, please create your own channel. No disrespect to AA.

    • @mangshu21
      @mangshu21 6 років тому +12

      and he did :)

    • @zes3813
      @zes3813 4 роки тому

      wrr, say any nmw anda ny s perfx

  • @anujgupta3397
    @anujgupta3397 8 років тому +29

    i was waiting for this video since a long time
    thanks gary👍👍

    • @Remyueru
      @Remyueru 8 років тому +1

      Gary sounds more like a general computer geek than just and android fan

  • @Krishnakumar-wl7ih
    @Krishnakumar-wl7ih 8 років тому +10

    Most informative set of vids on internet...

  • @sanat83
    @sanat83 5 років тому +1

    what an explanation , how come i miss this so long .. clear explanation .

  • @JamesRussoMillas
    @JamesRussoMillas 8 років тому +12

    These are my favorite AA vids

    • @aRoamingDuck
      @aRoamingDuck 8 років тому +2

      Truth

    • @wanmaziah9835
      @wanmaziah9835 5 років тому

      Yeah dude is easy to understand this topic 😊😊👍👍👍

  • @Chauzenoux
    @Chauzenoux 8 років тому +16

    Your videos are the best in the channel, even if the phone reviews are great (for buyers) these are educative and interesting. I hope to see more and more videos like these in the future!

  • @aRoamingDuck
    @aRoamingDuck 8 років тому

    I was literally self researching this yesterday. Thanks for making a video to help clarify any things I didnt quite understand

    • @aRoamingDuck
      @aRoamingDuck 8 років тому

      Also Gary, not sure if you've talked about this; but would you mind talking a little more in depth about 32vs64bit chipsets, and the design/slow of data in the cpu?

  • @rednafi
    @rednafi 8 років тому

    you explained it better than my course teacher.Huge thanks for the written companion

  • @medaminbelkhiria
    @medaminbelkhiria 8 років тому +1

    this video took me back to the assembly lessons on 8086 processors :)
    thanks Gary

  • @motorspeed300
    @motorspeed300 8 років тому +1

    Didn't like this guy very much when he showed up. But now, he's my favorite guy around here, and those tech videos are really helpful as I am studying IT. Thanks Gary, really great videos.

  • @ArrayCodes
    @ArrayCodes 8 років тому

    garry sir you are my favourite teacher.i've learnt so many things from you.

  • @DanGBaxter
    @DanGBaxter 8 років тому

    These videos are really good for me, helps me remember the topics i did in the past year of my computer science degree :)

  • @supundasanthakuruppu3496
    @supundasanthakuruppu3496 3 роки тому

    Great video! Learned a lot from this.

  • @mds3697
    @mds3697 8 років тому +49

    Gary, why don't you make your own channel called Gary explains? you'll have more freedom per video and you'll be able to talk about more than just android related subjects.
    would be fun, but these video's probably take ages to make and prepare so I understand if you don't really have time.

    • @ArrayCodes
      @ArrayCodes 8 років тому +1

      agreed

    • @wdora930
      @wdora930 6 років тому +7

      Midas A : he create it now.. thanks to you.. comment from 11 april 2018

    • @armanke13
      @armanke13 6 років тому +3

      Found it ua-cam.com/channels/RjSO-juFtngAeJGJRMdIZw.html (Gary Explains)

    • @supersu6138
      @supersu6138 4 роки тому +5

      So the name comes from here !

    • @TeenyPort
      @TeenyPort 4 роки тому +4

      This is the most legendary post I have ever read

  • @ItsMrFresh
    @ItsMrFresh 4 роки тому +1

    This was very informative and well made. Definitely learnt a lot through this. Does boggle my mind though how complex the design of cpus are. Like, when I'm building a pc, I'm picking which option I want out of a handful of cpus and considering different factors to decide which is best for my workload. But the cpu designers had to think of all this low level architecture stuff, chose what they thought was best and then I just have to trust them, and buy whatever they sell :D

  • @SageMinimalist
    @SageMinimalist 8 років тому

    This completely changed my view on processors
    Thanks Gary

  • @Abhipatel-rt6vz
    @Abhipatel-rt6vz 8 років тому

    Always something new to learn from you!

  • @LeoNidasPlayForFun
    @LeoNidasPlayForFun 8 років тому +16

    I remember buying my first PC with a monster CPU Citrix 486 at 80Mhz.

    • @wanmaziah9835
      @wanmaziah9835 5 років тому

      @Captain Angry lol nope instructions per cycle is very important dude why are you so dumb pls learn about CPU from apple... even in apple case they have out of order CPU and bigger instructions window.... and they make it better CPU even now days interm of CPU performance apple chip is far ahead from other soc Lol 🙄. Let me clear that even if you have better clock speed and better core performance CPU in facts if you even have worst IPC that is not gonna make CPU can works better at higher performance so think of that before you talk Gary has explained clear in this video.... Both are important I think The IPC come first when it design the CPU because all CPU the works it come from IPC then through to clock speed... Ok 😊👍

    • @wanmaziah9835
      @wanmaziah9835 5 років тому

      @Captain Angry ok then tell me why we have higher clock speed instead of has instruction window great IPC ???? bla bla bla 🤷🤷🤷 Lol

    • @wanmaziah9835
      @wanmaziah9835 5 років тому

      @Captain Angry but the 10ghz it will never come bro keep it mind even in desktop or laptop CPU can produce only 5 or 6Ghz maximum higher clock frequency there is no more it can be go over that... I think is not gonna happen bro... Since your ideas or you comments is kinda of bullshit pls comments a logic answer by using you brain bro... Trust me it was never happen in especially in mobile phone... The power of the CPU in mobile phone or laptop or PC is different so far if we want to compare the power hungry , power consumption and much more... And you said 10Ghz is kinda of happen and can be used all for platform mobile o pc ??? Lol I think your logic answer is too far behind away from this video...

  • @manuvinayas27
    @manuvinayas27 3 роки тому

    Thankyou for the nice explanation

  • @neiljohnson2579
    @neiljohnson2579 6 років тому

    Man !
    what a video
    great stuff Mr.Gary Sims

  • @oscarmike47
    @oscarmike47 4 роки тому

    very informative. learned exactly what i was looking for thanks

  • @ha_dua_o
    @ha_dua_o 6 років тому

    Again and again, I amazed on your lesson 😂

    • @ha_dua_o
      @ha_dua_o 6 років тому

      Sorry for my english

  • @Maddof_Erroz
    @Maddof_Erroz 4 роки тому

    You Sir, are awesome.

  • @hristo.bogdanov
    @hristo.bogdanov 8 років тому +2

    Very good video mate :)

  • @surajtiwari2614
    @surajtiwari2614 7 років тому +4

    Gary, you said out-of order circuitry (engine) always needs to be turned on but e.g. a processor has two clusters 4 'A53' and 4 'A73' or 'A72' and it does not incorporate simulatenous HMP (hetrogenous multiprocessing). If I am using a light application that only uses A53 cluster and it's so light that it never uses A73 or A72 cluster. will the out-of-order circuitry (engine) will still be on and consuming power? if yes, then why, because it should not do so as bigger cluster is inactive or is it- it is not inactive and just sleeping i.e., working with lower frequency?

    • @rsrs8632
      @rsrs8632 7 років тому +1

      No, this is in a single cpu. So when the a72/73 cpu are off, so is the cicruitry in the cpu for out of order execution.

  • @_Agosto_
    @_Agosto_ 8 років тому

    Very nice video.

  • @joerivde
    @joerivde 5 років тому

    Dude, you are the bomb! Best explanation ever, thanks.

  • @Shawnnyyyyyy
    @Shawnnyyyyyy 6 років тому

    Excellent video!

  • @Fahim.Rahman
    @Fahim.Rahman 7 років тому +2

    Great and informative as usual Gary! Just wondering, do clock speeds have any direct correlation with power consumption? Could this explain how Apple manages to pull off good battery life with smaller battery capacities?

  • @FabianBarajas
    @FabianBarajas 6 років тому

    great video! Thanks for posting this.

  • @rousseld.nzoyem8105
    @rousseld.nzoyem8105 5 років тому

    thanks, I got a lot of info from this. Best tutorial ever !!

  • @HighTide1715
    @HighTide1715 8 років тому

    Thanks Gary! Great information, great video.
    Thanks again for your efforts.

  • @nerovar23
    @nerovar23 2 роки тому

    I learned a tonne, tnx man

  • @samnada6248
    @samnada6248 6 років тому

    Great explanations, thank u 👍👍😊

  • @yathish4145
    @yathish4145 8 років тому

    good job Gary

  • @Rtong98
    @Rtong98 8 років тому

    very well thought out video

  • @supergamer1123
    @supergamer1123 8 років тому

    Nice explanation!

  • @Nathan00at78Uuiu
    @Nathan00at78Uuiu Рік тому

    Is there a mode that allows you to program what the cpu should do? So instead of the cpu predicting and trying to optimize, you just figure out ahead of time what is the optimized way to process your program and tell the cpu not to do anything other that what you explicitly tell it to do.

  • @vivekkashyap3688
    @vivekkashyap3688 7 років тому +1

    What i thought is, chips with more ILP are used in flagship phones, where the chips with higher clock speed is used in mid-range smartphones (as they cost less). Hence, both philosophies will be continued...

    • @wanmaziah9835
      @wanmaziah9835 5 років тому

      Nope not really in apple case bro...

  • @oguzaranay
    @oguzaranay 6 років тому

    I really did enjoy.

  • @adityavarma4768
    @adityavarma4768 7 років тому

    That's really a interesting topic... 👍👍👍

  • @ihuman007
    @ihuman007 8 років тому

    Very informative... Good video

  • @ajgharbaran8175
    @ajgharbaran8175 8 років тому +2

    Jeeez you are way better than my teachers xD

  • @Cheffakos
    @Cheffakos 6 років тому

    Thank you :) Nice and clear

  • @hdjksa52
    @hdjksa52 4 роки тому

    So am I correct in concluding that the clock signals switch the cpu from memory locations to get the instructions?

  • @ArrayCodes
    @ArrayCodes 8 років тому

    my brain is filled with informations.

  • @ItsMrFresh
    @ItsMrFresh 4 роки тому

    Is the naming of a cortex-a53 on the same level as a ryzen 3800x? Or is cortex-a53 an umbrella term that many cpus come under?

  • @xeoneraldo1254
    @xeoneraldo1254 7 років тому

    Thanks Gary! Always love your videos since birth lol :D Greetings here from Philippines!

  • @azexy21
    @azexy21 8 років тому

    great explainaning !
    Gary what Do You think About an MTK cpu ??

    • @TheTECHTract
      @TheTECHTract 8 років тому

      MTK uses ARM Cortex cores.

    • @Delta-1X-Ray
      @Delta-1X-Ray 8 років тому

      +Vipan Kumar So why poor performance?

    • @rydohg
      @rydohg 8 років тому

      If it's ARM then good luck finding software for it.

    • @ghettobrown209
      @ghettobrown209 8 років тому +2

      Mtk makes garbage

    • @wanmaziah9835
      @wanmaziah9835 5 років тому

      @@Delta-1X-Ray lol

  • @ahmedshimi4401
    @ahmedshimi4401 8 років тому

    thanks a lot great video

  • @ArrayCodes
    @ArrayCodes 8 років тому +1

    does cpu frequency matter in gaming?if i have the high end gpu.

    • @sampro454
      @sampro454 8 років тому +3

      no, you'll be fine with 6 mhz.

    • @surajtiwari2614
      @surajtiwari2614 7 років тому +1

      Sam Prokopchuk
      😃😄😁

    • @Phantom.3296
      @Phantom.3296 6 років тому +1

      Sam Prokopchuk lol

    • @wanmaziah9835
      @wanmaziah9835 5 років тому

      @@Phantom.3296 lol

    • @wanmaziah9835
      @wanmaziah9835 5 років тому

      No even A12 bionic can do much better in heavy game and it reach the clock speed 2.5Ghz at 2 core performance vortex ok. I think the clock speed is not necessarily the ips is the important one and it must come first.... when the CPU want to look and what coming next execution.... ok

  • @djsnowpdx
    @djsnowpdx 7 років тому +2

    So on the desktop/consumer side... Intel has fewer cores but higher clock speeds AND greater instructions per clock cycle, so 5.0 GHz = 50% faster than 3.7 GHz on Ryzen.

    • @wanmaziah9835
      @wanmaziah9835 5 років тому

      I can't understand what did you mean by that ?

    • @scotchwhisky6094
      @scotchwhisky6094 4 роки тому

      and this is why games like Arma 3 that use only one core perform better, since AMD has lower instructions per clock and clock speeds.

  • @yumri4
    @yumri4 5 років тому

    Wouldn't the most important thing be IPC * MHz while keeping inside the heat envelope you want to be in while keeping stable under a 100% load for however long the processor is designed to run at 100%?

  • @rollmeister
    @rollmeister 4 роки тому

    The "parallelism" for Arm CPU's is called Dual Issue.

  • @ytown4
    @ytown4 8 років тому

    Mind blown!

  • @AnimeBeefRandoms
    @AnimeBeefRandoms 8 років тому +1

    This is why you can't compare only Ghz and core counts. iPhone are competitive in benchmarks not because of some magical "optimization" it's because their hardware is as good as their snapdragon counterparts, just different in architecture.

    • @wanmaziah9835
      @wanmaziah9835 5 років тому

      Architecture is still using from arm ? Or I getting confused

    • @wanmaziah9835
      @wanmaziah9835 5 років тому

      🤔

    • @h2o628
      @h2o628 3 роки тому

      @@wanmaziah9835 instruction and architecture are different

  • @zackrider3708
    @zackrider3708 4 роки тому

    so in short, Instructions per cycle is the measurement of how powerful your CPU is...

  • @marshmallowwolf3976
    @marshmallowwolf3976 5 років тому

    only one critique, i didnt know depth was horizontal 8:27 , and width being vertical 8:38

  • @youmyoum5556
    @youmyoum5556 8 років тому

    you are amazing

  • @ko-Daegu
    @ko-Daegu 3 роки тому

    12:49 aged like fine milk with specter & Meltdown out of order is Pentersters wet dream

  • @CinnamonCian
    @CinnamonCian 8 років тому

    Gary, where are you from?

  • @adirmugrabi
    @adirmugrabi 8 років тому

    wait, if out of order cpu can change the orders turns in a way that will optimize the run time. why not compile that? so that you will run it once then store the order for next runs

    • @lechi_2002
      @lechi_2002 8 років тому +2

      The instructions are already compiled to machine code, otherwise they wouldn't be able to run on a CPU.

    • @adirmugrabi
      @adirmugrabi 8 років тому

      Tudor Lechintan yes, but every command has a 'next' we should sort it before execuition. Like Java does

    • @lechi_2002
      @lechi_2002 8 років тому

      +adir mugrabi Java can't run on a CPU, it has to transform the byte-code into compiled code in order to run.

    • @adirmugrabi
      @adirmugrabi 8 років тому

      Tudor Lechintan i know. but that is not relevant.
      what i'm saying is that they should make the software rearrange the code so that reading it in order will be the same as out of order.

    • @motorspeed300
      @motorspeed300 8 років тому

      I think that's called software optimization, no? One thing is to get rid of loops, or make them smaller (less things to execute per loop).

  • @zakariyeyusuf1064
    @zakariyeyusuf1064 5 років тому

    Alot of theoratical knowledge.

  • @errormaker1
    @errormaker1 8 років тому

    exellent video. shame that the wiki article on this is so bare bones

  • @wahed_zaman
    @wahed_zaman 8 років тому

    Hi Gary, why don't you start a new channel on Computer Architecture or on Numerical Method or Even A.I.?

  • @hoppingturtles
    @hoppingturtles 8 років тому

    This video should stop apple and Samsung arguments😂 (only cpu)

  • @mahapol8812
    @mahapol8812 7 років тому +1

    However I like to ask why clock is used?

    • @wanmaziah9835
      @wanmaziah9835 5 років тому

      Exactly that interesting question.....

  • @Bloomio95
    @Bloomio95 5 років тому

    what does a programming language need to have in order to raise the IPC?

    • @kissmyoradora83
      @kissmyoradora83 2 роки тому

      That is handled by the compiler/interpreter. For compiled languages you could do a little assembly fiddling but its probably (99% of the time) not worth it.

  • @TimBrandtCorstius
    @TimBrandtCorstius 8 років тому

    And what about the instruction sets I can see on CPU-z?

    • @jmcwd
      @jmcwd 8 років тому +2

      Those are different sets of data the CPU uses as instructions for different types of operations. An example would be virtualization

    • @wanmaziah9835
      @wanmaziah9835 5 років тому

      No lol

  • @plafar7887
    @plafar7887 3 роки тому

    Please correct: 'Branch Prediction', not 'Branch Predication'.

  • @jashsylde8136
    @jashsylde8136 7 років тому +3

    Yeah we most have known the term 'IPC' (Instructions Per Clock-cycle) for a long time now, but where is the IPC of a Cpu listed. Like we know it was a big jump of IPC from 1st gen to the 2nd Gen and From 5th Gen to 6th Gen(Intel), same applies for the JUMP From FX Series to Ryzen (AMD). I mean Ryzen is claimed to have 52% better IPC than the FX series. But where are the exact figures? Why a Cpu generation not marketed by its IPC ? Why can't Intel and AMD be simply be compared via "GENERATIONAL-IPC" figures in general ? I mean they are Microprocessors afterall, nothing that of a difference , besides the Manufacturing process of Kabylake and Zen are the same (14nm) . Why can't they simply post IPC as a means of measurement of raw SINGLE-CORE performance of the CPU, in the product's Description. What is all the fuss about.
    We just don't wanna know how much improvements (Depicted only as a Percentage) But also wanna know the Exact 'IPC Value' of a CPU, So we can know ' How much should we Overclock our CPU's so as to be equivalent to another CPU' Why is it so difficult for INTEL AND AMD to reveal their IPC Figure and Only market over Clockspeed and Cores ?
    Having known the Standard IPC values of every CPU generation can make a WORLD of a difference to OUR APPROACH TOWARDS OVERCLOCKING. Believe me it's gonna be a big thing if they have a competition of IPC,Clock Speeds and Core-count.
    Atleast these 3 measures are required to judge a CPU's Performance (Before Buy/Testing).

  • @GurubashiGodBreaker
    @GurubashiGodBreaker 8 років тому +4

    competing with linus tech tips huh

    • @wanmaziah9835
      @wanmaziah9835 5 років тому

      @Captain Angry nope no it was never come yet unless in your dreams...

  • @SamSam-bq2if
    @SamSam-bq2if 8 років тому

    i just figured out theres gunna be 16 notes from samsung look at the unpacked logo on the waiting screen

  • @shubhamsaurav5105
    @shubhamsaurav5105 8 років тому

    Why no Intel or AMD CPU examples? -_-

    • @jawr1215
      @jawr1215 8 років тому +3

      Shubham Saurav well this is a mobile channel. In this case Apple CPUs mirror intel's; lower clock but much better architecture, while ARM typically mirrors AMD; high clock and cores, but less efficient architecture. Scalpel vs sword.

  • @pppluronwrj
    @pppluronwrj 8 років тому

    predication. cannot unsee

  • @MyQiman
    @MyQiman 8 років тому

    if anyone is interested in this topic, look up computer architechure , risc vs cisc

    • @wanmaziah9835
      @wanmaziah9835 5 років тому

      What is Matter ? RISC supposed to be use in android soc while cisc use in computer prossesor....

  • @athelstan8510
    @athelstan8510 8 років тому

    I like my Nexus

  • @zes3813
    @zes3813 7 років тому

    no such thing as authorityx, wrg

  • @TheAsh69
    @TheAsh69 8 років тому

  • @tetsuokenpachi
    @tetsuokenpachi 8 років тому +8

    Yeah, an iPhone almost does the same thing as an android phone... in 720p... when an android phone does it in 1440p. lol

    • @tetsuokenpachi
      @tetsuokenpachi 8 років тому +1

      +Diogo João
      It's like saying that all the PS1 would need in order to run games in 4K is a better GPU... It's utter nonsense.

    • @jmcwd
      @jmcwd 8 років тому +1

      +Nick Pascuzzi your talking about GPU.,,

    • @duck_that_quacks
      @duck_that_quacks 8 років тому +1

      +Diogo João technically it does affect CPU performance because the CPU has to send more info to the GPU plus the GPU uses more ram to render a higher res image.

    • @dfjab
      @dfjab 8 років тому

      Actually you could write shaders to solve a lot of those problems and leverage the calculating power of the GPU that way. It just depends on how stuff is coded.

    • @tetsuokenpachi
      @tetsuokenpachi 8 років тому

      +Antwan van Houdt
      Yes, it is. In fact, run Asphalt 8 with your GPU set to its lowest frequency then, run it again with the GPU set to its highest frequency... You'll see the difference, even in the amounts of frames displayed per second, is very hard to even notice. However, it will be much more noticeable when you switch from one homescreen to the other...

  • @Knightfire66
    @Knightfire66 4 роки тому

    i always dissable ooe in C.

    • @xrafter
      @xrafter 4 роки тому

      What is ooe ?

  • @erikramirez219
    @erikramirez219 8 років тому

    to complex

  • @IBITZEE
    @IBITZEE 4 роки тому

    "Gary explains" better...
    Please make a Channel called "Gary Explains"... and make excellent videos...
    Thanks!!!
    ;-)

  • @derpingflamingo
    @derpingflamingo 8 років тому

    hundredth hahah

  • @TheZareer
    @TheZareer 8 років тому

    first hahah

  • @supremesrk
    @supremesrk 8 років тому

    this is not Android

    • @wanmaziah9835
      @wanmaziah9835 5 років тому

      So what it does mean ? Lol

    • @wanmaziah9835
      @wanmaziah9835 5 років тому

      This is from android idoit even in apple chip too....