On Fri, Jun 4, 2010 at 8:03 AM, Andrew Kilham <andrewkilham@iinet.net.au>
wrote:> Hi,
>
> Is it possible to limit a domU''s bandwidth usage to a certain
amount over a
> 30 day period? ie only let a domU use 50gb in a month.
No.
Xen only provides the ability to limit the outgoing network traffic
from the guest. If you need to limit incoming bandwitdh, or total
count over specific period, you have to come up with another way.
> Also, could someone please explain to me what the "Time Window"
in the link
> above is for? I don''t understand how that controls burstable
bandwidth.
Basically it should translate the rate into what amount of data can
fit within that time window. If you already transmit that much ammount
of data, you can''t send more until the next time window. So for
example (in an oversimplified scenario) if you set the rate low (say
100 kb/s) and have time window set to something high (say 10s), then
when you send large amount of data, it''d appear as bursts roughly
10-seconds apart.
Like the link said, "A smaller time window will provide less burst
transmission, however, the replenishment rate and latency will
increase." and also "The default 50ms time window is a good balance
between latency and throughput and in most cases will not require
changing."
--
Fajar
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users