retagged by
321 views
0 votes
0 votes
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.
retagged by

1 Answer

0 votes
0 votes
Depends on which cpu has which process executing

Related questions

0 votes
0 votes
0 answers
1
admin asked Oct 25, 2019
580 views
Consider a system in which it is desired to separate policy and mechanism for the scheduling of kernel threads. Propose a means of achieving this goal.
0 votes
0 votes
1 answer
2
admin asked Oct 24, 2019
589 views
In a system with threads, is there one stack per thread or one stack per process when user-level threads are used? What about when kernel-level threads are used? Explain....