Computer Architecture Performance Example

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ส.ค. 2017

ความคิดเห็น • 56

  • @ninakimberlyn4049
    @ninakimberlyn4049 ปีที่แล้ว +4

    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.

    • @jeffwill3016
      @jeffwill3016  ปีที่แล้ว +1

      Thanks, man. Much appreciated.

  • @SumaiaAlIssa
    @SumaiaAlIssa 3 ปีที่แล้ว +1

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

  • @haydenczerwonky6000
    @haydenczerwonky6000 2 ปีที่แล้ว

    Wonderful study material. Thank you

  • @LibbyAudrey
    @LibbyAudrey 4 ปีที่แล้ว +5

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

  • @tonycituk
    @tonycituk 2 ปีที่แล้ว

    Great video!

  • @apiahpetertoch8597
    @apiahpetertoch8597 ปีที่แล้ว

    thank you very much for the comprehensible explanation

  • @chrishaselden
    @chrishaselden 3 ปีที่แล้ว

    Thank you, this helped a lot!

  • @auspicium.5928
    @auspicium.5928 ปีที่แล้ว

    Thank you, this really helped me understand!

  • @tusherdhali3507
    @tusherdhali3507 3 ปีที่แล้ว

    Thank you so much, it was awesome

  • @maxhmetonxrono
    @maxhmetonxrono 3 ปีที่แล้ว

    You are the best ty !!!

  • @tommytien3699
    @tommytien3699 3 ปีที่แล้ว

    thanks very much , sir! you helped me out

  • @dohaalomari156
    @dohaalomari156 ปีที่แล้ว

    I Really understand it , thanks a lot

  • @taibahussain3535
    @taibahussain3535 8 หลายเดือนก่อน

    Thank you so much! :)

  • @KULDEEPSINGH-rh3go
    @KULDEEPSINGH-rh3go 5 ปีที่แล้ว +1

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

  • @kq4134
    @kq4134 2 ปีที่แล้ว

    thanks sooooo much!

  • @theuberman7170
    @theuberman7170 3 ปีที่แล้ว

    Thank you so much sir.

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

  • @rob651
    @rob651 2 ปีที่แล้ว

    Thank you very much

  • @JamshadPunjabi-lp2fy
    @JamshadPunjabi-lp2fy 8 หลายเดือนก่อน

    Thanks jeff

  • @aboodjanajrah89
    @aboodjanajrah89 หลายเดือนก่อน

    thank you :)

  • @ssingh7317
    @ssingh7317 ปีที่แล้ว

    Thank you

  • @ForzaAllegri
    @ForzaAllegri 4 ปีที่แล้ว

    thanks alot

  • @nananyantakyi-adomako6030
    @nananyantakyi-adomako6030 3 ปีที่แล้ว

    Thank you sir

  • @che5738
    @che5738 ปีที่แล้ว

    thanks bruh

  • @yandusoup
    @yandusoup 6 ปีที่แล้ว

    thanks

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

  • @abrahamalemseged6273
    @abrahamalemseged6273 5 ปีที่แล้ว

    tnx man

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

  • @LAGsubham
    @LAGsubham 4 ปีที่แล้ว

    sir can you give Some more advanced example

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

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

  • @winkwhiskey4826
    @winkwhiskey4826 3 ปีที่แล้ว

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

  • @michaelroditis1952
    @michaelroditis1952 4 ปีที่แล้ว

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

    • @jeffwill3016
      @jeffwill3016  4 ปีที่แล้ว

      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)

  • @winkwhiskey4826
    @winkwhiskey4826 3 ปีที่แล้ว

    you're too fast :(

  • @blue_pink_Tv
    @blue_pink_Tv 3 ปีที่แล้ว

    202011010243 cycle time how to integration this number

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

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