Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following three CPU organizations: CPU SS: A 2-core superscalar microprocessor that provides out-of-order issue capabilities on 2 function units (FUs). Only a single

Consider the following three CPU organizations:

CPU SS: A 2-core superscalar microprocessor that provides out-of-order issue capabilities on 2 function units (FUs). Only a single thread can run on each core at a time.

CPU MT: A fine-grained multithreaded processor that allows instructions from 2 threads to be run concurrently (i.e., there are two functional units), though only instructions from a single thread can be issued on any cycle.

CPU SMT: An SMT processor that allows instructions from 2 threads to be run concurrently (i.e., there are two functional units), and instructions from either or both threads can be issued to run on any cycle.

Assume we have two threads X and Y to run on these CPUs that include the following operations:

image text in transcribed

Assume all instructions take a single cycle to execute unless noted otherwise or they encounter a hazard.

a. b. c.

a. Assume that you have 1 SS CPU. How many cycles will it take to execute these two threads? How many issue slots are wasted due to hazards?

B. Now assume you have 1MT CPUs.Howmanycycleswillit take to execute these two threads? How many issue slots are wasted due to hazards?

c. Assume that you have 1 SMT CPU. How many cycles will it take to execute these two threads? How many issue slots are wasted due to hazards?

Thread X A1 - takes 3 cycles to execute A2 - no dependences -conflicts for a functional unit with Al A4-depends on the result of A3 Thread Y B1- take 2 cycles to execute B2- conflicts for a functional unit with B1 B3-depends on the result of B2 B4-no dependences and takes 2 cycles to execute

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Security

Authors: Alfred Basta, Melissa Zgola

1st Edition

1435453905, 978-1435453906

More Books

Students also viewed these Databases questions