Mais conteúdo relacionado
Semelhante a VMware NSXがサポートするトンネル方式について (19)
Mais de Motonori Shindo (19)
VMware NSXがサポートするトンネル方式について
- 4. STT (Stateless Transport Tunneling)
l
Nicira / VMware が提唱する L2 over L3 トンネル
(Encapsulation)手法
u
l
draft-davie-stt-03.txt
Why yet another L2 over L3 tunneling ?
u
性能
u
多くのコンテクスト情報
u
Multi-Path 特性
u
ソフトウェア指向
-4© 2014 VMware Inc. All rights reserved
- 5. TSO (TCP Segmentation Offload)
l
最近の(ここ4〜5年に出た)NICには様々なハードウェア・アク
セラレーション機能が搭載されている
u
l
TSOは、通常OS(ソフトウェア)が行わなければいけない
Segmentation処理をNICがハードウェアで行ってくれる
u
l
RSS、GSO/TSO、Checksum Offload、etc.
最大64K bytesのパケットを送れる à Context Switchを劇的に減らせる
NICには “TCP” に見えるようなパケットでEncapsulationして
やる事により、TSOのメリットを享受できる!
-5© 2014 VMware Inc. All rights reserved
- 6. Encapsulation / Segmentation 処理の流れ
IP (20)
TCP’ (20)
STT (18)
IP (20)
TCP’ (20)
STT (18)
IP (20)
TCP’ (20)
IP (20)
TCP’ (20)
L2 Frame (up to ≒ 64K)
Payload 1
Payload 2
(HWによる)
Segmentation
処理
Payload n
-6© 2014 VMware Inc. All rights reserved
- 7. TCP-like ヘッダー
0
1
2
3
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
Source
Port
|
Destination
Port
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
Sequence
Number(*)
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
Acknowledgment
Number(*)
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
Data
|
|U|A|P|R|S|F|
|
|
Offset|
Reserved
|R|C|S|S|Y|I|
Window
|
|
|
|G|K|H|T|N|N|
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
Checksum
|
Urgent
Pointer
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
Options
|
Padding
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
data
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-7© 2014 VMware Inc. All rights reserved
- 8. STT ヘッダー
0
1
2
3
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
Version
|
Flags
|
L4
Offset
|
Reserved
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
Max.
Segment
Size
|
PCP
|V|
VLAN
ID
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
|
+
Context
ID
(64
bits)
+
|
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
Padding
|
data
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+
|
|
-8© 2014 VMware Inc. All rights reserved
- 12. VXLAN
l
Arista / Broadcom / Cisco / VMware / Citrix /
RedHat らが中心に提唱
u
draft-mahalingam-dutt-dcops-vxlan-04.txt
l
VLAN ID (12bit) を VNI (24bit) に拡張
l
UDP/IPでEncapsulation
u
L3オーバーレイ
u
マルチパス
l
ハードウェアで処理し易いように設計
l
エコシステムの形成
- 12 © 2014 VMware Inc. All rights reserved