sendmmsg: uma chamada de sistema eficiente para envio de múltiplas mensagens no Linux

  • Breno Leitão UNICAMP
  • Islene Garcia UNICAMP

Resumo


Este artigo descreve as limitações da chamada de sistema sendmsg responsável por enviar mensagens de rede no sistema operacional Linux. É mostrado que tal chamada não possui um ótimo desempenho quando se necessita enviar vários pacotes em lote, contendo dados similares, para vários destinatários remotos -- caso comum em servidores de IPTV. Para tanto, é implementada uma nova função, sendmmsg, parecida com a original, porém, mais eficiente, apenas com o acréscimo de um parâmetro

Referências

Araki S. Bilas A. Dubnicki C. Edler J. Konishi K. and Philbin J. (1998). User-space communication: a quantitative study. In Proceedings of the 1998 ACM/IEEE conference on Supercomputing (CDROM) Supercomputing '98 pages 1-16 Washington DC USA. IEEE Computer Society.

Blanchard A. (2011). net: Add sendmmsg socket system call. http://lwn.net/Articles/441169/ (Acessado em 29/09/2011).

Franco L. Sahama T. and Croll P. (2008). Security enhanced linux to enforce mandatory access control in health information systems. In Proceedings of the second Australasian workshop on Health data and knowledge management - Volume 80 HDKM '08 pages 27-33 Darlinghurst Australia Australia. Australian Computer Society Inc.

Lahav E. Karsten M. Brecht T. Wang W. and Zhao T. (2008). Group unicast for the real world. In Proceedings of the 18th International Workshop on Network and Operating Systems Support for Digital Audio and Video NOSSDAV '08 pages 27-32 New York NY USA. ACM.

Leitao B. (2011). Breno's repository. https://github.com/leitao/Mestrado (Acessado em 29/09/2011).

Levine B. N. and Garcia-Luna-Aceves J. J. (1997). Improving internet multicast with routing labels. In Proceedings of the 1997 International Conference on Network Protocols (ICNP '97) ICNP '97 pages 241- Washington DC USA. IEEE Computer Society.

Mukherjee B. and Brecht T. (2000). Time-lined tcp for the tcp-friendly delivery of streaming media. In Proceedings of the 2000 International Conference on Network Protocols ICNP '00 pages 165- Washington DC USA. IEEE Computer Society.

Ramírez T. Pajuelo A. Santana O. J. and Valero M. (2006). Kilo-instruction processors runahead and prefetching. In Proceedings of the 3rd conference on Computing frontiers CF '06 pages 269-278 New York NY USA. ACM. (Pubitemid 46644692)

Silverston T. Fourmaux O. Botta A. Dainotti A. Pescapé A. Ventre G. and Salamatian K. (2009). Traffic analysis of peer-to-peer iptv communities. Comput. Netw. 53:470-484.

Uhsadel L. Georges A. and Verbauwhede I. (2008). Exploiting hardware performance counters. In Proceedings of the 2008 5th Workshop on Fault Diagnosis and Tolerance in Cryptography pages 59-67 Washington DC USA. IEEE Computer Society.

Vlaovic S. and Davidson E. S. (2002). Boosting trace cache performance with nonhead miss speculation. In Proceedings of the 16th international conference on Supercomputing ICS '02 pages 179-188 New York NY USA. ACM. (Pubitemid 35039997)
Publicado
07/11/2011
Como Citar

Selecione um Formato
LEITÃO, Breno; GARCIA, Islene. sendmmsg: uma chamada de sistema eficiente para envio de múltiplas mensagens no Linux. In: SIMPÓSIO BRASILEIRO DE ENGENHARIA DE SISTEMAS COMPUTACIONAIS (SBESC), 1. , 2011, Florianópolis. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2011 . p. 170-175. ISSN 2237-5430.