1. Which of the following instructions should be allowed only in kernel mode? (a) Disable all interrupts. (b) Read the time-of-day clock. (c) Set the time-of-day clock. (d) Change the memory map. 2. Consider a system that has two CPUs, each CPU having two threads (hyperthreading). Suppose three programs, P0, P1, and P2, are started with run times of 5, 10 and 20 msec, respectively. How long will it take to complete the execution of these programs? Assume that all three programs are 100% CPU bound, do not block during execution, and do not change CPUs once assigned.

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter5: Data Storage Technology
Section: Chapter Questions
Problem 2PE
icon
Related questions
Question
100%

Hello. Please answer the attached Operating Systems questions correctly and completely. Please handwrite your answers. 

*If you answer the questions correctly and handwrite your answers, I will give you a thumbs up. Thanks.

Please answer the following Operating Systems Questions:
1. Which of the following instructions should be allowed only in kernel mode? (a)
Disable all interrupts. (b) Read the time-of-day clock. (c) Set the time-of-day clock.
(d) Change the memory map.
2. Consider a system that has two CPUs, each CPU having two threads
(hyperthreading). Suppose three programs, P0, P1, and P2, are started with run times
of 5, 10 and 20 msec, respectively. How long will it take to complete the execution of
these programs? Assume that all three programs are 100% CPU bound, do not block
during execution, and do not change CPUs once assigned.
* Please answer correctly and completely. Thank you.
Transcribed Image Text:Please answer the following Operating Systems Questions: 1. Which of the following instructions should be allowed only in kernel mode? (a) Disable all interrupts. (b) Read the time-of-day clock. (c) Set the time-of-day clock. (d) Change the memory map. 2. Consider a system that has two CPUs, each CPU having two threads (hyperthreading). Suppose three programs, P0, P1, and P2, are started with run times of 5, 10 and 20 msec, respectively. How long will it take to complete the execution of these programs? Assume that all three programs are 100% CPU bound, do not block during execution, and do not change CPUs once assigned. * Please answer correctly and completely. Thank you.
Expert Solution
steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Types of Database Architectures
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning