From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35685) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEkdp-0005Sz-0Q for qemu-devel@nongnu.org; Wed, 28 Aug 2013 14:38:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VEkdj-0004ah-1q for qemu-devel@nongnu.org; Wed, 28 Aug 2013 14:38:52 -0400 Received: from nodalink.pck.nerim.net ([62.212.105.220]:33954 helo=paradis.irqsave.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEkdi-0004aR-O3 for qemu-devel@nongnu.org; Wed, 28 Aug 2013 14:38:46 -0400 Date: Wed, 28 Aug 2013 20:40:42 +0200 From: =?iso-8859-1?Q?Beno=EEt?= Canet Message-ID: <20130828184042.GG6170@irqsave.net> References: <163348110.541056.1377680875692.open-xchange@email.1und1.de> <521DF7C1.50805@redhat.com> <20130828133410.GB6170@irqsave.net> <521DFDF6.3070507@redhat.com> <20130828135143.GC6170@irqsave.net> <521E0247.7060202@redhat.com> <20130828140524.GD6170@irqsave.net> <521E03B6.2060205@redhat.com> <20130828142635.GE6170@irqsave.net> <521E3F9E.8010808@rdsoftware.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <521E3F9E.8010808@rdsoftware.de> 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: Erik Rull Cc: =?iso-8859-1?Q?Beno=EEt?= Canet , Paolo Bonzini , "qemu-devel@nongnu.org" , Stefan Hajnoczi > thanks for your help. I cloned the git and compiled it - but I'm not > completely sure how to enable the throttling finally - there were > several mails regarding averages and max values... And the "unit" of > the values would be interesting. Hi Erik, The main settings are bps, bps_rd and bps_wr for total, read and write ba= ndwith throttling (unit is bytes) and iops, iops_rd, iops_wr for IO per second throttling (unit is IO operation). You should specify your settings on the -drive command line like in: -drive file=3Dfoo.raw,if=3Dvirtio,cache=3Dnone,bps=3D1048576 for a 1 MB t= otal bandwith. In addition to that there is another set of parameters to configure the b= urst ability of the throttling. These setting are: bps_max, bps_rd_max, bps_wr_max, iops_mx, iops_rd_max,= and iops_wr_max. Some bursting is enabled by default. >>From what Paolo said you should set bps_max =3D 1 to specify that the def= ault bursting is not set. So: -drive file=3Dfoo.raw,if=3Dvirtio,cache=3Dnone,bps=3D1048576,bps_max=3D1 = for a 1 MB total bandwith with almost no burst. Best regards Beno=EEt ps: take care of updating your repository and recompiling it since I made= some changes for you to use. (use git fetch origin) >=20 > Merci beaucoup. >=20 > Best regards, >=20 > Erik >=20 >=20 >=20