Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
2Activity
0 of .
Results for:
No results containing your search query
P. 1
Pr 5 Arsikom

Pr 5 Arsikom

Ratings: (0)|Views: 231 |Likes:
Published by atrianggada

More info:

Published by: atrianggada on Jun 26, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOCX, PDF, TXT or read online from Scribd
See more
See less

11/14/2013

pdf

text

original

 
PR ARSIKOM 5
[ARDITTO TRIANGGADA / 13209046]
 
David O’Hallaron book
:
6.21)Jawab:m C B E S t s b1 32 1024 4 4 64 24 6 22 32 1024 4 256 1 30 0 23 32 1024 8 1 128 22 7 34 32 1024 8 128 1 29 0 35 32 1024 32 1 32 22 5 56 32 1024 32 4 8 24 3 56.22 Mengacupada cache di problem 6.9A. List all of the hex memory addresses that will hit in set 1B. List all of the hex memory addresses that will hit in set 6Jawab:A. Set berisi 2 line valid yaitu line 0 dan line 1. Line 0 bernilai tag 0x45. Setiap block berisi 4 bytes,sehingga 4 buah address akan hit pada ine 0. Alamat-alamat tersebut adalah 0 10001010 01xx.Sehingga dalam hex alamat tersebut adalah 0x08A4, 0x08A5, 0x08A6, dan 0x08A7.Dengan cara yang sama, alamat-alamat pada line 1 adalah 0x0704, 0x0705, 0x0706, 0x0707.B. Set 6 berisi 2 line valid yaitu lineo dan line 1. Line 0 bernilai tag 0x91. Setiap block berisi 4 bytes,sehingga 4 buah address akan hit pada ine 0. Alamat-alamat tersebut adalah 1 00100011 10xx.Sehingga dalam hex alamat tersebut adalah 0x1238, 0x1239, 0x123A, dan 0x123B.6.23)Jawab:dst arraycol0 col1 col2 col3row0 m m m mrow1 m m m mrow2 m m m mrow3 m m m m
 
PR ARSIKOM 5
[ARDITTO TRIANGGADA / 13209046]
 
src arraycol0 col1 col2 col3row0 m m h mrow1 m h m hrow2 m m h mrow3 m h m h6.25) Determine the cache performance of the following codeA. Total number of writes = 1024 writes.B. Total number of writes that miss in the cache= 128 misses.C. The miss rate= 128/1024 = 12.5%6.26) Karena cache tidak bias menahan seluruh array, pemindaian vertical paruh kedua tablekerumunan garis bertanggungjawab untuk analisis putaran pertama. Jadi, untuk strukturmasing-masing, memiliki ketinggalan diikuti oleh tiga hits.Jawab:A. Total number of writes = 1024 writes.B. Total number of writes that miss in the cache= 256 writes.C. The miss rate= 256/1024 = 25%
Patterson & Hennessy book chapter 7 problems:
7.9)
Step 1:Initially all are empty
2 miss3 miss11 miss16 miss21 miss13 miss64 miss48 miss19 miss11 hit3 miss
 
PR ARSIKOM 5
[ARDITTO TRIANGGADA / 13209046]
 
22 miss4 miss27 miss6 miss
Step 2:Final Contents of the Cache
Index Cache0 4812 23 34 45 216 67891011 111213 131415
Step 3:Suppose example:Maximum word is 64 so 100 000016 one-word block is used 0000For 2 000 0010 - DATA is 23 000 0011 - DATA is 311 000 1011 - DATA is 1116 001 0000 - DATA is 0
 

Activity (2)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->