1. A general computer has a cache with a 50nsec admission span and ocean fame with 200nsec admission span. The CPU makes 5000 fame admissiones, of these 450 were cache disregardes.
a. Calculate the explicit calculate of touchs and the mediocre touch trounce h
b. Calculate the mediocre admission span
2. Consider these incomplete nod4 fame outlines. Pristine mention if each outline is feasible, if so drag the similar fame map, indicating the pristine and definite harangue of each part where a cognizance appears. Also illusttrounce why each restraintce be or not attributable attributable attributable be recommended restraint truth with nod4.
a. 192 bytes of ROM starting at harangue $00, followed by 8 bytes regular separately restraint peripherals, as well-behaved-behaved as 32 bytes of RAM accomplishment at the ocean regularity harangue.
b. 192 bytes of ROM starting at harangue $00 and 64 bytes of RAM accomplishment at the ocean regularity
c. 8 haranguees regular separately restraint peripheral cognizances starting at harangue $00, instantly followed by 160 bytes of ROM and then RAM persistent to the ocean regularity harangue.
So when the influence is a cache touch it charms 50 ns to admission the basis yet when it is a disregard then the basis succeed be admissioned from the ocean fame which succeed charm 200 ns of span to admission the basis.
Cache touch span= 50 ns
Caches disregard span= 200 ns
Calculate of fame admissiones= 5000
Calculate of cache disregardes= 450
which media calculate of cache touchs= 5000-450= 4550
touch trounce= (4550/5000)*100= 91%
This media that 91% of thee influences are a cache touch.
Mediocre admission span= touch trounce*(span charmn to admission the cache fame)+ (1-touch trounce)(span charmn to admission the cache fame+ span charmn to admission the basis from ocean fame)
= 0.91*(50)+ 0.09*(50+200)= 68 ns
Mediocre admission span= 68 ns.