lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 02 Feb 2016 22:11:28 +0100
From:	Jesper Dangaard Brouer <brouer@...hat.com>
To:	netdev@...r.kernel.org
Cc:	Christoph Lameter <cl@...ux.com>, tom@...bertland.com,
	Alexander Duyck <alexander.duyck@...il.com>,
	alexei.starovoitov@...il.com,
	Jesper Dangaard Brouer <brouer@...hat.com>,
	ogerlitz@...lanox.com, gerlitz.or@...il.com
Subject: [net-next PATCH 00/11] net: mitigating kmem_cache slowpath and BoF
 discussion patches

This patchset is relevant for my NetDev 1.1 "Network Performance BoF" [1].

The first 4 patches, is a repost[2], for the first real use-case of
kmem_cache bulk alloc and free API.  They were adjusted slightly to
accomodate my last slab API changes.  They should be ready for
inclusion in net-next, as the needed MM tree are avail in net-next.

Patch 5 is also enabling the SKB bulk API for mlx5.

Thus, patches 1-5 should be ready for net-next.

After patch 5, the experimental patches begin, which is Prove-of-Concept
code for what we will be discussing during the Network Performance BoF [1]

[1] http://netdevconf.org/1.1/bof-network-performance-bof-jesper-dangaard-brouer.html
[2] http://thread.gmane.org/gmane.linux.network/384302/

---

Jesper Dangaard Brouer (11):
      net: bulk free infrastructure for NAPI context, use napi_consume_skb
      net: bulk free SKBs that were delay free'ed due to IRQ context
      ixgbe: bulk free SKBs during TX completion cleanup cycle
      net: bulk alloc and reuse of SKBs in NAPI context
      mlx5: use napi_*_skb APIs to get bulk alloc and free
      mlx5: RX bulking or bundling of packets before calling network stack
      net: introduce napi_alloc_skb_bulk() for more use-cases
      mlx5: hint the NAPI alloc skb API about the expected bulk size
      EXPERIMENT: dummy: bulk free
      net: API for RX handover of multiple SKBs to stack
      net: RPS bulk enqueue to backlog


 drivers/net/dummy.c                               |    3 
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c     |    6 -
 drivers/net/ethernet/mellanox/mlx5/core/en.h      |    5 -
 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c   |   24 ++-
 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c   |    4 -
 drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c |    4 -
 include/linux/netdevice.h                         |   13 ++
 include/linux/skbuff.h                            |   23 ++-
 net/core/dev.c                                    |  160 ++++++++++++++++++++-
 net/core/skbuff.c                                 |  122 +++++++++++++++-
 10 files changed, 327 insertions(+), 37 deletions(-)

--

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ