Computer Science 152 - Spring 1997 - Jeong - Midterm 2

Computer Science 152 - Spring 1997 - Jeong - Midterm 2 -...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
CS152 Computer Architecture and Engineering Computer Science Division Department of Electrical Engineering and Computer Sciences University of California, Berkeley Sp97 D.K. Jeong Midterm #2 Solutions April 23, 1997 Name Key SID Number You may bring one double-sided note. You have 170 minutes. Write your name on this cover and also at the top left of each page. The point value of each question is indicated in the bracket. Make sure to show your interim results to receive at least partial credit. Problem Possible Score 11 5 22 5 32 0 43 0 Total 90
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Name: Question 1. [15 pts] (General) (a) You are going to add a few new instructions to an existing ISA. How will you make old machines be able to run new codes? Modify the exception handler in the old machine so that the handler, on unimplemented instruction exceptions on new instructions, emulates the behavior of the new instructions. (b) Explain why a direct-mapped TLB is a bad idea. Since one TLB entry is allocated for one page, unlike a cache where a cache entry is in blocks, locality of reference is expected to be a lot less. Furthermore, for small programs, the TLB index tends to be concentrated in all 0’s, differing only in address tags - MSB’s are used for segments such as data, heap, stack… Ping-pong effect will be significant. (c) What are the particular characteristics of multimedia IOs compared to conventional IOs such as disk or mouse? High bandwidth is required for video. Isochronous data transfer or guaranteed bandwidth is required for real-time applications. Synchronization among different IOs such as video and audio may be required.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 05/17/2009 for the course CS 152 taught by Professor Kubiatowicz during the Spring '04 term at University of California, Berkeley.

Page1 / 7

Computer Science 152 - Spring 1997 - Jeong - Midterm 2 -...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online