From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X8O7J-0004bz-I7 for qemu-devel@nongnu.org; Sat, 19 Jul 2014 02:27:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X8O7A-0001Uo-Mp for qemu-devel@nongnu.org; Sat, 19 Jul 2014 02:27:33 -0400 Received: from mail1.windriver.com ([147.11.146.13]:61488) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X8O7A-0001UK-F7 for qemu-devel@nongnu.org; Sat, 19 Jul 2014 02:27:24 -0400 Message-ID: <53CA0FC4.8080802@windriver.com> Date: Sat, 19 Jul 2014 00:27:16 -0600 From: Chris Friesen MIME-Version: 1.0 References: <53C9362C.8040507@windriver.com> <53C93C34.7030403@redhat.com> <53C949BA.9040204@windriver.com> <53C97FEB.9060208@redhat.com> <53C9A440.7020306@windriver.com> <53CA06ED.1090102@redhat.com> In-Reply-To: <53CA06ED.1090102@redhat.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] is there a limit on the number of in-flight I/O operations? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org On 07/18/2014 11:49 PM, Paolo Bonzini wrote: > Il 19/07/2014 00:48, Chris Friesen ha scritto: >>>> >>> >>> I forgot about "-drive ...,iops_max=NNN". :) >> >> I'm not sure it's actually useful though, since it specifies the max IO >> operations per second, not the maximum number of in-flight operations. > > No, that's "-drive iops=NNN". QEMU implements a leaky bucket algorithm, > where "iops_max" gives the size of the bucket and "iops" gives the > refill rate. Does it track in-flight operations though? Or just how many operations can be requested in a given amount of time? If it tracks how many operations can be requested, then if the "iops" parameter is larger than what the server can maintain then the number of in-flight operations could still grow indefinitely. I suppose I'll have to check the code. :) Chris