From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=38925 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1FDE-0004jp-GU for qemu-devel@nongnu.org; Thu, 30 Sep 2010 05:14:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P1FDC-0006Hj-Uy for qemu-devel@nongnu.org; Thu, 30 Sep 2010 05:14:00 -0400 Received: from mail-px0-f173.google.com ([209.85.212.173]:33096) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1FDC-0006HV-OX for qemu-devel@nongnu.org; Thu, 30 Sep 2010 05:13:58 -0400 Received: by pxi12 with SMTP id 12so529971pxi.4 for ; Thu, 30 Sep 2010 02:13:57 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4CA3DEC7.5070609@linux.vnet.ibm.com> References: <4CA3DEC7.5070609@linux.vnet.ibm.com> Date: Thu, 30 Sep 2010 10:13:56 +0100 Message-ID: Subject: Re: [Qemu-devel] QEMU throughput is down with SMP From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Venkateswararao Jujjuri (JV)" Cc: Qemu-development List On Thu, Sep 30, 2010 at 1:50 AM, Venkateswararao Jujjuri (JV) wrote: > Code: Mainline QEMU (git://git.qemu.org/qemu.git) > Machine: LS21 blade. > Disk: Local disk through VirtIO. > Did not select any cache option. Defaulting to writethrough. > > Command tested: > 3 parallel instances of : dd if=3D/dev/zero of=3D/pmnt/my_pw bs=3D4k coun= t=3D100000 > > QEMU with =A0smp=3D1 > 19.3 MB/s + 19.2 MB/s + 18.6 MB/s =3D 57.1 MB/s > > QEMU with smp=3D4 > 15.3 MB/s + 14.1 MB/s + 13.6 MB/s =3D 43.0 MB/s > > Is this expected? Did you configure with --enable-io-thread? Also, try using dd oflag=3Ddirect to eliminate effects introduced by the guest page cache and really hit the disk. Stefan