Consider a web server with one CPU that serves web requests; each web request requires 3 (time) units of CPU processing and 9 (time) units to read data from disk.
The server is designed with a fixed number of threads k, and each web request is handled entirely by one of those threads. Given the processing requirements and architecture mentioned above, what value should be chosen for k? Now suppose we had 4 CPUS (cores); how would your answer change?
Finally, suppose the web request required 9 (time) units of CPU and 3 of disk access. How would your answers to the 2 previous questions change?