Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For questions 5 and 6, consider that you have decided to splurge on a low end netbook for doing your operating systems homework during lectures
For questions 5 and 6, consider that you have decided to splurge on a low end netbook for doing your operating systems homework during lectures in your non-computer science classes. The netbook has a single-level TLB and a single-level physically addressed cache. It also has two levels of page tables, and the operating system does demand paging to disk.The netbook comes in various configurations, and you want to make sure the configuration you purchase is fast enough to run your applications.To get a handle on this, you decide to measure its cache, TLB and paging performance running your applications in a virtual machine. The following figure lists what you discover for your workload. The TLB is refilled automatically by the hardware on a TLB miss. The page tables are kept in physical memory and are not cached, so looking up a page table entry incurs two memory accesses (one for each level of the page table). You may assume the operating system keeps a pool of clean pages, so pages do not need to be written back to disk on a page fault. Measurement 0.01 PaMprobability of a cache miss PBiss probability of a TLB miss Pault probability of a page fault, given a TLB miss occurs 0.00002 Tatime to access cache Tntime to access TLB TDRAM time to access main memory Tdisk time to transfer a page to/from disk 0.01 1ns 0.001 us 100ns 0.1 us 10 ns 10 ms O Option 1 5. What is the average memory access time (the time for an application program to do one memory reference) on the netbook? 2points O 205 nanoseconds 0 205 microseconds For questions 5 and 6, consider that you have decided to splurge on a low end netbook for doing your operating systems homework during lectures in your non-computer science classes. The netbook has a single-level TLB and a single-level physically addressed cache. It also has two levels of page tables, and the operating system does demand paging to disk.The netbook comes in various configurations, and you want to make sure the configuration you purchase is fast enough to run your applications.To get a handle on this, you decide to measure its cache, TLB and paging performance running your applications in a virtual machine. The following figure lists what you discover for your workload. The TLB is refilled automatically by the hardware on a TLB miss. The page tables are kept in physical memory and are not cached, so looking up a page table entry incurs two memory accesses (one for each level of the page table). You may assume the operating system keeps a pool of clean pages, so pages do not need to be written back to disk on a page fault. Measurement 0.01 PaMprobability of a cache miss PBiss probability of a TLB miss Pault probability of a page fault, given a TLB miss occurs 0.00002 Tatime to access cache Tntime to access TLB TDRAM time to access main memory Tdisk time to transfer a page to/from disk 0.01 1ns 0.001 us 100ns 0.1 us 10 ns 10 ms O Option 1 5. What is the average memory access time (the time for an application program to do one memory reference) on the netbook? 2points O 205 nanoseconds 0 205 microseconds
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started