Computer Architecture Performance Example 2

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ค. 2024
  • Valparaiso University

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

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

    Thank you so much for taking the time to do this!! This helps a lot and your explanations are very clear too :D

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

    hi Mr Jeff, can you teach how to solved this question. I cannot understand how to calculate. I just start learning Computer Architecture Performance and i really not use to this subject. can you explain it very detail on how to calculate this.
    Q 1 - " Suppose a computer spends frac used=90 of its time handling a computation when running a given program, and its manufacturers make a change that improves its performance on that type of computation by a factor of 10. If the program originally took 100 s, what will its execution time be after the change? "
    Q 2 - " When run on a given system, a program takes 1,000,000 cycles. If the system achieves a CPI of 40, how many instructions were executed in running the program? "
    THANKS MR JEFF

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

      For Q2 you're given CPI which means cycle per instruction. You're given the cycle as a million and CPI as 40 .
      40= 1,000,000/ instruction count
      therefore instruction is 25000

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

      @@hearvie we have two implementations of 1000 instruction set.
      machine A has a CPI of 3.5 for some program, and machine B has a clock cycle of 35 nano seconds and a CPI of 4.5 for the same program.
      calculate the CPU time in nano seconds for each machine.
      here clock cycle for machine A is not given ...please help