CS501 Advance Computer Architecture Assignment No. 2 Solution Fall 2017 Due Date: January 17, 2018 

Advance Computer Architecture (CS501)

 

Assignment # 02

 

Total marks = 20                                                                              

 

Deadline:

17 January 2018

 

 

 

Please carefully read the following instructions before attempting assignment.

 

 

RULES FOR MARKING

 

It should be clear that your assignment would not get any credit if:

  • The assignment is submitted after the due date.
  • The submitted assignment does not open or file is corrupt.
  • Strict action will be taken if submitted solution is copied from any other student or from the internet.

 

 

You should concern the recommended book to clarify your concepts as handouts are not sufficient.

 

 

You are supposed to submit your assignment in .doc or docx format only.

 

 

Any other formats like scan images, PDF, zip, rar, ppt and bmp etc. will not be accepted.

 

 

 

NOTE

 

No assignment will be accepted after the due date via email in any case (load shedding or internet malfunctioning etc). Hence refrain from uploading assignment in the last hour of deadline. It is recommended to upload solution file at least two days before its closing date.

 

 

For any query, feel free to email at:

cs501@vu.edu.pk

 

 

 

Assignment:                                                                                      

 

Suppose we have a Processor XYZ with the following specifications:

 

  • Processor speed is 1 GHz.
  • It takes 2500 clock cycles to carry out a context switch followed by starting an Interrupt Service Routine (ISR).
  • To execute an ISR, 5000 cycles are required.
  • The device makes 100 interrupt requests per second.
  • Moreover when there are no interrupts, the processor polls for every 0.7 milli-sec and 300 cycles are required to poll an I/O device.

 

Students are required to calculate:

 

  1. No of cycles/sec the processor spends for handling I/O provided interrupts are used only.
  2. Percentage of CPU time used in interrupts handling.
  3. No of cycles/sec spent in I/O when polling is also used with interrupts.
  4. How frequently the processor polls so that it incurs the same overhead as interrupts.

 

 

The End

 

 

 

Tags: 17, 2, 2017, 2018, Advance, Architecture, Assignment, CS501, Computer, Date:, More…Due, Fall, January, No., Solution

Views: 672

Replies to This Discussion

Solution: 

Attachments:

RSS

SPONSORED LINKS

SPONSORED LINKS

© 2019   Created by Irfan Khan MSCS.   Powered by

Badges  |  Report an Issue  |  Terms of Service