php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CS501 Advance Computer Architecture GDB Close Date 7th to 8th August 2014
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1


CS501 Advance Computer Architecture GDB Discussion and Solution Close Date 7th to 8th August 2014




Topic:

In computer architecture why does a “system interface unit” provide separate queues for “read” and “write” transactions?
Is it possible for a “write queue” to directly execute without interference of “read queue”?
Answers must be to the point and justified with reasons.Note: Your answer should not be more than 300 words.
Reply
#2
Read Queue

Only a few entries are needed to be effective: 2-4 is typical. Reads fetch a whole cache line (by bursting multiple reads onto the main memory bus). However, the requested word could be the last in the cache line, leading to an intolerable delay (with the CPU blocked waiting for the data) while the first words are read. Thus the SIU must also ensure that the requested word is read first and transferred to the cache (and on to the read request in the main pipeline) followed by the remainder of the cache line. So a burst transaction for 8 words (32 bytes) on a 64-bit bus will not always read the words in order

(0 and 1, 2 and 3, 4 and 5, 6 and 7)
but may read them out-of-order, eg word 5 is requested, so the order is

(4 and 5, 6 and 7, 0 and 1, 2 and 3)
Bus clocks (typically 30-60MHz) are much slower than processor clocks (typically 200-600MHz) so the penalty for not re-ordering the bus transactions is extreme!

Write Queue

As with the read queue, a small number of entries suffice: 2-3 is typical. Transactions in the write queue are only selected for execution if the read queue is empty. This is a key function of the SIU - giving priority to read transactions that could block the CPU.

Note that read requests must be checked against pending transactions in the write queue: the write queue may have the latest value written to a memory location (the main memory has not yet been updated - a coherence problem) and its this value which should be supplied to the read operation.

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply
#3
Read Queue

Only a few entries are needed to be effective: 2-4 is typical. Reads fetch a whole cache line (by bursting multiple reads onto the main memory bus). However, the requested word could be the last in the cache line, leading to an intolerable delay (with the CPU blocked waiting for the data) while the first words are read. Thus the SIU must also ensure that the requested word is read first and transferred to the cache (and on to the read request in the main pipeline) followed by the remainder of the cache line. So a burst transaction for 8 words (32 bytes) on a 64-bit bus will not always read the words in order

(0 and 1, 2 and 3, 4 and 5, 6 and 7)
but may read them out-of-order, eg word 5 is requested, so the order is

(4 and 5, 6 and 7, 0 and 1, 2 and 3)
Bus clocks (typically 30-60MHz) are much slower than processor clocks (typically 200-600MHz) so the penalty for not re-ordering the bus transactions is extreme!

Write Queue

As with the read queue, a small number of entries suffice: 2-3 is typical. Transactions in the write queue are only selected for execution if the read queue is empty. This is a key function of the SIU - giving priority to read transactions that could block the CPU.

Note that read requests must be checked against pending transactions in the write queue: the write queue may have the latest value written to a memory location (the main memory has not yet been updated - a coherence problem) and its this value which should be supplied to the read operation.

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply
#4
The SIU will manage separate queues for read and write transactions - taking requests from the read queue in preference to those in the write queue. Once the processor has despatched a command to write a result to main memory, it can assume that the operation is complete and continue immediately to the following operation.
Detecting read requests for data in write buffers
All read requests must be checked against transactions waiting to be written in the write buffers. This is an example of a coherence requirement - the data in the main memory is not the most recent value of the addressed location. If read requests "hit" data in the write queues, then the request must be satisfied from data in the write queue - not the data in main memory
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  CS502 Fundamentals of Algorithms GDB no 1 Due date 3rd February 2016 Vuhelper 0 2,922 02-03-2016, 05:31 PM
Last Post: Vuhelper
  ECO401 Economics GDB no.1 Closing Date: January 28, 2016 Vuhelper 0 1,626 01-23-2016, 05:07 PM
Last Post: Vuhelper
  MGT501 Human Resource Management GDB No.1 Discussions and Solutions Fall 2014 Vuhelper 0 3,587 12-04-2014, 09:07 PM
Last Post: Vuhelper
  MGT211 Introduction To Business GDB No 1 Solution Ideas Fall 2014 Vuhelper 0 1,765 12-04-2014, 03:20 PM
Last Post: Vuhelper
  FIN711 Advanced Financial Accounting GDB No. 01 Fall 2014 Last Date 8th December Vuhelper 0 2,161 12-03-2014, 09:15 PM
Last Post: Vuhelper
  MGT101 Financial Accounting GDB Solution and Discussion December 2014 Vuhelper 0 2,949 12-03-2014, 09:05 PM
Last Post: Vuhelper
  MGT703 Strategic Management GDB No.1 Fall 2014 Solutions Ideas Vuhelper 0 1,939 12-03-2014, 08:45 PM
Last Post: Vuhelper
  MGT201 Financial Management GDB No. 01 Solution Fall 2014 Last date is 4th Dec 2014 Vuhelper 0 2,549 12-03-2014, 03:58 PM
Last Post: Vuhelper
  MGT520 International Business GDB No. 01 Solution and Discussion Fall 2014 viki 0 2,671 12-03-2014, 03:03 PM
Last Post: viki
  GDB No 1 MGT301 Principles of Marketing Solution and Discussion December Fall 2014 viki 0 2,594 12-03-2014, 02:45 PM
Last Post: viki

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support