You need to sign in or sign up before continuing.
  1. 09 5月, 2011 20 次提交
  2. 08 5月, 2011 8 次提交
  3. 07 5月, 2011 3 次提交
  4. 06 5月, 2011 2 次提交
    • A
      net: Add sendmmsg socket system call · 228e548e
      Anton Blanchard 提交于
      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: NAnton Blanchard <anton@samba.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      228e548e
    • J
      net: call dev_alloc_name from register_netdevice · 1c5cae81
      Jiri Pirko 提交于
      Force dev_alloc_name() to be called from register_netdevice() by
      dev_get_valid_name(). That allows to remove multiple explicit
      dev_alloc_name() calls.
      
      The possibility to call dev_alloc_name in advance remains.
      
      This also fixes veth creation regresion caused by
      84c49d8cSigned-off-by: NJiri Pirko <jpirko@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1c5cae81
  5. 05 5月, 2011 7 次提交