Q4 ) (Threads) In this problem you are to compare reading a file using a single-threaded file
Fantastic news! We've Found the answer you've been seeking!
Question:
Q4 ) (Threads) In this problem you are to compare reading a file using a single-threaded file server and a multithreaded server. It takes 25 msec to get a request for work, dispatch it, and do the rest of the necessary processing, assuming that the data needed are in the memory. For each process, a disk operation is needed in order to bring the required data to the memory. This I/O operation takes an additional 75 msec, during which time the thread sleeps. How many requests/sec can the server handle if it is:
a) single threaded?
b) If it is multithreaded?
Related Book For
Posted Date: