Editing Bonding
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 140: | Line 140: | ||
== Traffic shaping == | == Traffic shaping == | ||
+ | === Virtuozzo traffic shaping tools === | ||
+ | Just replace old netdev to new bonding device (bond0) | ||
+ | vi /etc/sysconfig/vz | ||
+ | <pre> | ||
+ | ## Network traffic parameters | ||
+ | TRAFFIC_SHAPING=yes | ||
+ | BANDWIDTH="bond0:102400" | ||
+ | TOTALRATE="bond0:1:4096" | ||
+ | RATE="bond0:1:8" | ||
+ | </pre> | ||
+ | and do the rest as usuall | ||
+ | <pre> | ||
+ | # vzctl set $veid --ratebound $bound --rate $rif:$class:$rate --save | ||
+ | </pre> | ||
+ | |||
+ | === Traffic shaping with tc === | ||
Where is no specifics here, see [[Traffic shaping with tc]]. | Where is no specifics here, see [[Traffic shaping with tc]]. | ||