From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zqjq6-0006Zc-Kz for qemu-devel@nongnu.org; Mon, 26 Oct 2015 11:37:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zqjq3-0003hX-Eh for qemu-devel@nongnu.org; Mon, 26 Oct 2015 11:37:38 -0400 Received: from mail-pa0-x235.google.com ([2607:f8b0:400e:c03::235]:33449) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zqjq3-0003hT-8n for qemu-devel@nongnu.org; Mon, 26 Oct 2015 11:37:35 -0400 Received: by pacfa8 with SMTP id fa8so12623256pac.0 for ; Mon, 26 Oct 2015 08:37:34 -0700 (PDT) Sender: Paolo Bonzini References: From: Paolo Bonzini Message-ID: <562E48B9.6090600@redhat.com> Date: Mon, 26 Oct 2015 16:37:29 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] 4k seq read splitting for virtio-blk - possible workarounds? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andrey Korolyov , "qemu-devel@nongnu.org" Cc: Peter Lieven On 26/10/2015 12:50, Andrey Korolyov wrote: > Hi, > > during the test against generic storage backend with NBD frontend we > found that the virtio block device is always splitting a single read > range request to 4k ones, bringing the overall performance of the > sequential reads far below virtio-scsi. Random reads are going > relatively well on small blocks due to small overhead comparing to > sequential ones and writes are ok in all cases. Multiread slightly > improves the situation, but it would be nice to see complete > pass-through of range read requests down to backend without an > intermediate splitting. > > Samples measured on an NBD backend during 128k sequential reads for > both virtio-blk and virtio-scsi are attached. Please let me know if it > looks like that I missed something or this behavior is plainly wrong. How does the blktrace look like in the guest? Paolo