13.07.2015 Views

Achieving Top Network Performance - Red Hat Summit

Achieving Top Network Performance - Red Hat Summit

Achieving Top Network Performance - Red Hat Summit

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Throttle with cgroups●●memory● associate a cgroup with a classid that 'tc' utilitycreates/manages●Set upper-boundsExample:● Set a 9 Gbit / sec limit on the cgroup# tc qdisc add dev eth1 root handle 10: htb default 10# tc class add dev eth1 parent 10:10 classid 10:10 htb rate 9gbit ceil 9gbit# tc filter add dev eth1 parent 10:0 protocol all prio 1 handle 1 cgroup# echo 0x100010 > /cgroup/net_cls/net_cls.classid

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!