0
0

WireGuardで最適なMTU値はいくつなのか?

Last updated at Posted at 2024-07-21

結論

ISP超えるなら1400、網内折り返しならそれ以上いける(と思われる)。

理由

下記条件で測定しまくった結果です。
大阪:フレッツ光クロス 10G(終端2.5G収容/自作OpenWrtルータ) ISP:21ip 固定IP
神戸:NURO光 2G(終端1G収容/FortiGate 50E OpenWrtルータ)
MTUあたり10回iperf3測定した平均値を使用

MTU値 速度
1500 27Mbps
1450 61Mbps
1420 392Mbps
1410 348Mbps
1400 413Mbps
1390 403Mbps
1380 371Mbps
1300 365Mbps

インターネット直結状態で(WireGuardを通さないで)測定した場合常に800Mbps以上出たので暗号化・復号化処理でCPUが足を引っ張っているのかな…
国外でも似たような結果が出ているので1400が最適っぽい気がする。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0