1 A Distributed Tool for VoIP Stress Testing Speaker: cheng-lin Tsai Adviser: Quincy Wu School:...
-
Upload
caren-whitehead -
Category
Documents
-
view
217 -
download
3
Transcript of 1 A Distributed Tool for VoIP Stress Testing Speaker: cheng-lin Tsai Adviser: Quincy Wu School:...
1
A Distributed Tool for VoIP Stress Testing
Speaker: cheng-lin Tsai
Adviser: Quincy Wu
School: National Chi Nan University
2
Outline
Introduction SIP Distributed SIP Pressure Test
fping OpenNTPD SIPp
D-SIPp (Distributed-SIPp) Implementation Conclusions and Future work Reference
3
Introduction
VoIP 使用者大幅增加 伺服器的壓力測試
SmartBits D-SIPp
(Distributed-SIPp )
4
SIP
Session Initiation Protocol (RFC 3261) 主從式 (Client-Server) 架構
UA 1<sip:[email protected]>
UA 2<sip:[email protected]>
Proxy Serversip:server.work.com
(1) [email protected] (2) INVITE
(3) 100 Trying(4) 180 Ringing
(5) 180 Ringing
(6) 200 OK(7) 200 OK
(8) [email protected] (9) ACK
Connection (Media Stream)
(10) [email protected] (11) BYE
(12) 200 OK(13) 200 OK
5
Distributed SIP Pressure Test
6
Distributed SIP Pressure Test (Cont.) 啟動 Slave 時間同步 Generate Traffic
7
Distributed SIP Pressure Test (Cont.) 啟動 Slave
確保 N 台 Slave 電腦有啟動,運用 fping 軟體做快速判斷。
Fping vs. ping
8
Distributed SIP Pressure Test (Cont.) 時間同步
要使得 N 台電腦同步,必須要與 NTP 伺服器對時,因此採用 OpenNTPD 提供 LAN 裡的 Slave 電腦做對時。
9
Distributed SIP Pressure Test (Cont.) Generate Traffic
SIPp – dynamic display of statistics about running tests
10
D-SIPp (Distributed-SIPp)
11
Implementation
Master : 10.10.59.188 Slave : 10.10.59.144 , 10.10.59.145 Receiver : 10.10.59.149 Total calls : 200
12
Implementation (Cont.)
D-SIPp_master
13
Implementation (Cont.)
D-SIPp_master
14
Implementation (Cont.)
D-SIPp_slave
15
Implementation (Cont.)
Receiver
16
Conclusions and Future work
降低測試成本
測量 MOS 值
採用 GPS 建置 stratum 1 ,提升時間同步的準確度
17
Reference
J. Rosenberg, H. Schulzrinne, G. Camarillo, A. Johnston, J. Peterson, R. Sparks, M. Handley, E. Schooler, “SIP : Session Initiation Protocol”, Network Working Group, RFC3261, IETF, June 2002.
J. Postel, “Internet Control Message Protocol” Network Working Group, RFC 792, IETF, September 1981
David L. Mills, “Network Time Protocol (Version 3) Specification, Implementation and Analysis” Network Working Group, RFC 1305, IETF, March 1992
SIPp [http://sipp.sourceforge.net/] H. Schulzrinne, S. Casner, R. Frederick, V. Jacobson, “ RTP: A
Transport Protocol for Real-Time Applications”, Network WORKING Group, RFC 1889, IETF, January 1996.
ITU-T “The E-model, a computational model for use in transmission planning” ,ITU-T Recommendation G107, March 2005