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-next>] [day] [month] [year] [list]
Message-Id: <20190103150030.17030-1-rpenyaev@suse.de>
Date:   Thu,  3 Jan 2019 16:00:28 +0100
From:   Roman Penyaev <rpenyaev@...e.de>
To:     unlisted-recipients:; (no To-header on input)
Cc:     Roman Penyaev <rpenyaev@...e.de>,
        Arnaldo Carvalho de Melo <acme@...hat.com>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Davidlohr Bueso <dbueso@...e.de>,
        Jason Baron <jbaron@...mai.com>, linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] perf bench: Add epoll-wait-mp1c benchmark calling epoll_wait(2)

The intention of a new benchmark is to measure events delivery
bandwidth: N threads produce events and 1 thread consumes events
calling epoll_wait(2).

Benchmark does measurements for 8, 16, 32, 64 and 128 threads in
a loop.

This one differs from epoll-wait in that it produces events from
many threads and consumes from one, thus mp1c (many producers
1 consumer).

Roman Penyaev (2):
  perf bench: rename epoll-wait bench to epoll-wait-1pmc
  perf bench: Add epoll-wait-mp1c benchmark calling epoll_wait(2)

 tools/perf/bench/Build                        |   3 +-
 tools/perf/bench/bench.h                      |   3 +-
 .../bench/{epoll-wait.c => epoll-wait-1pmc.c} |   6 +-
 tools/perf/bench/epoll-wait-mp1c.c            | 175 ++++++++++++++++++
 tools/perf/builtin-bench.c                    |   3 +-
 5 files changed, 186 insertions(+), 4 deletions(-)
 rename tools/perf/bench/{epoll-wait.c => epoll-wait-1pmc.c} (98%)
 create mode 100644 tools/perf/bench/epoll-wait-mp1c.c

Signed-off-by: Roman Penyaev <rpenyaev@...e.de>
Cc: Arnaldo Carvalho de Melo <acme@...hat.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Cc: Davidlohr Bueso <dbueso@...e.de>
Cc: Jason Baron <jbaron@...mai.com>
Cc: linux-kernel@...r.kernel.org
-- 
2.19.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ