[轉]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

srs rtmp forward (push) out || pull in push out

master 192.168.105.20 srs.conf isten 1935; max_connections 1000; srs_log_tank console; #file; #console; srs_log_file ./objs/srs.log; daemon off; #on or delete this line http_api { enabled on; listen 1985; } http_server { enabled on; listen 8080; dir ./objs/nginx/html; } stats { network 0; disk sda sdb xvda xvdb; } vhost __defaultVhost__ { ingest livestream { enabled on; input { type stream; url rtmp://xxx.ooo.xxx.ooo/live/nna1 } ffmpeg ./objs/ffmpeg; #if no build, just install then link -s engine { enabled off; output rtmp://127.0.0.1:[port]/live?vhost=[vhost]/nna2 #this push back this server ...

2017-09-22 · 2 min · 216 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

[轉]在Ubuntu 使用 Lets Encrypt 與 Nginx

https://blog.technologyofkevin.com/?p=591 see http://sueboy.blogspot.tw/2017/11/nginx-proxy-pass-best-practices.html http://sueboy.blogspot.tw/2017/11/nginx-proxy-pass-best-practices-2-for.html

2017-09-17 · 1 min · 4 words · Me

docker db Volumes

http://dockone.io/article/128 http://container42.com/2014/11/18/data-only-container-madness/ http://dockone.io/article/129 在volume产生时,是docker run的准备阶段(create),而执行entrypoint.sh则是在启动阶段(start)

2017-09-11 · 1 min · 5 words · Me