Title :
Minimizing Cache Misses in an Event-driven Network Server: A Case Study of TUX
Author :
Bhatia, Sapan ; Consel, Charles ; Lawall, Julia
Author_Institution :
Georgia Inst. of Technol., Atlanta, GA
Abstract :
We analyze the performance of CPU-bound network servers and demonstrate experimentally that the degradation in the performance of these servers under high-concurrency workloads is largely due to inefficient use of the hardware caches. We then describe an approach to speeding up event-driven network servers by optimizing their use of the L2 CPU cache in the context of the TUX Web server, known for its robustness to heavy load. Our approach is based on a novel cache-aware memory allocator and a specific scheduling strategy that together ensure that the total working data set of the server stays in the L2 cache. Experiments show that under high concurrency, our optimizations improve the throughput of TUX by up to 40% and the number of requests serviced at the time of failure by 21%
Keywords :
Internet; cache storage; file servers; storage allocation; CPU-bound network servers; L2 CPU cache; TUX Web server; cache-aware memory allocation; event-driven network server; scheduling strategy; Concurrent computing; Degradation; File servers; Hardware; Network servers; Performance analysis; Robustness; Telephony; Throughput; Web server;
Conference_Titel :
Local Computer Networks, Proceedings 2006 31st IEEE Conference on
Conference_Location :
Tampa, FL
Print_ISBN :
1-4244-0418-5
Electronic_ISBN :
0742-1303
DOI :
10.1109/LCN.2006.322069