0% found this document useful (0 votes)
23 views

Question (2) : 1) Case: 1 (The Web Page Takes 8 Seconds)

This document contains the answers to two questions about computer architecture. For question 2, it discusses how instructions are organized into 4-bit sub-fields to facilitate decoding and caching. It also describes rotate and shift instructions. For question 3 part 1, it shows calculations to improve a web page load time from 8 to 6 seconds by increasing CPU or graphics chip speeds. Part 2 discusses two approaches to make a phone video 25% faster: increasing the graphics chip speed or using two chips to parallelize computation.

Uploaded by

Mohamed Hacam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

Question (2) : 1) Case: 1 (The Web Page Takes 8 Seconds)

This document contains the answers to two questions about computer architecture. For question 2, it discusses how instructions are organized into 4-bit sub-fields to facilitate decoding and caching. It also describes rotate and shift instructions. For question 3 part 1, it shows calculations to improve a web page load time from 8 to 6 seconds by increasing CPU or graphics chip speeds. Part 2 discusses two approaches to make a phone video 25% faster: increasing the graphics chip speed or using two chips to parallelize computation.

Uploaded by

Mohamed Hacam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Mohamed Ahmed Abd El-Hacam

HW2

Computer Architecture

Question (2)
2
3
4

The first reason is to facilitate the instruction decoding process. The second
one is to force the instructions to keep in cache lines, as well as page
boundaries in Virtual Memory usage.
Hardware that could propagate carriers between four-bit sub-fields.
The rotate instruction the contents of a register and combines the rotated
bits of the register with another register. Its useful in fixed point operations.
On the other hands, The Shift Instruction is used to improve the Floating Point
instructions.

Question (3)
1)Case : 1 (the web page takes 8 seconds)
8 = 0.2x + 0.3 x + 0.5 x x = 8 CPU time = 4 sec., Graphics time = 2.4 sec., Data
connection time = 1.6sec.
a)Case 2 : improving CPU speed to achieve total time 6 sec.
6 = 2.4+1.6+x x= 2 sec. new CPU speed =

4
2

* Old CPU speed = 2* 400 = 800MHz.

b)Case 3 : Improving the graphics chip speed to achieve total time 6 sec.
6= x + 4 + 1.6 x= 0.4 new Graphics chip speed =

1.6
0.4

* old Graphics chip speed =

4*10 = 40 million polygon/sec

2) If we want the phone video performance to be 25% faster


(speedup of 1.25), how can we do that?
Ans.:

First approach : by raising the speed of the chip up to 12.5 million


polygon/sec.
Second Approach : by using 2 graphics chips (assuming the sequential part
in the program is 1.5% from the whole program ( the dependencies in
graphics are already low).

Submitted for : Dr./ Hossam A. Fahmy

You might also like