Ask Question
2 April, 14:34

Suppose a computer can execute 1 billion instructions/sec and that a system call takes 1000 instructions, including the trap and context switching. How many system calls can the computer execute per second and still have half the CPU capacity for running application code?

+3
Answers (1)
  1. 2 April, 17:08
    0
    System calls = 500000

    Explanation:

    Instructions that a computer can execute = 1 billion instructions/sec

    Instructions that a system call takes including the trap and context switching = 1000 instructions

    When half of the CPU time is on application, n system calls can be executed in 1 second.

    Therefore we'll get an equation as following.

    1000 * n = 0.5 * 1000000000

    n = 0.5 * 1000000000 / 1000

    n = 500000

    System calls = 500000
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Suppose a computer can execute 1 billion instructions/sec and that a system call takes 1000 instructions, including the trap and context ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers