bbr Kernel 4.9.51

aws linux 官方 https://aws.amazon.com/tw/amazon-linux-ami/2017.09-release-notes/ ubuntu https://segmentfault.com/a/1190000008395823 https://farer.org/2017/05/18/build-kernel-with-bbr-on-ec2-amazon-linux/ 修改/etc/sysctl.conf文件,加入如下两行: net.core.default_qdisc = fq net.ipv4.tcp_congestion_control = bbr 檢查 cat /proc/sys/net/ipv4/tcp_congestion_control

2017-11-17 · 1 min · 17 words · Me

iptraf

Better way is Amazon Linux and Enhanced Networking on Linux C3、C4、M4 http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sriov-networking.html I think is better for performace.

2017-11-02 · 1 min · 18 words · Me

大陸 vps 測試

https://raw.githubusercontent.com/oooldking/script/master/superspeed.sh #!/usr/bin/env bash # Description: Test your server’s network with Speedtest to China # Copyright (C) 2017 - 2017 Oldking # URL: https://www.oldking.net/305.html # Colors RED=’\033[0;31m’ GREEN=’\033[0;32m’ YELLOW=’\033[0;33m’ SKYBLUE=’\033[0;36m’ PLAIN=’\033[0m' # check root [[ $EUID -ne 0 ]] && echo -e “${RED}Error:${PLAIN} This script must be run as root!” && exit 1 # check python if [ ! -e ‘/usr/bin/python’ ]; then echo -e read -p “${RED}Error:${PLAIN} python is not install. You must be install python command at first.\nDo you want to install? [y/n]” is_install if [[ ${is_install} == “y” || ${is_install} == “Y” ]]; then if [ “${release}” == “centos” ]; then yum -y install python else apt-get -y install python fi else exit fi ...

2017-09-25 · 7 min · 1339 words · Me

[轉]OVS (Open vSwitch) 心得 楊金龍

https://www.facebook.com/dominic16y/posts/1378435818935569 今天跑去台中聽了OVS (Open vSwitch)講座,收獲頗豐(真的值回車票價了!),這個東西我自己的研究可能要花好幾個月的時間,還不一定能抓對方向或抓到重點,講師今天一個下午就把所有關鍵的問題都提到了,比如說你linux bridge 用的好好的幹嘛要轉到ovs來,這是大家都會關心的問題。 底下一些重點整理: 1.linux bridge效能很好,沒有什麼特殊的需求的話,不用轉到OVS去。 2.linux bridge效能的極限,kernel 跑不滿10G的頻寬(大約7G/s左右),若你不用10G的網路的話,linux bridge很好用。 3.OVS原生的效能比linux bridge效能差 4.OVS必須要另外加DPDK才能夠跑滿10G頻寬。(大約可跑到15~20G/s) 5.OVS單台機器沒有什麼用,它的功能跟linux bridge一樣 6.OVS必須要多台,並加上controller才能發揮它真正的功能 7.controller 推薦ONOS、OVN 8.OVS支援所有L2的功能(和靜態路由L3功能),它要使用controller之後,就可以不用STP,可充份利用所有頻寬,也不怕looping所造成的廣播風暴。

2017-09-23 · 1 min · 22 words · Me

linux usb boot windows

https://www.pendrivelinux.com/yumi-multiboot-usb-creator/ https://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/

2017-09-21 · 1 min · 2 words · Me