Given scenario:
The given performance parameters of virtual machine is as follows:
- Base CPI =1.5
- Privileged O/S accesses per 10000 instructions = 120
- Performance impact to guest O/S= 15 cycles
- Performance impact to VMM = 175 cycles
- I/O Access per 10000 instructions = 30
- I/O access time = 1100 cycles
Explanation of Solution
Calculation of CPI:
Calculation of CPI if the VMM performance impact double:
Calculation of CPI if the VMM performance cut in half:
Longest possible penalty to trap to the VMM:
To obtain a 10% performance degradation, use the following formula:
Therefore, 13 cycles is the longest possible penalty to trap to the VMM.
Want to see more full solutions like this?
Chapter 5 Solutions
Computer Organization and Design MIPS Edition, Fifth Edition: The Hardware/Software Interface (The Morgan Kaufmann Series in Computer Architecture and Design)
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY