著者
亀澤 寛之 野村 真義 平木 敬
出版者
一般社団法人情報処理学会
雑誌
情報処理学会研究報告システムソフトウェアとオペレーティング・システム(OS) (ISSN:09196072)
巻号頁・発行日
vol.2003, no.80, pp.25-32, 2003-08-04

ネット上でサービスを行うサーバプログラム、特にウェブサーバの性能に関する研究はこれまで多くなされてきた。しかし、家庭内へのネットワークの普及、複雑化するサービス、サービスの種類増大に伴うファイルサイズの増大を考慮すると、サーバの性能向上は未だ重要課題である。コンピュータやネットワークスイッチの価格性能比の向上もあり、近年のサーバ/OSに関する研究は、OS の改善等よりサーバの性能向上を行うより、クラスタ化やハードウェアの性能をあげる事による性能改善を行う議論が多くなされてきた。しかし、サーバプログラムの性能を議論する上では、単一マシン上での実験によるパラメータの計測も不可欠である。本稿では、独自に開発した実験用OS(Orbと呼称)上で、様々なパラメータとシングルスレッドウェブサーバ、thttpd の性能測定を行う。Orb は キメラ的なOSであり、オリジナルなコードを多く含むが、他のOSから流用したコードも含んでおり、Linux2.4 のほとんどインタフェイスに加えて、BSD でサポートされるkqeueue を実装している。thttpd(www.acme.com)は single thread で poll/kqueue mmap と 非同期socket を用いた高速webサーバである。計測結果では、cpu が networkに追いつく場合には個々の要素のオーバヘッド改善よりもスケジュールが問題になる事示す。There are many studies for performance improvement of Internet Servers, especially web servers.Current trend of increasing home internet users, more and more complicated service,large file size with variety of services, show improvementing web server performance is still impotrant problem. With decreasing cost of computers and network switch, recent studies for server/OS are about performance of clustering, hardware enhancement,performance with security,instead of perfomance improvement with new OS interface.However for considering server application program, it is important that performance measurements on single machine. In this paper,we present performance measurement of thttpd\cite{ACME}, on Opereating System ``Orb'' which we developped.Orb is a kimera OS,has original code and imported code from Linux and BSD,and support Linux2.4 interface + BSD's kqueue.thttpd is a very fast web server developped by ACME Laboratory.That is designed as single-threaded web server,using poll/kqueue,mmap,non-blockin socket.From our experiments, when cpu overcomes network,scheduling is more important than each working cost degration techniques.