Browse > Article
http://dx.doi.org/10.3745/KIPSTC.2005.12C.1.147

The Effect of C Language Output Method to the Performance of CGI Gateway in the UNIX Systems  

Lee Hyung-Bong (강릉대학교 컴퓨터공학과)
Jeong Yeon-Chul (호남대학교 컴퓨터게임학과)
Kweon Ki-Hyeon (삼척대학교 정보통신공학과)
Abstract
CGI is a standard interface rule between web server and gateway devised for the gateway's standard output to replace a static web document in UNIX environment. So, it is common to use standard I/O statements provided by the programming language for the CGI gateway. But the standard I/O mechanism is one of buffer strategies that are designed transparently to operating system and optimized for generic cases. This means that it nay be useful to apply another optimization to the standard I/O environment in CGI gateway. In this paper, we introduced standard output method and file output method as the two output optimization areas for CGI gateways written in C language in the UNIX/LINUX systems, and applied the proposed methods of each area to Debian LINUX, IBM AIX, SUN Solaris, Digital UNIX respectively. Then we analyzed the effect of them focused on execution time. The results were different from operating system to operating system. Compared to normal situation, the best case of standard output area showed about $10{\%}$ improvement and the worst case showed $60{\%}$ degradation in file output area where some performance improvements were expected.
Keywords
CGI Gateway; Standard Output Buffer Discipline; Domain of Standard Output Buffer; File Output Buffer;
Citations & Related Records
Times Cited By KSCI : 3  (Citation Analysis)
연도 인용수 순위
1 World Wide Web Consortium, 'HTTP-Hypertext Transfer Protocol', http://www.w3.org/protocols/
2 이기용, 곽태영, 서정현, 김명호, '대규모 온라인 검색요구를 효율적으로 처리하기 위한 KRISTAL-II 웹 게이트웨이의 설계 및 구현', 정보처리학회논문지 : 컴퓨팅의 실제, 제6권 제5호, pp.496-504, 2000   과학기술학회마을
3 이형봉, '유닉스 시스템에서 효율적인 CGI 게이트웨이', 정보과학회논문지 : 컴퓨팅의 실제, 제10권 제1호, pp.55-74, 2004   과학기술학회마을
4 W. Richard Stevens, 'Advanced Programming in the UNIX Environment', pp.132-133, Addison Wesley, 1992
5 Digital UNIX, 'Reference Pages Section 3: Routines Volume 3', p.1-499-1-502, Digital Press, 1996
6 Uresh Vahalla, 'UNIX Internals-the new frontiers', pp.437-471, Prentice Hall, 1996
7 Yiming Hu, Ashwini Nanda and Qing Yang, 'Measurement, Analysis and Performance Improvement of the Apache Web Server', Proceedings of the 18th IEEE International Performance, Computing and Communication Conference, Phoenix/Scottsdale, Arizona, Feb., 1999   DOI
8 정진국, 낭종호, 박성용, '다중 처리기 기반 웹 서버 구조의 실험적 분석', 정보과학회논문지 : 정보통신, 제28권 제1호, pp.22-36, 2001   과학기술학회마을
9 Philippe Joubert, Robert B. King, Rich Neves, Mark Russinovich, John M. Tracey, 'High-Performance Memory-Based Web Servers: Kernel and User-space Performance', Proceedings of the USENIX Annual Technical Conference, Boston, MA, Jun, 2001
10 Vivek S. Pai, Peter Druschel and Willy Zwaenepoel, 'I/O Lite: A copy-free UNIX I/O system', 3rd UNENIX Symposium on Operating Systems Design and Implementation, New Orlenas, LA, Feb., 1999
11 Eric Nahum, TsipoSra Barzilai, Dilip Kandlur, 'Performance Issues in WWW Servers', IEEE/ACM Transactions on Networking, 10(2):2-11, Feb., 2002   DOI   ScienceOn
12 Open Market, 'FastCGI', http://www.fastcgi.com
13 Arun Iyengar, Eric Nahum, Anees Shaikh, Renu Tewari, 'Enhancing Web Performance', IPIP World Computer Congress, Montreal, Canada, Aug., 2002
14 김수정, 백승구, 김종근, '웹 정보시스템의 서비스 성능향상을위한 부하균형 모델 제안', 정보처리논문지, 제6권 제11호, pp.3179-3189, 1999
15 Arun Iyengar, Jim Challenger, Daniel Dias, Paul Dantzig, 'High-Performance Web Site Design Techniques', IEEE Internet Computing, 4(2), Mar./Apr., 2000   DOI   ScienceOn
16 김성수, 정지영, '웹 서버 클러스터를 위한 효율적인 부하 분배 알고리즘', 정보과학회논문지 : 정보통신, 제28권 제4호, pp.550-558, 2001   과학기술학회마을
17 James C. Hu, Sumedh Mungee, Douglas C. Schmidt, 'Techniques for Developing and Measuring High Performance Web servers over High Speed Networks', Proceedings of the 2nd Global Internet Conference, Phoenix, AZ, Nov., 1997
18 Robert Orfali, Dan Harkey, Jeri Edwards, 'The Essential Client/Server Survival Guide', 2nd Ed., WILEY, p. 7-22, 1996
19 World Wide Web Consortium, 'CGI : Common Gateway Interface', http://www.w3.org/hypertext/wwwCGI
20 H. Braun and K. Claffy, 'Web Traffic Characterization : An Assessment of the Impact of Caching Documents from NCSA's Web Server', Electronic Proceedings of the Second World Wide Web Conference '94 : Mosaic and the Web, Chicago, Ilinois, Oct., 1994
21 A. Bestavros, R. Carter, M. Crovella, C. Cunha, A. Heddaya and S. Mirdad, 'Application-Level Document Caching in the Internet', Proceedings of the Second International Workshop on Services in Distributed and Networked Environments(SDNE'95), Whistler, BC, Canada, pp.166-173, Jun, 1995   DOI