qemu-devel
[Top][All Lists]
Advanced

[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: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH v4 26/35] tests: add atomic_add-bench
Date: Fri, 16 Sep 2016 18:01:12 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

On 09/16/2016 04:54 PM, Emilio G. Cota wrote:
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, applied.


r~




reply via email to

[Prev in Thread] Current Thread [Next in Thread]