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]
Message-Id: <1259073555-7312-1-git-send-email-mitake@dcl.info.waseda.ac.jp>
Date:	Tue, 24 Nov 2009 23:39:12 +0900
From:	Hitoshi Mitake <mitake@....info.waseda.ac.jp>
To:	Ingo Molnar <mingo@...e.hu>
Cc:	linux-kernel@...r.kernel.org,
	Hitoshi Mitake <mitake@....info.waseda.ac.jp>
Subject: [PATCH 0/3] perf bench: Add new benchmark for futex subsystem

Hi folks, sorry for my very slow response...

I found that Darren's futextest contains Michel's test program now.
So I added it to 'perf bench' as sample.
If you like this style, I'd like to add rest part of futextest.

Example of use:
| % ./perf bench futex wait -t 48 -l 100000000
| # Running futex/wait benchmark...
| # Running 48 threads
| # Total number of iteration: 100000000
|    16233.763636 Kiter/sec
|        6.100000 user sec
|        0.000000 system sec
|        6.160000 wall sec
|        0.990260 cores
| % perf bench --format=simple futex wait
| 16207.455429

This patch series contains two typedefs (and one volatile).
I know typedef and volatile is not a thing to welcome.
But I judged these are not problematic things,
could you review this?

Hitoshi Mitake (3):
  perf bench: Add wrappers for atomic operation of GCC
  perf bench: Add new files for futex performance test
  perf bench: Fix misc files to build files related to futex

 tools/perf/Makefile                  |    1 +
 tools/perf/bench/bench.h             |    3 +-
 tools/perf/bench/futex-wait.c        |  218 ++++++++++++++++++++++++++
 tools/perf/bench/futextest.h         |  280 ++++++++++++++++++++++++++++++++++
 tools/perf/builtin-bench.c           |   16 ++-
 tools/perf/util/include/asm/atomic.h |   91 +++++++++++
 6 files changed, 606 insertions(+), 3 deletions(-)
 create mode 100644 tools/perf/bench/futex-wait.c
 create mode 100644 tools/perf/bench/futextest.h
 create mode 100644 tools/perf/util/include/asm/atomic.h

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ