During your intern at WebSolvents Inc. you are given the task of monitoring a web server. You notice that at
steady state the server is handling, on average, about 23 connections at any given point in time. If the rate with which
connections are started is 52 connections per second and the time it takes a thread to service a given request is 50
milliseconds. Your boss asks you to provide the following:
(a) What is the average length of time that each one of these connections lasts?
(b) What is the slowdown of the server?
(c) Assuming that the requests are mostly CPU-intensive, and Considering how busy is the server, what can you tell about the level of parallelism that the server is using to process the requests? And how many CPUs the server must have at least?
(d) What is the utilization of each of the CPUs in server, assuming it has no more than the strictly required number of CPUs?
(e) How many requests per seconds must each CPU be processing?
(f) What assumptions did you have to make to answer the above questions?
Ans a: avg connection at any point of time = at=23
Starting connection st= 52 connection per second
Time to take tread to service a reqvest t= 50
Avg lenth of connection l= at/t
23/50= 0.46
Ansb: if a server got much reqest at any point of time more than usual so it serves slowly or work slowly to serve all the reqvest it causes server slowdown ,it depends on the sever requst processing speed depend on diffrent server.
Ansc: it depends on server cpu speed ,but if there is parallel cpus are in the server speed will increase.
Get Answers For Free
Most questions answered within 1 hours.