MEMORY MANAGEMENT
Memory Design Example:
1. We have two sets of RAM of size 512X8 and ROM of size 512X8. Design a memory of capacity of 1024X8
2. Construct a large RAM type memory of size 1KX8 using smaller size RAM chips 256X2
3. Construct a large memory of 1KX4 by using 512X2 RAM chips
4. Write comparison notes on different types of RAM and ROM
Secondary Memory Example
1. A disk pack has 19 surfaces. Storage on each surface has an inner diameter of 22 cm and outer diameter of 33 cm. Maximum storage density on any track is 2000 bits/cm and minimum spacing between tracks is 0.25 cm.
a. What is the storage capacity of the pack?
b. What is the data transfer rate in bytes per second at a rotational speed of 3600 rpm?
Cache Memory Example
1. A hierarchical cache memory sub-system has the following specification:
a. Cache access time of 50 nsec
b. Main memory access time 500 nsec
c. 80% memory request are for read
d. Hit ration of 0.9 for read access and the write-through scheme is used
Calculate the following
a. Average access time of the memory system considering only read cycle
b. Average access time of the system both for read and write requests.
2. A computer has a main memory of 64KX16 and cache memory of 1K word. The cache memory uses direct mapping with block size of 4 words
a. How many bits are there in the tag, index, block and word fields of the address format.
b. How many bits are there in each word of cache
c. How many blocks can the cache accommodate
3. A cache has 64KB capacity, 128 byte lines and 4 way set-associative. The CPU generates 32-bit address for accessing data in the memory.
a. How many lines and sets does the cache has
b. How many entries are required in the tag field
c. How many bits of tags are required in each entry in the tag array