Minimizing cache misses in an event-driven network server: A case study of TUX

Sapan Bhatia 1 Charles Consel 1, 2 Julia Lawall 3
1 PHOENIX - Programming Language Technology For Communication Services
INRIA Futurs, Université Sciences et Technologies - Bordeaux 1, École Nationale Supérieure d'Électronique, Informatique et Radiocommunications de Bordeaux (ENSEIRB)
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%.
Type de document :
Communication dans un congrès
31st IEEE International Conference on Local Computer Networks, Nov 2006, Tampa, United States. 2006
Liste complète des métadonnées

https://hal.inria.fr/inria-00353573
Contributeur : Nicolas Loriant <>
Soumis le : jeudi 15 janvier 2009 - 16:57:51
Dernière modification le : mercredi 14 décembre 2016 - 01:07:08
Document(s) archivé(s) le : vendredi 12 octobre 2012 - 09:40:22

Fichier

LCN_1568991237.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : inria-00353573, version 1

Collections

Citation

Sapan Bhatia, Charles Consel, Julia Lawall. Minimizing cache misses in an event-driven network server: A case study of TUX. 31st IEEE International Conference on Local Computer Networks, Nov 2006, Tampa, United States. 2006. 〈inria-00353573〉

Partager

Métriques

Consultations de la notice

245

Téléchargements de fichiers

100