From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SekaJ-0000nK-SF for qemu-devel@nongnu.org; Wed, 13 Jun 2012 06:14:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SekaI-0005VR-8a for qemu-devel@nongnu.org; Wed, 13 Jun 2012 06:13:55 -0400 Received: from e28smtp08.in.ibm.com ([122.248.162.8]:32826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SekaH-0005U1-Jd for qemu-devel@nongnu.org; Wed, 13 Jun 2012 06:13:54 -0400 Received: from /spool/local by e28smtp08.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 13 Jun 2012 15:43:44 +0530 Received: from d28av03.in.ibm.com (d28av03.in.ibm.com [9.184.220.65]) by d28relay03.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q5DADLMA14680502 for ; Wed, 13 Jun 2012 15:43:22 +0530 Received: from d28av03.in.ibm.com (loopback [127.0.0.1]) by d28av03.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q5DFgbh4027903 for ; Thu, 14 Jun 2012 01:42:38 +1000 Message-ID: <1339582392.24309.15.camel@mengcong> From: mengcong Date: Wed, 13 Jun 2012 18:13:12 +0800 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Subject: [Qemu-devel] IO performance test on the tcm-vhost scsi Reply-To: mc@linux.vnet.ibm.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, target-devel@vger.kernel.org Cc: stefanha@linux.vnet.ibm.com, linuxram@us.ibm.com, "Nicholas A. Bellinger" , meng cong , Anthony Liguori , Paolo Bonzini Hi folks, I did an IO performance test on the tcm-vhost scsi. I want to share the test result data here. seq-read seq-write rand-read rand-write 8k 256k 8k 256k 8k 256k 8k 256k ---------------------------------------------------------------------------- bare-metal 67951 69802 67064 67075 1758 29284 1969 26360 tcm-vhost-iblock 61501 66575 51775 67872 1011 22533 1851 28216 tcm-vhost-pscsi 66479 68191 50873 67547 1008 22523 1818 28304 virtio-blk 26284 66737 23373 65735 1724 28962 1805 27774 scsi-disk 36013 60289 46222 62527 1663 12992 1804 27670 unit: KB/s seq-read/write = sequential read/write rand-read/write = random read/write 8k,256k are blocksize of the IO In tcm-vhost-iblock test, the emulate_write_cache attr was enabled. In virtio-blk test, cache=none,aio=native were set. In scsi-disk test, cache=none,aio=native were set, and LSI HBA was used. I also tried to do the test with a scsi-generic LUN (pass through the physical partition /dev/sgX device). But I couldn't setup it successfully. It's a pity. Benchmark tool: fio, with ioengine=aio,direct=1,iodepth=8 set for all tests. kvm vm: 2 cpus and 2G ram thanks. Meng Cong.