Received: from eggs.gnu.org ([140.186.70.92]:44731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3NuG-0005f2-CX for qemu-devel@nongnu.org; Tue, 13 Sep 2011 03:59:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R3NuB-0007sR-Lt for qemu-devel@nongnu.org; Tue, 13 Sep 2011 03:59:48 -0400 Received: from mtagate7.uk.ibm.com ([194.196.100.167]:46048) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3NuB-0007sC-C5 for qemu-devel@nongnu.org; Tue, 13 Sep 2011 03:59:43 -0400 Received: from d06nrmr1806.portsmouth.uk.ibm.com (d06nrmr1806.portsmouth.uk.ibm.com [9.149.39.193]) by mtagate7.uk.ibm.com (8.13.1/8.13.1) with ESMTP id p8D7xfw8013213 for ; Tue, 13 Sep 2011 07:59:41 GMT Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1806.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p8D7xfXI2650194 for ; Tue, 13 Sep 2011 08:59:41 +0100 Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p8D7xegW000943 for ; Tue, 13 Sep 2011 01:59:41 -0600 Date: Tue, 13 Sep 2011 08:14:19 +0100 From: Stefan Hajnoczi Message-ID: <20110913071419.GA14528@stefanha-thinkpad.localdomain> References: <20110909094436.GB23929@f15.cn.ibm.com> <20110909103801.GA26148@stefanha-thinkpad.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] Why qemu write/rw speed is so low? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Zhi Yong Wu Cc: kwolf@redhat.com, Zhi Yong Wu , aliguro@us.ibm.com, qemu-devel@nongnu.org, ryanh@us.ibm.com On Tue, Sep 13, 2011 at 10:52:44AM +0800, Zhi Yong Wu wrote: > This is real log when fio issued with bs=128K and bps=1000000(block > I/O throttling): I would use 1024 * 1024 instead of 1000000 as the throughput limit. 10^5 is not a multiple of 512 bytes and is not a nice value in KB/s (976.5625). > > 8,2 0 1 0.000000000 24332 A WS 79958528 + 256 <- > (253,2) 71830016 256 blocks = 256 * 512 bytes = 128 KB per request. We know the maximum request size from Linux is 128 KB so this makes sense. > Throughput (R/W): 0KiB/s / 482KiB/s What throughput do you get without I/O throttling? Either I/O throttling is limiting too aggressively here or the physical disk is the bottleneck (I double that since the write throughput value is very low). We need to compare against the throughput when throttling is not enabled. Stefan