An Efficient Threading Model to Boost Server Performance

dc.contributor.authorChanda, Anupamen_US
dc.contributor.authorCox, Alan L.en_US
dc.contributor.authorElmeleegy, Khaleden_US
dc.contributor.authorGil, Romeren_US
dc.contributor.authorMittal, Sumiten_US
dc.contributor.authorZwaenepoel, Willyen_US
dc.date.accessioned2017-08-02T22:03:02Zen_US
dc.date.available2017-08-02T22:03:02Zen_US
dc.date.issued2004-09-13en_US
dc.date.noteSeptember 13, 2004en_US
dc.description.abstractWe 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.en_US
dc.format.extent10 ppen_US
dc.identifier.citationChanda, Anupam, Cox, Alan L., Elmeleegy, Khaled, et al.. "An Efficient Threading Model to Boost Server Performance." (2004) https://hdl.handle.net/1911/96331.en_US
dc.identifier.digitalTR04-440en_US
dc.identifier.urihttps://hdl.handle.net/1911/96331en_US
dc.language.isoengen_US
dc.rightsYou 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).en_US
dc.titleAn Efficient Threading Model to Boost Server Performanceen_US
dc.typeTechnical reporten_US
dc.type.dcmiTexten_US
Files
Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
TR04-440.pdf
Size:
190.27 KB
Format:
Adobe Portable Document Format