Computer Architecture Performance Example

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024

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

  • @ninakimberlyn4049
    @ninakimberlyn4049 Год назад +5

    a video 5 years ago saved my 4th year ass in 2022. thank you so much :)

  • @shpoopdy
    @shpoopdy 2 года назад +5

    I loved the way you explained this. So clear and in a way that's understandable, thank you.

  • @LibbyAudrey
    @LibbyAudrey 4 года назад +5

    Thank you for making this video--it really helped me understand this!

  • @SumaiaAlIssa
    @SumaiaAlIssa 3 года назад +1

    Thank you.You saved my college career. ❤️🍀

  • @KULDEEPSINGH-rh3go
    @KULDEEPSINGH-rh3go 6 лет назад +1

    3k views and no dislike..... The world is better now.

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

    thank you very much for the comprehensible explanation

  • @auspicium.5928
    @auspicium.5928 Год назад

    Thank you, this really helped me understand!

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

    Wonderful study material. Thank you

  • @berniceavemegah4622
    @berniceavemegah4622 Месяц назад

    Thank you☺️

  • @JamshadPunjabi-lp2fy
    @JamshadPunjabi-lp2fy 9 месяцев назад

    Thanks jeff

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

    Great video!

  • @alex123opa
    @alex123opa 4 года назад +1

    i like to be a good boy that does all the chores in a house in 60 minutes long

    • @anonemoose102
      @anonemoose102 3 года назад +1

      how is this related to the video lmao

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

    Thank you

  • @taiba_hussain
    @taiba_hussain 9 месяцев назад

    Thank you so much! :)

  • @aboodjanajrah89
    @aboodjanajrah89 3 месяца назад

    thank you :)

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

    I Really understand it , thanks a lot

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

    Thank you, this helped a lot!

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

    You are the best ty !!!

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

    thanks very much , sir! you helped me out

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

    Thank you so much, it was awesome

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

    Thank you very much

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

    thank you for simplifying this problem

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

      Glad it was useful. Please let me know if there is any other content you need help with.

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

    thanks sooooo much!

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

    pico(p) is 10^-12 and micro(u) is 10^-6 Hence the execution time is 500us and the Cycle count is rather 30ps

    • @jeffwill3016
      @jeffwill3016  4 года назад +2

      500E-12 * 60,000 = 30,000,000E-12 = 30E-6
      and cycle count cannot have units of time. We can't have 30ps instructions, only a number of instructions. In this case, we have a total of 30,000 instructions, but some instructions take 1 cycle, some 7. It wouldn't make sense to say, "I have 45 s instructions." Only, "I have 45 instructions, which take X ms to run."

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

    Thank you so much sir.

  • @nananyantakyi-adomako6030
    @nananyantakyi-adomako6030 3 года назад

    Thank you sir

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

    thanks bruh

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

    Why didn't you multiply integer instructions by 7 cycles, but you did for floating point?

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

      This is from given information in the problem statement -- third sentence of the first paragraph. Floating point instructions are more complicated so they take more time (and thus more cycles).

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

    thanks alot

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

    Isn't it for the last question, we have to compare between 3 processors? Processor A with program 1, Processor A with program 2 and Processor B. So in that case Processor A with program 1 will be the fastest?

    • @jeffwill3016
      @jeffwill3016  5 лет назад +1

      There are only two processors in the problem - A & B
      There are two programs.
      The last question asks to compare between A & B using Program 2 as the benchmark.

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

      Oh! on that note you are right. Thank you for the response.

  • @ramoncitovillasanta5451
    @ramoncitovillasanta5451 3 года назад +1

    How did you get the 500 picoseconds is problem A?

    • @jeffwill3016
      @jeffwill3016  3 года назад +1

      In oscillations, period is always the reciprocal of the frequency. (T = 1/f) Processor A is running at 2.0 GHz (2,000,000,000 Hz). One divided by that number is 500 x 10^-12 sec.

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

    thanks

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

    sir can you give Some more advanced example

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

    tnx man

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

    where did u get the 2 times 10 of the 9 power?

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

    Isn't prossesor b faster than a by 2/1.8 (clock rates)

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

      That's Hennessey & Patterson's whole point with the chapter. Performance isn't measured in Hertz. It is measured in time. Time is calculated by the product of cycle time, CPI, and # instruction per program.

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

      First of all I really appreciate how fast you replied. OK but from program to program won't the ratio of the time be different for the two prossesors?

    • @jeffwill3016
      @jeffwill3016  4 года назад +1

      @@michaelroditis1952Yes! The program matters a lot. Different programs will give different relative performances. This is a big issue with benchmarking... choosing a representative mix of instructions. The average CPI of a processor is dependent on the mix of instructions (and the underlying CPIs of each instruction class)

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

    202011010243 cycle time how to integration this number

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

    can you help with this exercise
    1) Please describe what will be done and what result will be in R1 after each instruction
    R1=10, R2=5, R3=5, M[5] = 23, M[10] =122
    Addressing mode
    instruction
    What to do
    R1 content
    Immediate
    add R1, #5
    Direct
    add R1, (5)
    Register direct
    add R1, R2
    Register indirect
    add R1, (R2)
    Indexed
    add R1, (R2+R3)
    Base
    add R1, 5(R2)
    2) Write program witch calculates:
    For i=1 to 3
    Z=((A[i]*B[i])+C[i])/D[i]
    where A,B,C,D and Z are memory locations an operand size is 1 byte.
    a) Using three address instructions and any addressing mode
    b) Using two address instructions and any addressing mode

    • @walidzein1
      @walidzein1 6 лет назад +2

      LOL why in the fuck would you post your homework on youtube

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

    you're too fast :(

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

    Wow, you are running these programs on a computer with no operating system and no interrupts. On a real computer with a multitasking O/S it is not possible to deterministically calculate a program's run time. Modern processors are superscalar so good luck in trying to determine instruction execution time. This is just an exercise in a vacuum.

    • @jeffwill3016
      @jeffwill3016  2 года назад +1

      Hi Kevin. These examples are taken from Computer Organization and Design by Patterson and Hennessy, the canonical textbook on computer architecture. I work through example problems representative of the textbook material to help my and other students in their computer architecture courses. The authors have a more advanced text (Computer Architecture: A Quantitative Approach) that is used in advanced computer architecture courses and does address some of the issues you criticize my video for not having. Their undergraduate textbook is not perfect, but it is meant as an introduction and is the text almost universally adopted.