日韩久久久精品,亚洲精品久久久久久久久久久,亚洲欧美一区二区三区国产精品 ,一区二区福利

openstack ovs-gre 網速慢解決方案

系統 2429 0

Hint: if you want to check if this answer will solve your issue, execute ifconfig eth0 mtu 1400 on the instance and check the speed.

Edit the file: /etc/quantum/dhcp_agent.ini and set:

    
      
        dnsmasq_config_file
      
      
        =
      
      
        /etc/
      
      
        neutron
      
      
        /
      
      
        dnsmasq
      
      
        -
      
      
        neutron
      
      
        .
      
      
        conf
      
    
  

Create and edit file /etc/neutron/dnsmasq-neutron.conf and put this inside:

    
      
        dhcp
      
      
        -
      
      
        option
      
      
        -
      
      
        force
      
      
        =
      
      
        26
      
      
        ,
      
      
        1400
      
    
  

Restart DHCP:

    
      
        service neutron
      
      
        -
      
      
        dhcp
      
      
        -
      
      
        agent restart
      
    
  

And reboot your instance. Verify that your MTU is 1400:

root@web:~# ifconfig eth0 Link encap:Ethernet HWaddr fa:16:3e:f0:6a:9f
inet addr:10.1.0.2 Bcast:10.1.0.255 Mask:255.255.255.0 inet6 addr: fe80::f816:3eff:fef0:6a9f/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1400 Metric:1 RX packets:934855 errors:0 dropped:0 overruns:0 frame:0 TX packets:207741 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1210256390 (1.2 GB) TX bytes:226172592 (226.1 MB)

Test upload speed again. It should be back to normal.


親測可行。


MTU&GRE

新的數據報頭長度為20字節,GRE最小封閉字節為4字節,1500-20-4=1476,而我們的實例默認是1480,必然每個包都自動分片,導致性能下降。

ref: https://ask.openstack.org/en/question/6140/quantum-neutron-gre-slow-performance/

?

openstack ovs-gre 網速慢解決方案


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 柳州市| 惠东县| 辽阳市| 师宗县| 绥芬河市| 浪卡子县| 满洲里市| 司法| 乌海市| 科技| 建昌县| 景宁| 三亚市| 东乡族自治县| 孝义市| 祁东县| 崇文区| 镇平县| 天镇县| 黎川县| 丹巴县| 皋兰县| 且末县| 漠河县| 安化县| 阳春市| 元阳县| 正安县| 巴青县| 隆昌县| 泸定县| 大理市| 竹溪县| 湘潭市| 海城市| 景宁| 沾化县| 石家庄市| 阳江市| 土默特左旗| 凤冈县|