From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1uKy-0008Oi-1f for qemu-devel@nongnu.org; Mon, 08 Jun 2015 06:31:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z1uKq-0005PR-5l for qemu-devel@nongnu.org; Mon, 08 Jun 2015 06:31:23 -0400 Received: from mail-wi0-x231.google.com ([2a00:1450:400c:c05::231]:36061) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1uKp-0005Lz-Qt for qemu-devel@nongnu.org; Mon, 08 Jun 2015 06:31:16 -0400 Received: by wigg3 with SMTP id g3so47130522wig.1 for ; Mon, 08 Jun 2015 03:31:14 -0700 (PDT) MIME-Version: 1.0 Sender: vase@selfip.ru From: Vasiliy Tolstov Date: Mon, 8 Jun 2015 13:30:59 +0300 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: [Qemu-devel] poor virtio-scsi performance List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel , libvir-list@redhat.com Hi all! I suspected poor performance of virtio-scsi driver. I did a few tests: Host machine: linux 3.19.1, QEMU emulator version 2.3.0 Guest machine: linux 4.0.4 part of domain xml: /usr/bin/kvm
/dev/ram0 I got by running `modprobe brd rd_size=$((5*1024*1024))` on host machine. fio conf: [readtest] blocksize=4k filename=/dev/sdb (/dev/ram0 whe test from host machine) rw=randread direct=1 buffered=0 ioengine=libaio iodepth=32 results: from host: bw=1594.6MB/s, iops=408196, clat=76usec from guest: bw=398MB/s, iops=99720, clat=316usec Both host and guest system I boot with `scsi_mod.use_blk_mq=Y`. Why difference in 4 times?! -- Vasiliy Tolstov, e-mail: v.tolstov@selfip.ru