실시간 웹서버 시스템을 위한 통합 스케줄링 방안

An Integrated Scheduling Approach for Real-Time Web Servers

  • 강봉직 (東洋工業專門大學 電算經營技術工學部) ;
  • 정석용 (東洋工業專門大學 電算經營技術工學部) ;
  • 이현숙 (亞州大學敎 情報通信專門大學院) ;
  • 최경희 (亞州大學敎 情報通信專門大學院) ;
  • 정기현 (亞州大學敎 電子工學部) ;
  • 유해영 (檀國大學敎 情報컴퓨터學部)
  • Kang, Bong-Jik (Dongyang Technical College, School of Computer Engineering and Management) ;
  • Jung, Suk-Yong (Dongyang Technical College, School of Computer Engineering and Management) ;
  • Lee, Hyun-Suk (Ajou University, Graduate School of Information and Communication Technology) ;
  • Choe, Gyeong-Hui (Ajou University, Graduate School of Information and Communication Technology) ;
  • Jeong, Gi-Hyeon (Ajou University, School of Electronic Engineering) ;
  • Yu, Hae-Yeong (Dankook University, Major of Computer Science/Division of Informationa & Computer Science)
  • 발행 : 2002.11.01

초록

본 논문에서는 웹서버를 탑재한 내장형 시스템에서 실시간 속성을 만족시킬 수 있는 스케줄링 기법을 제안한다. 내장형 시스템에 웹서버를 응용프로그램의 형태로 탑재하는 경우 운영체제와 웹서버간의 이원화된 스케줄링 때문에 우선 순위 역전 현상이 발생하여 실시간 속성을 만족시키지 못한다. 이에 본 논문에서는 웹서버의 일부 스케줄링 기능을 운영체제의 스케줄러와 통합 내장시켜 일관된 스케줄링 방법을 제공한다. 제안된 스케줄링 기법을 실험용 내장형 시스템에 적용한 결과, 웹서버를 일반 태스크로 구현한 경우와 달리 우선 순위 역전 현상이 발생하지 않았다. 또한 우선 순위에 따라 태스크별 응답 시간이 시스템 부하에 관계없이 일정하여 제안된 스케줄링 기법이 실시간 내장형 웹서버 시스템에 적합하다.

This paper proposes an integrated scheduling mechanism for embedded system with real-time web server to meet the characteristics of real time task. The proposed scheduling mechanism may solve the so-called priority inversion problem in scheduling between urgent web requests and tasks with low priorities. The priority inversion problem happens because of operating two independent schedulers, web scheduler and operating system scheduler in a system without considering the requirements of each other. In the proposed mechanism, two schedulers are integrated in an operating system and the integrated scheduler schedules tasks for urgent web requests with real time characteristics and other application tasks together. Since all tasks are scheduled by one unified scheduler that knows the characteristics of tasks, the tasks are scheduled with their absolute priorities and thus the priority inversion problem can be eliminated. The performance is measured on a prototype embedded system with the proposed algorithm.

키워드

참고문헌

  1. Hong-Taek Ju, Mi-Joung Choi and James W. Hong 'An efficient and lightweight embedded Web server for Web-based network element management,' International Journal of Network Management, vol. 10, Issue 5, pp. 261-275, September/October 2000 https://doi.org/10.1002/1099-1190(200009/10)10:5<261::AID-NEM375>3.0.CO;2-#
  2. Jae Chul Moon, Soon Ju Kang, 'An Event Channel-Based Embedded Software Architacture for Developing Telemetric and Teleoperation Systems on the WWW,' IEEE Int'l Symposium on Real-Time Technology and Application(RTAS99), Vancouver, CANADA, June 2-4 1999
  3. Arjan van de Ven, khttpd, http://www.fenrus. demon.nl, 1999
  4. Zach Brown, phttpd, http://www.zabbo.net/phhttpd, November 1999
  5. Chuck Lever, Marius Asmodt Eriksen and Stephen P. Molloy, An analysis of the TUX web server,' CITI technical Report 00-8, November 16, 2000
  6. Jussara Almeida, Mihaela Dabu, Anand Manikutty and Pei Cao, 'Providing Differentiated Levels of Service in Web Content Hosting,' in First Workshop on Internet Server Performance, Madison, Wisconsin, June 23 1998
  7. M. E. Crovella, R. Frangioso, and M. HarcholBalter, 'Connection Scheduling in Web Servers,' in Proceedings of the 1999 USENIX Symposium on Internet Technologies and Systems (USITS '99), Boulder, Colorado, October 1999
  8. J. P. Lehoczky, L. Sha, and J. K. Stronider, 'Enhanced Aperiodic Responsiveness in Hard ReaL-Time Enviromnents,' Proc of Real-Time Systems Symposium, pp. 261-270, Dec 1987
  9. Jean J. Labrosse, MicroC/OS-II, R&D Books, 1999
  10. Erick Engelke, WATTCP, http://www.wattcp.com, 1999
  11. Jane W. S. Liu, Real-Time Systems, Prentice Hall, 2000