1-2hit |
Sukyong JUNG Bongjik KANG Kyunghee CHOI Kihyun CHUNG
This paper proposes a real-time scheduling mechanism for web server that finds a way to solve so-called priority inversion problem between tasks handling real-time web requests with higher priorities and tasks with lower priorities like HTML requests. The priority inversion problem of web server stems from operating two independent schedulers, web scheduler and kernel scheduler, without exchanging scheduling information or considering the requirement of each other. In the proposed mechanism, two schedulers are integrated in a kernel and the integrated scheduler schedules real-time web tasks and other application tasks together based on their priorities. Since the unified scheduler sees all tasks simultaneously in system, it can schedule the tasks with their absolute priorities and reduce the execution delay caused by the priority inversion. The proposed mechanism provides web server with a better chance to efficiently serve real-time web requests. The feasibility and performance of the proposed mechanism are empirically shown on an embedded system.
Sukyong JUNG Bongjik KANG Jangbok KIM Kyunghee CHOI Gihyun JUNG
We propose a feedback controller to efficiently control web requests especially on overloaded networks. The controller is designed based on a feedback closed loop that prevents overload of web server and enforces target CPU utilization via controlling the amount of input web requests. The main contribution of this letter is the use of feedback control theory to design the controller that delicately regulates web requests even under the dynamic changes in processing power of web server. In contrast with many previous heuristic methods, the proposed controller uses a systematic approach to adaptively control web requests taking account of the dynamic behavior of web server. Simulation results performed in overloaded cases show that the proposed controller lets web server effectively control input web requests and reach its CPU utilization to desired levels in relatively small settling times.