[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 26/35] tests: add atomic_add-bench
From: |
Emilio G. Cota |
Subject: |
Re: [Qemu-devel] [PATCH v4 26/35] tests: add atomic_add-bench |
Date: |
Fri, 16 Sep 2016 19:54:21 -0400 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Fri, Sep 16, 2016 at 10:46:48 -0700, Richard Henderson wrote:
> From: "Emilio G. Cota" <address@hidden>
>
> With this microbenchmark we can measure the overhead of emulating atomic
> instructions with a configurable degree of contention.
>
> The benchmark spawns $n threads, each performing $o atomic ops (additions)
> in a loop. Each atomic operation is performed on a different cache line
> (assuming lines are 64b long) that is randomly selected from a range [0, $r).
>
> [ Note: each $foo corresponds to a -foo flag ]
Hi Richard,
As I mentioned yesterday I have an updated version of this
patch: http://lists.gnu.org/archive/html/qemu-devel/2016-09/msg03450.html
[ The major change is to run for a certain number of seconds, instead
of a fixed number of operations. ]
I'll send the full updated patch as a reply to this message to make
it easier to pick up.
Thanks,
Emilio
- [Qemu-devel] [PATCH v4 16/35] tcg: Emit barriers with parallel_cpus, (continued)
- [Qemu-devel] [PATCH v4 16/35] tcg: Emit barriers with parallel_cpus, Richard Henderson, 2016/09/16
- [Qemu-devel] [PATCH v4 11/35] cputlb: Move most of iotlb code out of line, Richard Henderson, 2016/09/16
- [Qemu-devel] [PATCH v4 17/35] target-i386: emulate LOCK'ed cmpxchg using cmpxchg helpers, Richard Henderson, 2016/09/16
- [Qemu-devel] [PATCH v4 19/35] target-i386: emulate LOCK'ed INC using atomic helper, Richard Henderson, 2016/09/16
- [Qemu-devel] [PATCH v4 15/35] tcg: Add CONFIG_ATOMIC64, Richard Henderson, 2016/09/16
- [Qemu-devel] [PATCH v4 14/35] tcg: Add atomic128 helpers, Richard Henderson, 2016/09/16
- [Qemu-devel] [PATCH v4 24/35] target-i386: emulate XCHG using atomic helper, Richard Henderson, 2016/09/16
- [Qemu-devel] [PATCH v4 23/35] target-i386: emulate LOCK'ed BTX ops using atomic helpers, Richard Henderson, 2016/09/16
- [Qemu-devel] [PATCH v4 25/35] target-i386: remove helper_lock(), Richard Henderson, 2016/09/16
- [Qemu-devel] [PATCH v4 26/35] tests: add atomic_add-bench, Richard Henderson, 2016/09/16
- Re: [Qemu-devel] [PATCH v4 26/35] tests: add atomic_add-bench,
Emilio G. Cota <=
- [Qemu-devel] [PATCH v4 13/35] tcg: Add atomic helpers, Richard Henderson, 2016/09/16
- [Qemu-devel] [PATCH v4 18/35] target-i386: emulate LOCK'ed OP instructions using atomic helpers, Richard Henderson, 2016/09/16
- [Qemu-devel] [PATCH v4 20/35] target-i386: emulate LOCK'ed NOT using atomic helper, Richard Henderson, 2016/09/16
- [Qemu-devel] [PATCH v4 21/35] target-i386: emulate LOCK'ed NEG using cmpxchg helper, Richard Henderson, 2016/09/16
- [Qemu-devel] [PATCH v4 22/35] target-i386: emulate LOCK'ed XADD using atomic helper, Richard Henderson, 2016/09/16
- [Qemu-devel] [PATCH v4 31/35] linux-user: remove handling of ARM's EXCP_STREX, Richard Henderson, 2016/09/16
- [Qemu-devel] [PATCH v4 28/35] target-arm: emulate LL/SC using cmpxchg helpers, Richard Henderson, 2016/09/16
- [Qemu-devel] [PATCH v4 29/35] target-arm: emulate SWP with atomic_xchg helper, Richard Henderson, 2016/09/16