[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] 4.2 TODO List

On 2/28/12 10:21 AM, Ian Campbell wrote:
On Tue, 2012-02-28 at 15:08 +0000, Mathieu Gagnà wrote:

Will there be support for rate limiting for vif as there is in xm/xend?

The help for the command "network-attach" shows support for "rate".
Unfortunately, an error occurs when using the "rate" parameter:
"the rate parameter for vifs is currently not supported"

I think this ought to be fixed before 4.2.

It should be a fairly simple matter to plumb the parameter through to
the underlying xenstore key. If you feel up to creating a patch I'd be
happy to give some guidance.

Someone already proposed [1] a patch which accept rate in the form "kb_per_sec,timeslice_usec". However it got rejected [1] because xm/xend accepts this syntax (1Mb/s@1ms) instead and backward compatibility should be preserved.

What should be the syntax for this parameter?

[1] http://lists.xen.org/archives/html/xen-devel/2011-03/msg01963.html
[2] http://lists.xen.org/archives/html/xen-devel/2011-03/msg01978.html


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.