Ask Question
25 August, 08:20

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?

+4
Answers (1)
  1. 25 August, 11:55
    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?
Get 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 & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers