User Tools

Site Tools


assignments:a2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
assignments:a2 [2018/10/03 23:36] aboelazeassignments:a2 [2018/10/11 18:40] (current) aboelaze
Line 1: Line 1:
 ====== Assignment 2 ====== ====== Assignment 2 ======
 +**Due date: Oct 16. The midterm is on Oct 18. I will hand out solution after Tuesday  class**
  
   - What is the number of overhead bits for a 64KB cache with these parameters (tag+dirty+valid)?   - What is the number of overhead bits for a 64KB cache with these parameters (tag+dirty+valid)?
Line 8: Line 9:
   - Is it necessary to have the page size be a power of 2? Could it be any size? would it be practical   - Is it necessary to have the page size be a power of 2? Could it be any size? would it be practical
   - Consider an array of size 1000-by-1000 double words. A direct mapped 64KB with a block size of 128 bytes. How many miss if we accessed the cache in a row-major fashion? A column major fashion? Assume that the array is stored in a row major fashion   - Consider an array of size 1000-by-1000 double words. A direct mapped 64KB with a block size of 128 bytes. How many miss if we accessed the cache in a row-major fashion? A column major fashion? Assume that the array is stored in a row major fashion
-  - Consider a toy cache with 8-byte block size and capacity of 64 bytes. which of these references are hits and which are miss+  - Consider a toy cache with 8-byte block size and capacity of 64 bytes. which of these references are hits and which are miss. Assume the cache is direct mapped
  
    0xB8    0xB8
assignments/a2.1538609775.txt.gz · Last modified: 2018/10/03 23:36 by aboelaze