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

Re: [Xen-users] What is a proper way to limit XEN incoming bandwidth?



On August 28, 2014 7:18:52 PM EDT, NiX <nix@xxxxxxxxxxxxxxxx> wrote:
>Im using XEN 4.3.2-rc1 and the 'xl' toolstack.
>
>vif = ["ip=127.0.0.1,mac=00:00:00:00:00:00,bridge=br0,rate=100Mb/s"]
>-->
>Limits only outgoing bandwidth
>
>vif = ["ip=127.0.0.1,mac=00:00:00:00:00:00,bridge=br0,5Mb/s@25ms"] -->
>Did
>nothing.
>
>I've also tried 'tc' command but I could not get it
>reliable(connections
>stalled that barely used bandwidth)
>
>Here's my solution with 'tc'
>http://serverfault.com/questions/261021/xen-limit-incoming-traffic-speed
>
>I could not get it reliable. Connections got stalled. So what is a
>proper
>way to do it or is there one?
>

Unfortunately, there's no good answer to this even outside of Xen. You only 
have direct control of outgoing bandwidth, incoming is a bit more indirect. I 
suggest looking up the advanced tutorials on tc usage. It's tricky, but it's 
basically the only way.


-- 
Sean

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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