当前位置:天才代写 > CS代写,CS作业代写考试代考-价格便宜有靠谱 > 留学生计算机代写 Advanced Computer代写

留学生计算机代写 Advanced Computer代写

2022-09-26 12:00 星期一 所属: CS代写,CS作业代写考试代考-价格便宜有靠谱 浏览:417

留学生计算机代写

ELEC S363F Advanced Computer Design, Autumn Term, 2019

Project (100 Marks)

留学生计算机代写 Forquestions in part 2, you may use the Internet as a source of  However, you should digest the content and use your own words to write the reports.

Instructions:  留学生计算机代写

  1. Complete your project neatly with your name and student number on the first page.
  2. Forquestions in part 2, you may use the Internet as a source of  However, you should digest the content and use your own words to write the reports. You are also required to indicate the total number of words and the sources of information in your reports.
  3. Youare reminded to observe the academic honesty when you take this take-home  Please do not discuss or contact any classmates, peers or other people when doing this project. Any types of plagiarismwill not be tolerated and will be referred to the corresponding disciplinary committees for follow-up.
  4. Upload your word fileto ouhk.edu.hk
  5. Submission Deadline: 23:59 27 Dec 2019 (Friday). (You are recommended to complete it as early as you can and reserve sufficient time to submit yourwork)
  6. Markswill be deducted if you do not follow the instructions.

Part 1:  留学生计算机代写

 In lecture, we discussed cache coherency protocols and branch prediction schemes that adopted by the Intel x86 family. In the first part of this project, you will face questions that test your concepts of cache coherency protocol and branch prediction.

(25 Marks) Question 1: Consider a processor with 2 cores namely P and Q, each with its own L1 D-Cache, sharing an L2 cache. The caches adopt the MESI protocol with write allocate and write-back policies. Initially, both L1 caches are empty and the L2 cache contains a valid cache block with a tag X.

(a)Whatare the possible states of that cache block in the L2 cache? (2 marks)

(b)Atsome point in time, Q reads a block with a tag X.  留学生计算机代写

(i)Describewhether cache hit or miss will be experienced in Q’s L1 cache? (2 marks)

(ii)Will Q’s L1 send anything to the bus? If so, describe and explain what happens on the   bus. (4marks)

(iii)Whatis the resulting state of the block in Q’s L1? (1 mark)

留学生计算机代写
留学生计算机代写

(c)Afterthe transaction in (b), P writes a DWORD to the block with a tag

(i)WhenQ snoops the bus, will Q observe any activity on the bus as a result of the write by P? Describe and explain what happens. (4 marks)

(ii)Whatis the resulting state of the block in P’s L1? (1 mark)

(iii)Describe and explain what happens of theL2  (2 marks)

(d)Immediately after the transaction in (c), P writes a BYTE to the block with a tag

(i)WhenQ snoops the bus, will Q observe any activity on the bus as a result of the write by P? Describe and explain what happens. (2 marks)   留学生计算机代写

(ii)Whatis the resulting state of the block in P’s L1? (1 mark)

(e)Immediatelyafter the transaction in (d), Q reads a BYTE from a block with a tag

(i)Describethe sequence of events taking place  (4 marks)

(ii)Whatare the resulting states of the block in P’s L1 and Q’s L1, respectively? (2 marks)

(25 Marks) Question 2:

Consider a branch instruction Z has been executed several times in a program. The branch Z had the following outcomes in sequence

T, T, N, N, T, N, T, T, T, T (T: branch taken; N: branch not taken) There are three prediction schemes to handle the branches: Scheme W: static branch-not-taken prediction

Scheme X: 1-bit dynamic branch prediction (with initial state as “T”) (please refer to the state diagram in page 59 of the lecture notes)  留学生计算机代写

Scheme Y: 2-bit dynamic branch prediction (with initial state as “ST”) (please refer to the state diagram in page 65 of the lecture notes)

(a)Determinethe accuracy of using scheme W to predict branch  (5 marks)

(b)Determinethe accuracy of using scheme X to predict branch  Copy the below table to your answer book and fill in your answer there. (10 marks)

Current State Prediction Actual Outcome Correct Prediction?
1
2
3
4
5
6
7
8
9
10

(c)Determinethe accuracy of using scheme Y to predict branch  Copy the below table to your answer book and fill in your answer there. (10 marks)

Current State Prediction Actual Outcome Correct Prediction?
1 留学生计算机代写
2
3
4
5
6
7
8
9
10

Part 2: 

In lecture, we discussed various designs of processors from the Intel x86 family. However, in the market there are other processor manufacturers that have different design philosophy from Intel. In the second part of this project, you are asked to discuss and compare designs from two other processor manufacturers, namely AMD and ARM.

(20 Marks) Question 3: The AMD Opteron processor family uses a variant of a MESI protocol, called MOESI while the Intel Core-i family uses another variant called MESIF. In your own words, write a report in about 300 to 400 words with appropriate figures to explain the differences between the two protocols, and with an  appropriate example to demonstrate the advantages of MOESI over MESIF.  留学生计算机代写

(30 Marks) Question 4: “big.LITTLE” and “DynamIQ” are technologies introduced by ARM for providing high computing performance for mobile devices. In your own words, write a report in about 400 to 500 words with appropriate figures to explain the operating principle, features, and benefits of big.LITTLE and DynamIQ, respectively.

留学生计算机代写
留学生计算机代写

 

更多代写:作业代写  线上考试  哲学作业代写  艺术学网课代修  医学论文代写范例  research project怎么写

合作平台:essay代写 论文代写 写手招聘 英国留学生代写

 

天才代写-代写联系方式