= 2011-01-26 = * [http://lca2011.linux.conf.au linux.conf.au] LCA 2011 - Day 3 * Keynote : Geoff Huston * 探討 IPv6 * <1> Freeing the Cloud, one service at a time - Francois Marier * <2> [https://conf.linux.org.au/programme/schedule/view_talk/159 Making great conference videos on a budget] - Ben Hutchings and RYAN VERNER * [http://dvswitch.alioth.debian.org/wiki/ dvswitch] - !DebConf 用來製作演講影片的工具 * 講者的公司 - http://nextdayvideo.com/ * 桌面的部份是採用 Frame Grabber (VGA Capture Device) 來製作。 * <3> Roll Your Own Cloud: Enterprise Virtualization with KVM, DRBD, iSCSI and Pacemaker - Florian Haas and Tim Serong * 使用 [http://www.drbd.org/ DRBD] 與 [http://iscsitarget.sourceforge.net/ iSCSI (IET)] 來形成虛擬的 SAN 叢集(Virtual SAN Storage Cluster),並且採用 KVM 搭配 [http://www.open-iscsi.org/ Open iSCSI] 來形成虛擬叢集(Virtualization Cluster)。 * DRBD Proxy Add-on for Virtualization * 我反而比較喜歡 KVM + AoE +DRBD ,因為考慮傳輸效率,AoE 的效率比 iSCSI 還要好,而且更合適應用於雲端環境的超大叢集環境。唯一需要考量的反而是跨 Site 的狀況,必須避免虛擬機器從某一個 Site A 遷徙到另一個 Site B。 * 可行性評估: * [http://www.howtoforge.com/low-cost-san Low Cost SAN] - !HowToForge 的文章,說明如何設定 DRBD + AoE * [https://help.ubuntu.com/community/HighlyAvailableAoETarget Highly Available AoE Target] - Ubuntu 社群文件,說明 AoE + DRBD + Network Bonded 的步驟 * <4> Virtual Networking performance: flows, bridging and tunnels - Stephen Hemminger * http://www.vyatta.com/ - 講者 Stephen 是 Linux Kernel 的開發者之一,目前就職於 Vyatta * loopback 可以到 12Gbps 的速度,但是 CPU 處理 VM 的傳輸只能到 Mbps 等級. * <5> Network Bandwidth Control in Virtualised Environments - Simon Horman * 用 iptables 跟 fwmark 來作流量管制、過濾、封包排程(filter, scheduling) * http://linux.die.net/man/8/tc-htb - 使用 tc-htb 做對應的流量控制 QoS * Problem 1: UDP, VLANs and Lack of Flow Control * VLAN devices do not support scatter-gather * A guest can flood Dorm0 with packets (非惡意的網路阻斷攻擊??) * Problem 2: Bonding and Lack of Queues * The default queue on bond devices in no queue * qdiscs default the queue length of the device they are attached to * [解法] ip link set txqueuelen 1000 dev bond0 * [解法] tc qdisc add dev bond0 parent 1:100 handle 1100: pfifo limit 100 * Problem 3: TSO and Lack of Accounting Accuracy * 上一場演講有提到如果虛擬網卡的 MTU 封包大小大於實體網卡的設定,會有問題。所以得想辦法讓實體網卡與虛擬網卡的設定維持一致。