The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 304 Weeks Ago, 6 Days Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
Hi need assistance with the attached file. Please provide clear solutions in word format.
Â
Cache and Memory Mapping
Â
Â
Part I
Consider a computer that you have used or now use. (You may make an assumption on word size if needed.)
·         How large is the memory of the computer?
·         How long is a word in the computer above?
·         How many bits are required to address the bytes in that memory?
·         How many data lines are required to read data from the computer memory?
Â
Â
Part II
·         Does your computer have cache?
·         If so how big is it?
·         How does your cache size compare with the size of main memory?
·         Do you know what kind of cache it is?
·         How did you find out about your computer's cache?
 Make an assumption that your cache is either:
·         Fully associative
·         Direct mapped
·         Two-way set-associative
·         Four-way set-associative
 Using the relationships in Part I above, determine:
 the size of the Tag and Word for Associative cache;
 OR
 the size of the Tag, Line, and Word for Direct-Mapped Cache ;
 Or
 the size of Tag, Set, and Word for K-Way Set-Associative Cache.
Â
You may make any assumptions necessary including the number of Words in each block (recommend 2 or 4 or 8)
Â
Â
Part III
Given the following:
·         Logical Memory size of 1000
·        Physical Memory size of 2000
·        Page (and frame) size of 100
·        Block A contains data for a program
Select Block A’s size and its starting point in both memories. Then write the page table for Block A based on your selections. Â
See below for the layout of both memories and an example of Block A of size 200.
Â
Logical Memory                               Physical Memory
location/ page                                    location/frame
|
0    to   99/ 0 |
 |
0    to   99/ 0 |
|
100 to 199 /1Â Â Â Â Block A |
100 to 199/Â 1 |
|
|
200 to 299/Â 2Â Â Â Â Block A |
200 to 299/Â 2 |
|
|
300 to 399/Â 3 |
300 to 399/Â 3 |
|
|
400 to 499/Â 4 |
400 to 499/Â 4 |
|
|
500 to 599/Â 5 |
500 to 599/Â 5 |
|
|
600 to 699/Â 6 |
600 to 699/Â 6 |
|
|
700 to 799/Â 7 |
700 to 799/Â 7 |
|
|
800 to 899/Â 8 |
800 to 899/Â 8 |
|
|
900 to 999/Â 9 |
900 to 999/Â 9 |
|
|
 |
1000 to 1099/Â 10 |
|
|
1100 to 1199/Â 11 |
||
|
1200 to 1299/Â 12 |
||
|
1300 to 1399/Â 13Â Â Â Â Â Â Â Â Block A |
||
|
1400 to 1499/Â 14Â Â Â Â Â Â Â Â Block A |
||
|
1500 to 1599/Â 15 |
||
|
1600 to 1699/Â 16 |
||
|
1700 to 1799/Â 17 |
||
|
1800 to 1899/Â 18 |
||
|
1900 to 1999/Â 19 |
Â
Â
|
Page |
Frame |
|
1 |
13 |
|
2 |
14 |
Â
Â
Â
Part IV
Â
Discuss the pros and cons of paging.
Â
----------- Â ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly