Files
linux/arch/powerpc/include/asm
Anton Blanchard 228e548e60 net: Add sendmmsg socket system call
This patch adds a multiple message send syscall and is the send
version of the existing recvmmsg syscall. This is heavily
based on the patch by Arnaldo that added recvmmsg.

I wrote a microbenchmark to test the performance gains of using
this new syscall:

http://ozlabs.org/~anton/junkcode/sendmmsg_test.c

The test was run on a ppc64 box with a 10 Gbit network card. The
benchmark can send both UDP and RAW ethernet packets.

64B UDP

batch   pkts/sec
1       804570
2       872800 (+ 8 %)
4       916556 (+14 %)
8       939712 (+17 %)
16      952688 (+18 %)
32      956448 (+19 %)
64      964800 (+20 %)

64B raw socket

batch   pkts/sec
1       1201449
2       1350028 (+12 %)
4       1461416 (+22 %)
8       1513080 (+26 %)
16      1541216 (+28 %)
32      1553440 (+29 %)
64      1557888 (+30 %)

We see a 20% improvement in throughput on UDP send and 30%
on raw socket send.

[ Add sparc syscall entries. -DaveM ]

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-05-05 11:10:14 -07:00
..
2010-08-04 10:26:03 +10:00
…
2011-03-31 11:26:23 -03:00
…
…
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
…
…
…
…
…
…
…
…
…
…
2010-11-29 15:48:22 +11:00
…
…
…
2009-12-10 20:08:15 -06:00
…
2010-10-26 16:52:08 -07:00
2011-03-31 11:26:23 -03:00
2011-03-02 16:50:24 +11:00
…
…
…
…
…
…
…
2010-08-14 22:26:51 +02:00
…
2011-03-31 11:26:23 -03:00
2010-05-17 12:18:23 +03:00
2010-05-17 12:18:21 +03:00
2010-03-01 12:36:06 -03:00
…
2010-06-09 11:12:36 +02:00
2011-03-31 11:26:23 -03:00
…
2010-05-05 09:11:10 -04:00
2010-11-29 15:48:21 +11:00
…
…
…
…
…
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-03-05 03:04:08 -06:00
2010-10-26 16:52:08 -07:00
2010-10-26 16:52:08 -07:00
2011-03-02 16:50:24 +11:00
2011-03-31 11:26:23 -03:00
…
…
…
2009-04-07 15:18:58 +10:00
…
2009-12-09 17:10:37 +11:00
2011-03-31 11:26:23 -03:00
…
2011-03-31 11:26:23 -03:00
2010-03-05 03:04:08 -06:00
…
…
…
…
…
…
…
…
2010-06-28 12:41:33 -07:00
…
…
2011-03-31 11:26:23 -03:00
…
…
…
…
2009-04-01 08:59:16 -07:00
2009-08-28 14:24:10 +10:00
2011-05-05 11:10:14 -07:00
…
…
…
2011-03-23 19:47:18 -07:00
…
…
…
2011-03-31 11:26:23 -03:00
2011-05-05 11:10:14 -07:00
…
2011-03-31 11:26:23 -03:00
…
…
…
…