[one-users] Transfer/bandwidth limits?

Ionut Popovici ionut at hackaserver.com
Fri Jun 6 04:05:10 PDT 2014


For download you can use htb on vnet interface

tc qdisc del dev <vnet interface> root
tc qdisc add dev <vnet interface> root handle 1:0 htb default 2
tc class add dev <vnet interface> parent 1:0 classid 1:1 htb rate 
512kbit ceil 512kbit
tc filter add dev <vnet interface> parent 1:0 protocol ip u32 match ip 
dst <ip for host> flowid 1:1

tc -s qdisc show dev <vnet interface> it will queryng discipline
tc -s class show dev <vnet interface> it will show classes
tc -s filter show dev <vnet interface> it will show filter that attached 
to class and if working.

rate = flat rate guaranteed that can be exprimatedt in kbit or mbit
ceil = max rate can be borrowed from master .. but here you can user on 
rate that can have the interface

some more info
http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm
it is old but is best qos discipline for linux 10 times better that cbq

On 6/4/2014 12:15 PM, Jaime Melis wrote:
> Hi
>
> Susan, we don't have this as of yet, it would be a nice thing to have 
> and not very difficult.
>
> If you know how to apply QoS to a VM manually we can automate the 
> process in the networking drivers.
>
> And I think Shankhadeep is right, with opensvswitch it would be even 
> easier, but the fact reimans that it's not yet supported in OpenNebula.
>
> cheers,
> Jaime
>
>
> On Sat, May 31, 2014 at 4:51 AM, Shankhadeep Shome 
> <shank15217 at gmail.com <mailto:shank15217 at gmail.com>> wrote:
>
>     Have you looked into openvswitch? It may have the features you need.
>
>
>     On Fri, May 30, 2014 at 3:52 PM, Susan Curtis <susan at virtovo.com
>     <mailto:susan at virtovo.com>> wrote:
>
>         First time posting here, so apologies if I have missed any
>         conventions information required.
>
>         I've managed to deploy a multi node setup with OpenNebula and
>         am evaluating it against some other cloud platforms.  It's
>         been a real breeze to setup and I really like the ease of use
>         within Sunstone.  I've looked through the documentation and
>         past messages on this list and cannot find any up to date info
>         on the subject (there was a patch mentioned a while back for
>         an earlier version).
>
>         Is there any way to set bandwidth limits per instances?  Or at
>         very least rate limit the NIC?  If we deployed OpenNebula we'd
>         need some way to limit bandwidth for instances.
>
>         Regards
>
>         Susan
>
>         _______________________________________________
>         Users mailing list
>         Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
>         http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
>     http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
>
> -- 
> Jaime Melis
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org <http://www.OpenNebula.org> | jmelis at opennebula.org 
> <mailto:jmelis at opennebula.org>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140606/b428bab4/attachment-0001.htm>


More information about the Users mailing list