Show simple item record

dc.contributor.authorChanda, Anupam
Cox, Alan L.
Elmeleegy, Khaled
Gil, Romer
Mittal, Sumit
Zwaenepoel, Willy
dc.date.accessioned 2017-08-02T22:03:02Z
dc.date.available 2017-08-02T22:03:02Z
dc.date.issued 2004-09-13
dc.identifier.urihttps://hdl.handle.net/1911/96331
dc.description.abstract We investigate high-performance threading architectures for I/O intensive multi-threaded servers. We study thread architectures from two angles: (1) number of user threads per kernel thread, and (2) use of synchronous I/O vs. asynchronous I/O. We underline the shortcomings of 1-to-1threads with synchronous I/O, N-to-1 threads with asynchronous I/O, and N-to-M threads with synchronous I/O with respect to server performance We propose N-to-M threads with asynchronous I/O, a novel and previously unexplored thread model, for such servers. We explain the architectural benefits of this thread model over the above mentioned architectures. We have designed and implemented ServLib, a thread library, modeled in this architecture. We optimize ServLib to reduce context switches for large I/O transfers. ServLib exports standard POSIX threads (pthreads) API and can be slipped transparently beneath any multi-threaded application using such API. We have evaluated ServLib with two applications, the Apache multi-threaded web server, and the MySQL multi-threaded database server. Our results show that for synthetic and real workloads Apache with ServLib registers a performance improvement of 10-25%over Apache with 1-to-1 thread and N-to-1 thread libraries. For TPC-W workload, ServLib improves the performance of MySQL by 10-17% over 1-to-1 and N-to-1thread libraries.
dc.format.extent 10 pp
dc.language.iso eng
dc.rights You are granted permission for the noncommercial reproduction, distribution, display, and performance of this technical report in any format, but this permission is only for a period of forty-five (45) days from the most recent time that you verified that this technical report is still available from the Computer Science Department of Rice University under terms that include this permission. All other rights are reserved by the author(s).
dc.title An Efficient Threading Model to Boost Server Performance
dc.type Technical report
dc.date.note September 13, 2004
dc.identifier.digital TR04-440
dc.type.dcmi Text
dc.identifier.citation Chanda, Anupam, Cox, Alan L., Elmeleegy, Khaled, et al.. "An Efficient Threading Model to Boost Server Performance." (2004) https://hdl.handle.net/1911/96331.


Files in this item

Thumbnail

This item appears in the following Collection(s)

Show simple item record