From: Simon Horman Subject: Re: Qemu nic rate limit Date: Fri, 10 Jul 2009 13:09:35 +1000 Message-ID: <20090710030935.GJ8743@verge.net.au> References: <000001c9ef1b$19c3af20$0138a8c0@freecloud> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <000001c9ef1b$19c3af20$0138a8c0@freecloud> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: =?utf-8?B?5rKI5ZCv6b6Z?= Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, Jun 17, 2009 at 03:13:23PM +0800, =E6=B2=88=E5=90=AF=E9=BE=99 wro= te: > I want to limit my NIC rate in DomU. I had found some paper and done so= me > test. Now I can limit NIC rate in DomU which had installed PV driver, b= ut I > can=E2=80=99t limit NIC rate in DomU which had the NIC emulated by qemu= . >=20 > Can anyone help me to limit the nic (qemu created) rate in domU. Hi, I'm not as familiar with PV drivers as I should be. Do you see an interface corresponding to the PV driver show up in dom0? If so you should be able to use tc to rate limit that interface. My ideas on this topic, for emulated devices, can be found at http://www.vergenet.net/linux/xen-bw-isolation/