
a)
Given:
TLB hit=5ns
Cache hit =12ns
Main memory=25ns (Memory reference)
Hard drive=200ms (Disk reference)
Hit ratio TLB=90%
Hit ratio cache=98%
Rate of Page fault=0.001%
a)

Explanation of Solution
TLB (Translation Look aside Buffer) hit and cache Hit:
- Translation Look aside buffer is special type of cache that is used to store the contents of the page table.
- The content of the TLB cache includes pairs of virtual page number, physical frame numbers.
- The page number that is required can be looked up inside the TLB.
- If the requested page number is found it is considered to be a hit and it indicates that the page number is being mapped with the frame number that is present in the main memory.
- The contents of the cache will also be accessed to find whether the data is present in the cache as well and if the same contents are present it is meant to be a hit.
Therefore, this type of access is possible and the total access time is calculated as shown below:
Therefore, the total access time is 17ns.
b)
Given:
TLB hit=5ns
Cache hit =12ns
Main memory=25ns (Memory reference)
Hard drive=200ms (Disk reference)
Hit ratio TLB=90%
Hit ratio cache=98%
Rate of Page fault=0.001%
b)

Explanation of Solution
TLB (Translation Look aside Buffer) miss, page table hit and cache Hit:
- Translation Look aside buffer is special type of cache that is used to store the contents of the page table.
- The content of the TLB cache includes pairs of virtual page number, physical frame numbers.
- The page number that is required can be looked up inside the TLB.
- If the requested page number is found it is considered to be a miss, then the page number that is required is searched in the main memory’s page table.
- If the page entry is found in the page table, the address of the virtual memory is mapped with the main memory.
- The contents of the cache will also be accessed to find whether the data is present in the cache as well and if the same contents are present it is meant to be a hit.
Therefore, this type of access is possible and the total access time is calculated as shown below:
Therefore, the total access time is 42ns.
c)
Given:
TLB hit=5ns
Cache hit =12ns
Main memory=25ns (Memory reference)
Hard drive=200ms (Disk reference)
Hit ratio TLB=90%
Hit ratio cache=98%
Rate of Page fault=0.001%
c)

Explanation of Solution
TLB (Translation Look aside Buffer) miss, page table hit and cache Miss:
- Translation Look aside buffer is special type of cache that is used to store the contents of the page table.
- The content of the TLB cache includes pairs of virtual page number, physical frame numbers.
- The page number that is required can be looked up inside the TLB.
- If the requested page number is found it is considered to be a miss, then the page number that is required is searched in the main memory’s page table.
- If the page entry is found in the page table, the address of the virtual memory is mapped with the main memory.
- The contents of the cache will also be accessed to find whether the data is present in the cache as well and if the same contents are not present it is meant to be a miss, then the access is being transferred to main memory and the block that is required is transferred again to the cache.
Therefore, this type of access is possible and the total access time is calculated as shown below:
Therefore, the total access time is 67ns.
d)
Given:
TLB hit=5ns
Cache hit =12ns
Main memory=25ns (Memory reference)
Hard drive=200ms (Disk reference)
Hit ratio TLB=90%
Hit ratio cache=98%
Rate of Page fault=0.001%
d)

Explanation of Solution
TLB (Translation Look aside Buffer) miss, page table miss and cache hit:
- Translation Look aside buffer is special type of cache that is used to store the contents of the page table.
- The content of the TLB cache includes pairs of virtual page number, physical frame numbers.
- The page number that is required can be looked up inside the TLB.
- If the requested page number is found it is considered to be a miss, then the page number that is required is searched in the main memory’s page table.
- If the page entry is not found in the page table, there occurs a page fault .
- The access is made with the hard drive to bring the required data into the main memory.
- There is no possibility of the cache being hit in this scenario because the address is not present in the main memory itself
Therefore, this type of access is not possible.
e)
Given:
TLB hit=5ns
Cache hit =12ns
Main memory=25ns (Memory reference)
Hard drive=200ms (Disk reference)
Hit ratio TLB=90%
Hit ratio cache=98%
Rate of Page fault=0.001%
e)

Explanation of Solution
TLB miss and page table miss:
- Translation Look aside buffer is special type of cache that is used to store the contents of the page table.
- The content of the TLB cache includes pairs of virtual page number, physical frame numbers.
- The page number that is required can be looked up inside the TLB.
- If the requested page number is found it is considered to be a miss, then the page number that is required is searched in the main memory’s page table.
- If the page entry is not found in the page table, there occurs a page fault.
- The access is made with the hard drive to bring the required data into the main memory.
- The access will be getting restarted at this stage.
- The page number that is required can be looked up inside the TLB.
- If the requested page number is found it is considered to be a miss, then the page number that is required is searched in the main memory’s page table.
- Now the request page number is found at the page table of the main memory.
- There occurs a page hit.
- The value that is requested and found in the main memory may not be reflected at the cache.
- There occurs a cache miss.
- Then the main memory is accessed to bring the block to the cache.
Therefore, this type of access is possible and the total access time is calculated as shown below:
Therefore, the total access time is
Effective Access time (EAT):
- EAT is a measure of Hierarchal memory performance.
- A weighted average that utilizes the hit ratio and the relative access time of the levels present in successful order of the memory hierarchy is called as effective access time.
- The actual time of the access is based on the technology that is utilized to access the contents present at each level of the hierarchy.
Formula for the effective access time:
The formula for effective access time where the memory contains two levels that includes a main memory and the cache memory is obtained as shown below:
In the above formula,
Any access that is made is being split up into following ways:
- Virtual access
- Main memory access
If the contents are present in the TLB then it is called as hit, and if the element is not present in the TLB then the element is accessed at the page table.
If the element is present at the page table then it is a hit, if the contents are not present then the access is made at the main memory to bring the elements to the cache.
Now again the contents are searched at the cache now the data found is considered as a hit.
Want to see more full solutions like this?
Chapter 6 Solutions
The Essentials of Computer Organization and Architecture
- using r languagearrow_forwardWhat significant justification is there for the -> operator in C and C++?arrow_forwardMultidimensional arrays can be stored in row major order, as in C++, or in column major order, as in Fortran. Develop the access functions for both of these arrangements for three-dimensional arrays.arrow_forward
- What are the arguments for and against Java’s implicit heap storage recovery, when compared with the explicit heap storage recovery required in C++? Consider real-time systems.arrow_forward8. Name and Email AddressesWrite a program that keeps names and email addresses in a dictionary as key-value pairs. The program should display a menu that lets the user look up a person’s email address, add a new name and email address, change an existing email address, and delete an existing name and email address. The program should pickle the dictionary and save it to a file when the user exits the program. Each time the program starts, it should retrieve the dictionary from the file and unpickle it. How would the user be able to use the program?arrow_forwardPlease solve and answer the question correctly please. Thank you!!arrow_forward
- Please solve and answer the question correctly please. Thank you!!arrow_forwardW AutoSave Off File Home Insert Draw Design Assignment_1[1] - Protected... ■ Saved V > Search Layout References Mailings Review View Help QuillBot RefWorks - RCM PROTECTED VIEW Be careful-files from the Internet can contain viruses. Unless you need to edit, it's safer to stay in Protected View. Enable Editing PR Comments Viewing Share × 2. The following state transition table is a simplified model of process management, with the labels representing transitions between states of READY, RUN, BLOCKED, and NONRESIDENT. READY RUN BLOCKED NONRESIDENT READY RUN - 1 - 5 BLOCKED 2 4 3 - 6 Give an example of an event that can cause each of the above transitions. Draw a diagram if that helps. (5) Page 2 of 4 20 of 278 words Text Predictions: On 64 f W Focus + 170% ENG US 17:13 2025/03/24arrow_forwardI need help understanding how could I got the IP Address for the Last Host on this Subnet & the Broadcast Address for this Subnetarrow_forward
- I need help understanding how could I got the IP Address for the Last Host on this Subnet & the Broadcast Address for this Subnetarrow_forwardPlease answer Java OOP homework scenario below: You have been hired by the National Insurance Company to create a program to track insurance policies for all its customers. National Insurance provides three types of insurance: automobile, home and life insurance. The program should be able to track up to 100 policies. Based on the provided information, create an efficient, object-oriented solution with good design principles that will allow a user to manage policies. To do this, the solution should have a menu with the following capabilities: Add Policy o This capability will allow a user to add a policy. The user should specify if the policy is for home, auto, or life. Once the type of policy has been selected, the user should be prompted for all required fields for the policy type. Remove Policy o This capability will allow a user to select any policy and remove it from the list. View policies o This capability will allow a user to see all the policies. All policy fields…arrow_forwardWhat are the two errors in my pseudocode?Module getAverage(Integer value1, Integer value2, Integer value3) Declare Integer average average = value1 + value2 + value3 / 3 Display average End Modulearrow_forward
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education





