Re: [Qemu-devel] [PATCH 0/7] coroutine: optimizations

2014-11-30 Thread Ming Lei
On Mon, 01 Dec 2014 08:05:17 +0100 Peter Lieven wrote: > On 01.12.2014 06:55, Ming Lei wrote: > > On Fri, Nov 28, 2014 at 10:12 PM, Paolo Bonzini wrote: > >> As discussed in the other thread, this brings speedups from > >> dropping the coroutine mutex (which serializes multiple iothreads, > >> t

Re: [Qemu-devel] [PATCH 0/7] coroutine: optimizations

2014-11-30 Thread Peter Lieven
On 01.12.2014 06:55, Ming Lei wrote: On Fri, Nov 28, 2014 at 10:12 PM, Paolo Bonzini wrote: As discussed in the other thread, this brings speedups from dropping the coroutine mutex (which serializes multiple iothreads, too) and using ELF thread-local storage. The speedup in perf/cost is about

Re: [Qemu-devel] [PATCH 0/7] coroutine: optimizations

2014-11-30 Thread Ming Lei
On Fri, Nov 28, 2014 at 10:12 PM, Paolo Bonzini wrote: > As discussed in the other thread, this brings speedups from > dropping the coroutine mutex (which serializes multiple iothreads, > too) and using ELF thread-local storage. > > The speedup in perf/cost is about 30% (190->145). Windows port t

[Qemu-devel] [PATCH 0/7] coroutine: optimizations

2014-11-28 Thread Paolo Bonzini
As discussed in the other thread, this brings speedups from dropping the coroutine mutex (which serializes multiple iothreads, too) and using ELF thread-local storage. The speedup in perf/cost is about 30% (190->145). Windows port tested with tests/test-coroutine.exe under Wine. Paolo Paolo Bon