From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0pPK-00066a-Cs for qemu-devel@nongnu.org; Fri, 05 Jun 2015 07:03:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0pPJ-0002fI-A2 for qemu-devel@nongnu.org; Fri, 05 Jun 2015 07:03:26 -0400 Received: from mail-oi0-x230.google.com ([2607:f8b0:4003:c06::230]:34836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0pPJ-0002ca-4n for qemu-devel@nongnu.org; Fri, 05 Jun 2015 07:03:25 -0400 Received: by oihd6 with SMTP id d6so50884733oih.2 for ; Fri, 05 Jun 2015 04:03:24 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 5 Jun 2015 16:33:23 +0530 Message-ID: From: Sai Prajeeth Content-Type: multipart/alternative; boundary=001a1141c9b0a6d95b0517c33d28 Subject: [Qemu-devel] OpenBSD sched_yield() calls increase List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers --001a1141c9b0a6d95b0517c33d28 Content-Type: text/plain; charset=UTF-8 Hi list, When running OpenBSD on QEMU without KVM, I see an increase in the number of sched_yield() system calls in certain multi-threaded benchmarks (sysbench). However while using KVM accelerator, the number of this system calls is minimal. Does any have any insight why this is happening? The execution of the benchmark is really slowed when not using KVM which is to be expected but why is there such as massive increase in sched_yield system calls? Moreover when using icount the number of sched_yield calls is further increased. Some Number: With KVM accelerator - #of sched_yields = 500 Using TCG - #of sched_yields = 2600 Using icount - #of sched_yields = 16000 Anyone has an idea why this might be happening? Thank you! --001a1141c9b0a6d95b0517c33d28 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi list,

When running OpenBSD on QEMU w= ithout KVM, I see an increase in the number of sched_yield() system calls i= n certain multi-threaded benchmarks (sysbench). However while using KVM acc= elerator, the number of this system calls is minimal. Does any have any ins= ight why this is happening? The execution of the benchmark is really slowed= when not using KVM which is to be expected but why is there such as massiv= e increase in sched_yield system calls? Moreover when using icount the numb= er of sched_yield calls is further increased.

Some= Number:

With KVM accelerator - #of sched_yields = =3D 500
Using TCG - #of sched_yields =3D 2600
Using ico= unt - #of sched_yields =3D 16000

Anyone has an ide= a why this might be happening?

Thank you!
=C2=A0=C2=A0
--001a1141c9b0a6d95b0517c33d28--