From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44434) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VElKP-0008Mi-AA for qemu-devel@nongnu.org; Wed, 28 Aug 2013 15:23:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VElKG-0000qx-EB for qemu-devel@nongnu.org; Wed, 28 Aug 2013 15:22:53 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:54041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VElKG-0000qd-3n for qemu-devel@nongnu.org; Wed, 28 Aug 2013 15:22:44 -0400 Message-ID: <521E4E06.3090708@rdsoftware.de> Date: Wed, 28 Aug 2013 21:22:46 +0200 From: Erik Rull MIME-Version: 1.0 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> <20130828184042.GG6170@irqsave.net> In-Reply-To: <20130828184042.GG6170@irqsave.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: Paolo Bonzini , "qemu-devel@nongnu.org" , Stefan Hajnoczi Beno=EEt Canet wrote: >> 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 = bandwith > 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= total bandwith. > > In addition to that there is another set of parameters to configure the= burst > ability of the throttling. > These setting are: bps_max, bps_rd_max, bps_wr_max, iops_mx, iops_rd_ma= x, 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 = default > bursting is not set. > > So: > -drive file=3Dfoo.raw,if=3Dvirtio,cache=3Dnone,bps=3D1048576,bps_max=3D= 1 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 ma= de some > changes for you to use. (use git fetch origin) > Great thanks! I cloned half an hour before your email, and updated right = now, but there was only an "already up to date"... (git fetch origin didn= 't=20 say anything git pull says Already up-to-date.) I will test it tomorrow and let you know my results. Best regards, Erik