Automatic Specialization of Protocol Stacks in OS kernels

Abstract : Fast and optimized protocol stacks play a major role in the performance of network services. This role is especially important in embedded class systems, where performance metrics such as data throughput tend to be limited by the CPU. It is common on such systems, to have protocol stacks that are optimized by hand for better performance and smaller code footprint. In this paper, we propose a strategy to automate this process. Our approach uses program specialization, and enables applications using the network to request specialized code based on the current usage scenario. The specialized code is generated dynamically and loaded in the kernel to be used by the application. We have successfully applied our approach to the TCP/IP implementation in the Linux kernel and used the optimized protocol stack in existing applications. These applications were minimally modied to request the specialization of code based on the current usage context, and to use the specialized code generated instead of its generic version. Specialization can be performed locally, or deferred to a remote specialization server using a novel mechanism [1]. Experiments conducted on three platforms show that the specialized code runs about 25% faster and its size reduces by up to 20 times. The throughput of the protocol stack improves by up to 21%.
Type de document :
Communication dans un congrès
Proceedings of the 29th Annual IEEE Conference on Local Computer Networks, Nov 2004, Tampa, Florida, United States. 2004
Liste complète des métadonnées

Littérature citée [18 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/inria-00475701
Contributeur : Sylvie Embolla <>
Soumis le : jeudi 22 avril 2010 - 16:35:20
Dernière modification le : jeudi 9 février 2017 - 15:50:13
Document(s) archivé(s) le : mardi 28 septembre 2010 - 12:08:06

Fichier

bhatia-consel-al-lcn04.pdf
Fichiers éditeurs autorisés sur une archive ouverte

Identifiants

  • HAL Id : inria-00475701, version 1

Collections

Citation

S. Bhatia, Charles Consel, A.-F. Le Meur, C. Pu. Automatic Specialization of Protocol Stacks in OS kernels. Proceedings of the 29th Annual IEEE Conference on Local Computer Networks, Nov 2004, Tampa, Florida, United States. 2004. 〈inria-00475701〉

Partager

Métriques

Consultations de
la notice

140

Téléchargements du document

113