Professional Documents
Culture Documents
The Design and Implementation of A Kerne
The Design and Implementation of A Kerne
should tune a server with the best performance and avoid Server
Prosesses Reportor2 Collector
Graph
Generator
saturation of the server. However, many administrators still Operating System
operate the server systems based on their intuition and ex- CPU information
Memory information
periment that frequently causes miss-configuration of the Process information
servers. Thus, we developed a server performance measure- Network information
90
IDLE
USER
KERNEL
100
90
IDLE
USER
KERNEL
80 80
70 70
CPU Utilization(%)
CPU Utilization(%)
60 60
50 50
30
40
30
10 10
Figure 3 is the output of CPU utilization on WWW1 and This work was supported in part by Research for the
WWW2. The CPU cycles consumed by kernel activity on Future Program of Japan Society for the Promotion of
two systems are at the same level. However, User level ac- Science under the Project ”Integrated Network Architec-
tivity of WWW2 is higher than that of WWW1. Accord- ture for Advanced Multimedia Application Systems”(JSPS-
ing to the reference [2], the server system is saturated when RFTF97R16301)
the CPU kernel rate becomes 90%. Therefore, WWW1 and
WWW2 can process more WWW requests. References
The left graph of Figure 4 is cumulative distribution of
response time of the two servers. The response time of [1] Yutaka Nakamura, Ken-ichi Chinen, Hideki Sunahara, Sug-
Chamomile is a hundred times slower than that of Apache. uru Yamaguchi. ENMA: The WWW Server Performance
One of the reasons of the poor responsibility is in it’s ses- Measurement System via Packet Monitoring. In Inet’99, San
Jose, CA, June 1999. http://enma.aist-nara.ac.jp/.
sion scheduler. Chamomile handles hundreds of sessions [2] J. Almeida, V. Almeida and D. Yates. Measuring the Behav-
with a few threads, and that causes large queuing delay. ior of a World-Wide Web Server. Computer Science Depart-
We also investigate performance degradation through ex- ment, Boston University, 1996, October 29
ecuting rep2 on the server system by comparing the server