Ask Question
29 December, 18:02

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. 29 December, 18:32
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers