[lkml]   [2009]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Implementation of the sendgroup() system call
> How much is non negligible in your case?
Please see the following link

for a graph showing the (amortised) cost of sending a single packet to a
group of 1000 recipients, using one of the three following methods:

1. A user-mode loop of sendmsg() calls
2. A kernel-mode loop of udp_sendmsg() calls
3. A single call to sendgroup()
The cost is measured in cycles and was determined using performance

In this benchmark, savings introduced by sendgroup() are primarily due
to the aviodence of multiple system calls, up to a packet size of about
1000 bytes. Obviously, proportions change for different group sizes
(though we were able to outperform method 1 with a group size as small
as 2).


 \ /
  Last update: 2009-05-05 02:27    [W:0.043 / U:51.420 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site