8
ECN(Explicit Congestion Notification) ののののののののの Shishio Tsuchiya [email protected]

ECN(Explicit Congestion Notification) のあるネットワーク

Embed Size (px)

Citation preview

Page 1: ECN(Explicit Congestion Notification) のあるネットワーク

ECN(Explicit Congestion Notification) のあるネットワーク

Shishio [email protected]

Page 2: ECN(Explicit Congestion Notification) のあるネットワーク

2© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public

• ネットワークの輻輳をエンドノードに伝える仕組み

• あんまり使われていない。

• なぜか?

ECN(Explicit Congestion Notification) とは

輻輳

混んでるからパケット落とすかも〜

おっと。レート下げよ

う!

Page 3: ECN(Explicit Congestion Notification) のあるネットワーク

3© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public

• TCP ファイル転送やメールなどではパケットロスは問題にならない

• だったら帯域は使ったもん勝ち

• ISP (ルータ)もわざわざ通知しない(FR の FECN/BECN もそーだったよねー)

• でも、ビデオストリームなどでは大問題!

• 落とすより、レートを抑える方が良い

ECN をやらない理由

Page 4: ECN(Explicit Congestion Notification) のあるネットワーク

4© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public

• Alexa トップランクの 56% がサポート済み

• OS X 10.11 と iOS9 でデフォルトサポート

• Windows Server 2012 でデフォルトで有効

• Linux/BSD サポート

ECN の現状

Page 5: ECN(Explicit Congestion Notification) のあるネットワーク

5© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public

どこのフィールド?

ECT CE

IP Prec.(3 ビット)

DSCP (6 ビット)

1 1 で輻輳通知

Page 6: ECN(Explicit Congestion Notification) のあるネットワーク

6© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public

ECNの設定の仕方Router(config)# policy-map ECN Router(config-pmap)# class class-default Router(config-pmap-c)# bandwidth per 70 Router(config-pmap-c)# random-detect Router(config-pmap-c)# random-detect ecn

Router# show policy-map Policy Map pol1 Class class-default Weighted Fair Queueing Bandwidth 70 (%) exponential weight 9 explicit congestion notification class min-threshold max-threshold mark-probability ---------------------------------------------------------- ---------------------------------------------------------- 0 - - 1/10 1 - - 1/10 2 - - 1/10 3 - - 1/10 4 - - 1/10 5 - - 1/10 6 - - 1/10 7 - - 1/10 rsvp - - 1/10

IOS-XRJUNOS

Page 7: ECN(Explicit Congestion Notification) のあるネットワーク

7© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public

• iOS9 で ECN がデフォルトサポートされたらしい

• Youtube/Netflix では効果があるらしい

• ECN を通知してる ISP います?

• Apple はいくつかの ISP に依頼してるらしいよ

まとめ

Page 8: ECN(Explicit Congestion Notification) のあるネットワーク