



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
I am student at Baddi University of Emerging Sciences and Technologies. To help my friends in other universities, I am uploading my assignments of different courses. Its for Computer Architecture and Assembly Language course. Other can see if they are searching following: Speculative, Processor, Buffer, Mip, Code, Reservation, Station, Cycle, Cache, Memory, Bus
Typology: Exercises
1 / 5
This page cannot be seen from the preview
Don't miss anything!




Due Date: 17 th^ July, 2012
Instructions to Solve Assignments
The purpose of assignments is to give you hands on practice. It is expected that students will solve the assignments themselves. Following rules will apply during the evaluation of assignment.
Consider the speculative processor discussed in lectures. Since the reorder buffer contains a value field, you might think that the value field of the reservation stations could be eliminated.
(a) Show an example where this is the case and an example where the value field of
the reservation stations is still needed. Use the speculative processor shown in Figure 1.1. Show MIPS code for both examples. How many value fields are needed in each reservation station?
(b) Find a modification to the rules for instruction commit that allows elimination of
the value fields in the reservation station. What are the negative side effects of such a change?
FIGURE 1.1 The basic structure of a MIPS FP unit using Tomasulo’s algorithm and extended to handle speculation.
For this problem, assume that you have a processor with a cache connected to main memory via a bus. A cache access takes 1 cycle. A successful cache access (a hit) finishes within that cycle. On an unsuccessful access (a miss) additional work must
(a) What is the:
[Calculate the bandwidths in Gbytes/sec, i.e. 2 30 bytes/sec.]
(b) You are given the following L1 cache statistics for a program executing on this
system
Metrics Access Type:
Total Instrn Data Loads Stores
Accesses 10000000 7362210 2637790 1870945 766845
Misses 52206 8466 43740 36764 6976
Words Read From Lower‐levels 180920 (i.e. 45230 cache lines) Words Written‐back to Lower‐levels 766845 Total Traffic 947765
How long does an average instruction take to execute (in ns), assuming 1 clock cycle per instruction in the absence of memory hierarchy stalls, no write buffering at the L1 cache level, and 0% L2 miss rate? Ignore register dependencies between instructions.
(c) You are considering replacing the L2 cache with a victim cache. Given the
information provided to you, compute a measure of “speed” for each alternative and indicate which is the faster solution. Justify the metric you choose to compare the two alternatives and state your assumptions. Assume the performance statistics are:
o L2 cache local miss ratio= 0. o Victim cache miss ratio = 0. o Victim cache transport timefromL1 miss = 2 CPU clock
A large amount (more than a third) of DRAM power can be due to page activation (see http://download.micron.com/pdf/technotes/ddr2/TN4704.pdf and http://www.micron.com/systemcalc). Assume you are building a system with 1 GB of memory using either 4‐bank 512 Mbit × 4 DDR2 DRAMs or 8‐bank 1 Gbit × 8
DRAMs, both with the same speed grade. Both use a page size of 1 KB. Assume DRAMs that are not active are in precharged standby and dissipate negligible power. Assume the time to transition from standby to active is not significant. Which type of DRAM would be expected to result in lower power? Explain why.
Read the paper " Future Cache Design using STT MRAMs for Improved Energy Efficiency: Devices, Circuits and Architecture " and answer the following questions:
(a) What is STT MRAM and how is it different from SRAM?
(b) Evaluate STT MRAM and SRAM caches based on the following parameters:
Cache utilization Energy consumption
Read the paper "Energy Reduction for STT RAM Using Early Write Termination" and elaborate how Early Write Termination (EWT) improves energy efficiency of STT‐RAM cache?