Ask Question
20 October, 20:50

A system with two dual-core processors has four processors available for scheduling. a cpu-intensive application is running on this system. all input is performed at program start-up, when a single file must be opened. similarly, all output is performed just before the program terminates, when the program results must be written to a single file. between startup and termination, the program is entirely cpubound. your task is to improve the performance of this application by multithreading it. the application runs on a system that uses the one-to-one threading model (each user thread maps to a kernel thread). ⢠how many threads will you create to perform the input and output? explain.

+2
Answers (1)
  1. 20 October, 21:12
    0
    The controlling thread is all that is needed for I/O in this case. What you've described, although multi-threaded, is a classic IPO (Input, Processing, Output) program.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “A system with two dual-core processors has four processors available for scheduling. a cpu-intensive application is running on this system. ...” 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