Instructions per cycle - Gary explains

Поделиться
HTML-код
  • Опубликовано: 15 окт 2024
  • 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 RUclips 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...

Комментарии • 147

  • @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 3 года назад

      wrr, say any nmw anda ny s perfx

  • @anujgupta3397
    @anujgupta3397 8 лет назад +29

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

  • @skyMcWeeds
    @skyMcWeeds 8 лет назад +2

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

  • @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 😊😊👍👍👍

  • @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?

  • @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 5 лет назад +3

      Found it ruclips.net/channel/UCRjSO-juFtngAeJGJRMdIZw (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

  • @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!

  • @rednafi
    @rednafi 8 лет назад

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

  • @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.

  • @medaminbelkhiria
    @medaminbelkhiria 8 лет назад +1

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

  • @ArrayCodes
    @ArrayCodes 8 лет назад

    garry sir you are my favourite teacher.i've learnt so many things 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...

  • @SageMinimalist
    @SageMinimalist 8 лет назад

    This completely changed my view on processors
    Thanks Gary

  • @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 6 лет назад +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.

  • @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.

  • @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

  • @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 :)

  • @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?

  • @hdjksa52
    @hdjksa52 4 года назад

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

  • @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?

  • @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...

  • @yumri4
    @yumri4 4 года назад

    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%?

  • @supundasanthakuruppu3496
    @supundasanthakuruppu3496 3 года назад

    Great video! Learned a lot from this.

  • @neiljohnson2579
    @neiljohnson2579 6 лет назад

    Man !
    what a video
    great stuff Mr.Gary Sims

  • @Abhipatel-rt6vz
    @Abhipatel-rt6vz 8 лет назад

    Always something new to learn from you!

  • @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

  • @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

  • @djsnowpdx
    @djsnowpdx 6 лет назад +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.

  • @manuvinayas27
    @manuvinayas27 2 года назад

    Thankyou for the nice explanation

  • @oscarmike47
    @oscarmike47 4 года назад

    very informative. learned exactly what i was looking for thanks

  • @theoneyoudontsee8315
    @theoneyoudontsee8315 7 лет назад

    I have a galaxy j3 emerge witch uses identical chip to original galaxy j3. so 2015 j3 cpu clock is 1.19ghz and 2017 j3 is clocked at 1.4ghz you are telling me that's not as big an upgrade as it looks because it's only one aspect of performance bumped up when both have 4 a53 cores witch are in order cores is that right?

  • @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.?

  • @Maddof_Erroz
    @Maddof_Erroz 3 года назад

    You Sir, are awesome.

  • @joerivde
    @joerivde 5 лет назад

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

  • @ArrayCodes
    @ArrayCodes 8 лет назад +1

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

    • @sampro454
      @sampro454 7 лет назад +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

  • @_Agosto_
    @_Agosto_ 8 лет назад

    Very nice video.

  • @hristo.bogdanov
    @hristo.bogdanov 8 лет назад +2

    Very good video mate :)

  • @Shawnnyyyyyy
    @Shawnnyyyyyy 6 лет назад

    Excellent video!

  • @HighTide1715
    @HighTide1715 8 лет назад

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

  • @supergamer1123
    @supergamer1123 8 лет назад

    Nice explanation!

  • @yathish4145
    @yathish4145 8 лет назад

    good job Gary

  • @nerovar23
    @nerovar23 Год назад

    I learned a tonne, tnx man

  • @FabianBarajas
    @FabianBarajas 6 лет назад

    great video! Thanks for posting this.

  • @Rtong98
    @Rtong98 8 лет назад

    very well thought out video

  • @rousseld.nzoyem8105
    @rousseld.nzoyem8105 5 лет назад

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

  • @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.

  • @ihuman007
    @ihuman007 8 лет назад

    Very informative... Good video

  • @mahapol8812
    @mahapol8812 6 лет назад +1

    However I like to ask why clock is used?

    • @wanmaziah9835
      @wanmaziah9835 5 лет назад

      Exactly that interesting question.....

  • @oguzaranay
    @oguzaranay 6 лет назад

    I really did enjoy.

  • @adityavarma4768
    @adityavarma4768 7 лет назад

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

  • @samnada6248
    @samnada6248 6 лет назад

    Great explanations, thank u 👍👍😊

  • @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).

  • @ajgharbaran8175
    @ajgharbaran8175 8 лет назад +2

    Jeeez you are way better than my teachers xD

  • @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 2 года назад

      @@wanmaziah9835 instruction and architecture are different

  • @Cheffak
    @Cheffak 6 лет назад

    Thank you :) Nice and clear

  • @ko-Daegu
    @ko-Daegu 2 года назад

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

  • @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

  • @rollmeister
    @rollmeister 4 года назад

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

  • @ahmedshimi4401
    @ahmedshimi4401 8 лет назад

    thanks a lot great video

  • @xeoneraldo1254
    @xeoneraldo1254 7 лет назад

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

  • @marshmallowwolf3976
    @marshmallowwolf3976 5 лет назад

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

  • @CinnamonCian
    @CinnamonCian 8 лет назад

    Gary, where are you from?

  • @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).

  • @plafar7887
    @plafar7887 3 года назад

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

  • @ytown4
    @ytown4 8 лет назад

    Mind blown!

  • @youmyoum5556
    @youmyoum5556 8 лет назад

    you are amazing

  • @ArrayCodes
    @ArrayCodes 8 лет назад

    my brain is filled with informations.

  • @zakariyeyusuf1064
    @zakariyeyusuf1064 5 лет назад

    Alot of theoratical knowledge.

  • @errormaker1
    @errormaker1 8 лет назад

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

  • @zackrider3708
    @zackrider3708 4 года назад

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

  • @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.

  • @hoppingturtles
    @hoppingturtles 8 лет назад

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

  • @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

  • @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...

  • @pppluronwrj
    @pppluronwrj 8 лет назад

    predication. cannot unsee

  • @zes3813
    @zes3813 7 лет назад

    no such thing as authorityx, wrg

  • @athelstan8510
    @athelstan8510 8 лет назад

    I like my Nexus

  • @erikramirez219
    @erikramirez219 8 лет назад

    to complex

  • @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....

  • @Knightfire66
    @Knightfire66 4 года назад

    i always dissable ooe in C.

    • @xrafter
      @xrafter 4 года назад

      What is ooe ?

  • @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...

  • @TheAsh69
    @TheAsh69 8 лет назад

  • @derpingflamingo
    @derpingflamingo 8 лет назад

    hundredth hahah

  • @IBITZEE
    @IBITZEE 4 года назад

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

  • @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....