SCTP Implementation

Download Report

Transcript SCTP Implementation

SCTP
Implementation
Advisor: Quincy Wu
Speaker: Kuan-Ta Lu
Date: Dec. 20, 2010
Problem definition
• 在校園環境下,一般來說,建築物與建築物之間已佈有有
線網路連線,假設現今要在校園內建構智慧電網,每棟建
築物都會建有一個coordinator,以便各個建築物能自行組
織一個zigbee網路,如果系統的server端是架設在學校的計
算機中心,當各個coordinator需與server端作通訊時,最直
接的方式是藉著建築物內部原有的有線網路來達成傳輸目
的,或是可以選擇在coordinator與server端之間,建置若干
個repeater,透過無線網路的方式傳輸。
Motivation
• 由於有多種傳輸方式可供選擇,不論選擇何種單一路徑進
行傳輸,都會造成傳輸路徑未被完全的利用。
• 因此我們選擇以SCTP取代目前常見的TCP/UDP傳輸層協定,
SCTP同時保留TCP與UDP的優點,並且增加multihoming和
multistreaming等特色。Multihoming可以讓兩個device之間
的傳輸同時擁有多條連線,而multistreaming可以讓傳輸資
料分割成不同資料流,達到同時傳輸的效果。
• 假設今天有線與無線網路已同時存在於coordinator和server
端之間,我們可以利用SCTP來達成同時在兩條連線上傳輸
的目標,可藉以提高傳輸量或是降低封包遺失率等等。
SCTP Architecture
SCTP Research
• [1]SCTP: What is it, and how to use it?
• the unique and strikingly different features found in SCTP
•
•
•
•
•
•
Ordering options
Multihoming
Partial Reliability
Message Boundary
Security
Other Difference
• [2] Linux Kernel SCTP : The Third Transport
• UDP-style API
SCTP Research (cont.)
• [3] Concurrent Multipath Transfer Using SCTP Multihoming
• CMT – Concurrent Multipath Transfer using the Stream Control
Transmission Protocol (SCTP)
• three negative side-effects of reordering introduced by CMT
• unnecessary fast retransmissions at the sender
• the SFR-CACC algorithm
• reduced cwnd growth due to fewer cwnd updates at the sender
• the Cwnd Update for CMT (CUC) algorithm
• more ack traffic due to fewer delay acks
• the Delayed Ack for CMT (DAC) algorithm
Environment
• Server
• Fedora 14 – kernel 2.6.35.6-48
• 10.21.11.214(sinbad)
• sctpsrvr.c
• Client
• Fedora 14 – kernel 2.6.35.6-48
• 10.21.10.154(homer)
• sctpclint.c
• sctp project
• lksctp
• openss7
Tool
• Testing tool
• sctp_darn
•
•
•
•
•
•
-H, --local
specify one of the local addresses
-P, --local-port
specify the port number for local addresses
-h, --remote
specify the peer address
-p, --remote-port specify the port number for the peer address
-l, --listen
print messages received from the peer
-s, --send
send messages to the peer
Future Works
時程
達成目標
December
Survey papers related to SCTP
January & Feburary
Trace SCTP source code
March & April
Implement SCTP
May
Write paper