This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: the same processing power? Question 3 Explain the main differences between mobile code and mobile agent. Question 4 Discuss the main tradeoffs of using multi-threads instead of multi-processes to support an application. Question 5 Although multithreading may improve the system performance, i.e., reducing the response time for serving an application, sometimes, the response time may become longer if too many threads are created. Give two reasons to explain the problem. Question 6 A file server uses caching, and achieve a hit rate of 80%. File operations in the server cost 5ms of CPU time when the server finds the requested block in the cache, and take an additional 15ms of disk I/O time otherwise. Explaining any assumptions you make, estimate the server’s throughput (average request/sec) if it is: (1) single threaded; (2) two threads, running on a single processor; and (3) two-threaded, running on a two-processor computer....
View Full Document
This note was uploaded on 01/17/2011 for the course CS CS3283 taught by Professor Kylam during the Spring '10 term at City University of Hong Kong.
- Spring '10