From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEgHk-000057-0K for qemu-devel@nongnu.org; Wed, 28 Aug 2013 09:59:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VEgHe-0003GG-1r for qemu-devel@nongnu.org; Wed, 28 Aug 2013 09:59:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:64423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEgHd-0003G8-Ql for qemu-devel@nongnu.org; Wed, 28 Aug 2013 09:59:41 -0400 Message-ID: <521E0247.7060202@redhat.com> Date: Wed, 28 Aug 2013 15:59:35 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <586568842.455717.1377510746935.open-xchange@email.1und1.de> <20130827073833.GB24247@stefanha-thinkpad.redhat.com> <521D0B84.8040301@rdsoftware.de> <521D1AB0.1070904@redhat.com> <20130828075020.GA4696@stefanha-thinkpad.muc.redhat.com> <163348110.541056.1377680875692.open-xchange@email.1und1.de> <521DF7C1.50805@redhat.com> <20130828133410.GB6170@irqsave.net> <521DFDF6.3070507@redhat.com> <20130828135143.GC6170@irqsave.net> In-Reply-To: <20130828135143.GC6170@irqsave.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Boot Problems Windows XP guest List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-1?Q?Beno=EEt_Canet?= Cc: Erik Rull , "qemu-devel@nongnu.org" , Stefan Hajnoczi Il 28/08/2013 15:51, Beno=EEt Canet ha scritto: >> What is the command line to use for avg bps =3D 1MB/s, max bps =3D 0? > On the monitor it would be: >=20 > block_set_io_throttle 1048576 0 0 0 0 0 >=20 > When configuring throttle on the command line it would be: >=20 > -drive file=3Dfoo.raw,if=3Dvirtio,cache=3Dnone,bps=3D1048576 >=20 > Also remember that the code is setting bps_max =3D avg/10 to please gue= st cfq > schedulers so a little burst will be done at startup. Yes, I'm afraid that the burst is problematic here since the current throttling algorithm doesn't help (and IIUC it behaves as if it had max=3Davg/10 due to the 100ms slice time). This is Windows so no CFQ here. Do you need to set bps_max=3D1 or will bps_max=3D0 work too? Paolo