Re: [Qemu-devel] [PATCH v6 26/35] tests: add atomic_add-bench

2016-10-16 Thread Richard Henderson
On 10/14/2016 02:19 PM, Emilio G. Cota wrote: On Tue, Oct 11, 2016 at 14:40:52 -0500, Richard Henderson wrote: > From: "Emilio G. Cota" > > With this microbenchmark we can measure the overhead of emulating atomic > instructions with a configurable degree of contention. > > The benchmark spawns

Re: [Qemu-devel] [PATCH v6 26/35] tests: add atomic_add-bench

2016-10-14 Thread Emilio G. Cota
On Tue, Oct 11, 2016 at 14:40:52 -0500, Richard Henderson wrote: > From: "Emilio G. Cota" > > 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 (addi

[Qemu-devel] [PATCH v6 26/35] tests: add atomic_add-bench

2016-10-11 Thread Richard Henderson
From: "Emilio G. Cota" 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 lin