DOI QR코드

DOI QR Code

Priority- and Budget-Based Protocol Processing Using The Bottom-Half Mechanism for End-to-End QoS Support

종단간 QoS 지원을 위해 Bottom-half 메커니즘을 이용한 우선순위 및 예산 기반의 네트워크 프로토콜 처리

  • 김지민 (한양대학교 전자컴퓨터통신공학과) ;
  • 유민수 (한양대학교 컴퓨터공학부)
  • Published : 2009.06.30

Abstract

The traditional interrupt-based protocol processing at end hosts has two priority-inversion problems. First, low-priority packets may interrupt and delay high-priority process executionssince interrupts have the highest priority in most operating systems. Second, low-priority packet may delay high priority packets when they arrive almost simultaneously since interrupt processing is performed in a FCFS (first come, first served) order. These problems can be solved by a priority-based protocol processing policy and implementation. However, general priority-based schemes commonly have the problem of starvation and cannot support the each network flow requiring the mutually exclusive QoS since the packets are processed in the FCFS order. Therefore, the priority-based schemes are not appropriate for different QoS-demanding applications. In this paper, we present a bottom-half-based approach that relies on priority- and budget-based processing. The proposed approach allows us to solve both the starvation and priority-inversion problems, and further enables effective QoS isolation between different network connections. This feature also enables bounding the protocol processing time at an end host. We finally show through experiments that the proposed approach achieves QoS isolation and control.

종단 호스트에서의 전통적인 네트워크 프로토콜 처리 기법은 인터럽트 기반의 선착순 처리 방식을 사용함으로써 다음과 같은 두 가지 문제점을 가진다. 첫째, 인터럽트가 가장 높은 우선순위로 처리되기 때문에 네트워크 패킷과 응용 프로세스간에 우선순위 역전현상이 발생할 수 있다. 둘째, 네트워크 패킷 처리가 선착순으로 진행되기 때문에 패킷과 패킷간에 우선순위 역전현상이 발생할 수 있다. 이러한 문제는 우선순위에 기반한 프로토콜 처리 방법으로 해결이 가능한 것으로 알려져 있지만, 기본적으로 우선순위 기반의 해법은 기아(starvation)라는 부작용을 가지고 있으며 각각의 네트워크 흐름에 대하여 QoS 격리 및 조절이 불가능하기 때문에 네트워크 흐름마다 상이한 QoS가 요구되는 환경에 적용하기 어렵다는 문제점을 가지고 있다. 본 논문에서는 우선순위와 예산(budget) 개념에 기반하여 bottom-half 메커니즘을 이용한 프로토콜 처리 기법을 제안한다. 제안하는 방법을 사용하면 우선순위 기반의 프로토콜 처리 방법이 가지고 있는 기아 현상을 해결함은 물론 각각의 네트워크 연결이 요구하는 QoS의 격리(isolation)가 가능하다. 이러한 특성으로 인해 패킷 처리 시간을 상한 (upper-bound)시키는 것이 가능해지며, 본 논문에서는 그 최대값을 계산해내는 방법을 함께 제안한다. 마지막으로, 실험을 통해 제안하는 방법이 네트워크 흐름간 QoS를 효과적으로 격리 및 조절할 수 있음을 확인할 수 있었다.

Keywords

References

  1. Chandramohan A. Thekkath, Thu D. Nguyen, Evelyn Moy, and Edward D. Lazowska, 'Implementing network protocols at user level,' Applications, Technologies, Architectures, and Protocols for Computer Communication, 1993 https://doi.org/10.1109/90.251914
  2. Fred Kuhns, Douglas C. Schmidt, and David L. Levine, 'The Design and Performance of a Real-time I/O Subsystem,' in Proceedings of the Fifth IEEE Real-Time Technology and Applications Symposium, 1999
  3. Ashish Mehra, A. Indiresan, and K.G. Shin, 'Structuring Communication Software for Quality-of-Service Guarantees,' in Proceedings of the 17th IEEE Real-Time Systems Symposium, 1996
  4. R. Gopalakrishnan and Gurudatta M. Parulkar, 'Efficient User-Space Protocol Implementations with QoS Guarantees Using Real-Time Upcalls,' IEEE/ACM Transactions on Networking, Vol.6, No.4, pp.374-388, Aug., 1998 https://doi.org/10.1109/90.720871
  5. R. Braden, D. Clark, and S. Shenker, 'Integrated services in the Internet architecture: An overview,' IETF, RFC 1633, Jun., 1994
  6. S. Blake, D. Black, M. Calson, E. Davies, Z. Wang, and W. Weiss, 'An architecture for differentiated services,' RFC 2475, Dec., 1998
  7. J.C. Mogul and K.K. Ramarkrishnam, 'Eliminating Receive Livelock in an Interrupt-Driven Kernel,' ACM Transactions on Computer Systmes, Vol.15(3), pp.217-252, 1997 https://doi.org/10.1145/263326.263335
  8. D.D. Clark, V. Jacobson, J. Romkey, and H. Salwen, 'An analysis of TCP processing overhead,' IEEE Communications Magazine, Vol.27(6), pp.23-29, Jun., 1998 https://doi.org/10.1109/35.29545
  9. P. Druschel and G. Banga, 'Lazy Receiver Processing (LRP): A Network Subsystem Architecture for Server Systems,' in Proceedings of the First Symposium on Operating Systems Design and Implementation, USENIX Association, pp.261-275, Oct., 1996 https://doi.org/10.1145/238721.238786
  10. C.L Liu and J.W. layland, 'Scheduling Algorithms for Multiprogramming in a Hard Real-Time Environment,' Journal of the ACM, Vol.20(1), pp.46-61, 1973 https://doi.org/10.1145/321738.321743
  11. Chris Maeda and Brian N. Bershad, 'Protocol Service Decomposition for High-Performance Networking,' Symposium on Operating Systems Principles, pp.244-255, 1993 https://doi.org/10.1145/173668.168639
  12. C. Lee, K. Yoshida, C. Mercer, and R. Rajkumar, 'Predictable Communication Protocol Processing in Real-Time Mach,' in Proceedings of Second Real-Time Technology and Applications Symp., June, 1996 https://doi.org/10.1109/RTTAS.1996.509539
  13. A. Edwards, G. Watson, J. Lumley, D. Banks, C. Clamvokis, and C. Calton, 'User-Space Protocols Deliver High Performance to Applications on a Low-Cost Gb/s LAN, Proc. ACM SIGCOMM, pp.14-24, London, Aug., 1994 https://doi.org/10.1145/190314.190316
  14. V. Buch, T. von Eicken, A. Basu, and W. Vogels, 'U-Net: A User Level Network Interface for Parallel and Distributed Computing,' Proc. ACM Symp. Operating Systems Principles, pp.40-53, Dec., 1995
  15. C.W. Mercer and H. Tokuda, 'Preemptibility in Real-Time Operating Systems,' Proc, Real-Time Systems Symp., Dec., 1992 https://doi.org/10.1109/REAL.1992.242674
  16. Yuting Zhang and Richard West, 'Process-Aware Interrupt Scheduling and Accounting,' in Proceedings of the 27th IEEE Real-Time Systems Symposium (RTSS), Dec., 2006 https://doi.org/10.1109/RTSS.2006.37
  17. R. Gopalakrishnan and Gurudatta M. Parulkar, 'Quality of Service Support for Protocol Processing Within Endsystems,' in Proceedings of the 2nd International Workshop on Architecture and Protocols for High Performance, pp.179-198, 1995
  18. Linux, available at http://www.kernel.org/
  19. M. Singh, P. Pradhan, and P. Francis, 'MPAT: aggregate TCP congestion management as a building block for Internet QoS,' in Proceedings of IEEE International Conference on Network Protocols, pp.129-138, Oct., 2004
  20. H. Y. Hsieh and K.H. Kim and R. Sivakumar, 'On Achieving Weighted Service Differentiation: an End-to-end Perspective,' in Proceedings of IEEE IWQoS, Jun., 2003 https://doi.org/10.1007/3-540-44884-5
  21. Xia Gao, Gang Wu, and Toshio Miki, 'End-to-end QoS provisioning in mobile heterogeneous networks,' IEEE Wireless Communications, Vol.11, No.3, Jun., 2004 https://doi.org/10.1109/WCNC.2003.1200572
  22. R. Braden et al., 'Resource ReSerVation Protocol (RSVP) . Version 1 Functional Specification,' Internet RFC 2205, Sept., 1997
  23. A.Venkataramani and R. Kokku and Mike Dahlin, 'TCP NICE: A mechanism for background transfers,' in Proceedings of the 5th Symposium on Operating Systems Design and Implementation, pp.329-344, Dec., 2002