All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin KaFai Lau <kafai@fb.com>
To: <netdev@vger.kernel.org>
Cc: Alexei Starovoitov <ast@fb.com>,
	Daniel Borkmann <daniel@iogearbox.net>, <kernel-team@fb.com>
Subject: [PATCH net-next 0/3] bpf: Improve LRU map lookup performance
Date: Thu, 31 Aug 2017 23:27:10 -0700	[thread overview]
Message-ID: <20170901062713.1842249-1-kafai@fb.com> (raw)

This patchset improves the lookup performance of the LRU map.
Please see individual patch for details.

Martin KaFai Lau (3):
  bpf: Add lru_hash_lookup performance test
  bpf: Inline LRU map lookup
  bpf: Only set node->ref = 1 if it has not been set

 kernel/bpf/bpf_lru_list.h        |  3 +-
 kernel/bpf/hashtab.c             | 24 +++++++++++++
 samples/bpf/map_perf_test_kern.c | 44 +++++++++++++++++++----
 samples/bpf/map_perf_test_user.c | 77 ++++++++++++++++++++++++++++++++++++++--
 4 files changed, 138 insertions(+), 10 deletions(-)

-- 
2.9.5

             reply	other threads:[~2017-09-01  6:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-01  6:27 Martin KaFai Lau [this message]
2017-09-01  6:27 ` [PATCH net-next 1/3] bpf: Add lru_hash_lookup performance test Martin KaFai Lau
2017-09-01  9:12   ` Daniel Borkmann
2017-09-01 14:22   ` Alexei Starovoitov
2017-09-01  6:27 ` [PATCH net-next 2/3] bpf: Inline LRU map lookup Martin KaFai Lau
2017-09-01  9:18   ` Daniel Borkmann
2017-09-01 14:22   ` Alexei Starovoitov
2017-09-01  6:27 ` [PATCH net-next 3/3] bpf: Only set node->ref = 1 if it has not been set Martin KaFai Lau
2017-09-01  9:28   ` Daniel Borkmann
2017-09-01 14:22   ` Alexei Starovoitov
2017-09-01 16:57 ` [PATCH net-next 0/3] bpf: Improve LRU map lookup performance David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170901062713.1842249-1-kafai@fb.com \
    --to=kafai@fb.com \
    --cc=ast@fb.com \
    --cc=daniel@iogearbox.net \
    --cc=kernel-team@fb.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.