| 22 | * <5> Network Bandwidth Control in Virtualised Environments - Simon Horman |
| 23 | * 用 iptables 跟 fwmark 來作流量管制、過濾、封包排程(filter, scheduling) |
| 24 | * http://linux.die.net/man/8/tc-htb - 使用 tc-htb 做對應的流量控制 QoS |
| 25 | * Problem 1: UDP, VLANs and Lack of Flow Control |
| 26 | * VLAN devices do not support scatter-gather |
| 27 | * A guest can flood Dorm0 with packets (非惡意的網路阻斷攻擊??) |
| 28 | * Problem 2: Bonding and Lack of Queues |
| 29 | * The default queue on bond devices in no queue |
| 30 | * qdiscs default the queue length of the device they are attached to |
| 31 | * [解法] ip link set txqueuelen 1000 dev bond0 |
| 32 | * [解法] tc qdisc add dev bond0 parent 1:100 handle 1100: pfifo limit 100 |
| 33 | * Problem 3: TSO and Lack of Accounting Accuracy |
| 34 | * 上一場演講有提到如果虛擬網卡的 MTU 封包大小大於實體網卡的設定,會有問題。所以得想辦法讓實體網卡與虛擬網卡的設定維持一致。 |