Network Performance Testing: iPerf, TWAMP, RFC 2544 และ Throughput Measurement

Network Performance Testing: iPerf, TWAMP, RFC 2544 และ Throughput Measurement

Network Performance Testing เป็นกระบวนการวัดและยืนยันความสามารถของ network ในด้าน throughput, latency, jitter และ packet loss iPerf เป็น open-source tool สำหรับ bandwidth testing, TWAMP (Two-Way Active Measurement Protocol) วัด round-trip performance แบบ standardized และ RFC 2544 เป็น benchmark methodology สำหรับ network device testing

ถ้าไม่วัด performance ไม่มีทางรู้ว่า network ทำงานตาม SLA หรือไม่ “internet ช้า” ไม่ใช่ข้อมูลที่ใช้แก้ปัญหาได้ ต้องวัดให้ได้ว่า throughput เท่าไหร่, latency กี่ ms, packet loss กี่% จึงจะระบุ bottleneck และแก้ไขได้ถูกจุด

Key Performance Metrics

Metric คืออะไร Acceptable Values
Throughput Data rate ที่ส่งได้จริง (Mbps/Gbps) ≥ 80% ของ link capacity
Latency (Delay) เวลาที่ packet ใช้เดินทาง (one-way or round-trip) LAN: < 1ms, WAN: < 100ms, Voice: < 150ms
Jitter Variation ของ latency (ความไม่สม่ำเสมอ) Voice/Video: < 30ms
Packet Loss เปอร์เซ็นต์ packets ที่หายระหว่างทาง < 0.1% (voice: < 1%)
MOS (Mean Opinion Score) Voice quality score (1-5) ≥ 4.0 (good), ≥ 3.5 (acceptable)

iPerf3

Feature รายละเอียด
คืออะไร Open-source tool สำหรับวัด TCP/UDP bandwidth ระหว่าง 2 endpoints
Architecture Client-Server: server listens (iperf3 -s), client sends (iperf3 -c server_ip)
TCP Test วัด maximum throughput (iperf3 -c server -t 30)
UDP Test วัด jitter + packet loss (iperf3 -c server -u -b 100M)
Reverse Mode Server → Client (iperf3 -c server -R) ทดสอบ download
Parallel Streams หลาย connections พร้อมกัน (iperf3 -c server -P 4)
JSON Output iperf3 -c server -J → JSON output สำหรับ automation
Port Default TCP 5201

iPerf3 Common Commands

Command Purpose
iperf3 -s Start server (listen on port 5201)
iperf3 -c 10.0.0.1 -t 30 TCP test for 30 seconds
iperf3 -c 10.0.0.1 -u -b 1G UDP test at 1 Gbps target
iperf3 -c 10.0.0.1 -R Reverse mode (measure download)
iperf3 -c 10.0.0.1 -P 4 4 parallel streams
iperf3 -c 10.0.0.1 -w 256K Set TCP window size (tune for WAN)
iperf3 -c 10.0.0.1 –bidir Bidirectional test (upload + download simultaneously)
iperf3 -c 10.0.0.1 -J Output results in JSON format

TWAMP (Two-Way Active Measurement Protocol)

Feature รายละเอียด
Standard RFC 5357 (extension of OWAMP – RFC 4656)
Measures Round-trip latency, jitter, packet loss
Architecture Control-Client + Session-Sender ↔ Server + Session-Reflector
TWAMP Light Simplified version (no control connection) — widely implemented
Advantage Standardized (vendor-interoperable), measure real network path
Use Case SLA verification, SD-WAN path quality, ISP performance monitoring
Vendors Cisco (IP SLA TWAMP), Juniper, Nokia, Arista — all support TWAMP

RFC 2544 Benchmarking

Test วัดอะไร วิธีทดสอบ
Throughput Maximum frame rate ที่ไม่มี loss Binary search: ส่ง frames เพิ่มขึ้นจน loss = 0 → max rate
Latency Time from send to receive Send frames at throughput rate → measure delay
Frame Loss % frames lost at various rates Send at increasing rates → count missing frames
Back-to-Back Maximum burst size ที่ไม่ loss Send burst of frames at max rate → find max burst
Frame Sizes Test at: 64, 128, 256, 512, 1024, 1280, 1518 bytes ทดสอบทุก standard frame sizes

RFC 2544 vs Y.1564 (SAMComplete)

Feature RFC 2544 Y.1564 (SAMComplete)
Test Duration Long (test one metric at a time) Short (test all metrics simultaneously)
Service Awareness ไม่มี (raw throughput) มี (test per service/CoS)
Multi-service Test 1 service at a time Test multiple services simultaneously
SLA Verification Basic Comprehensive (CIR, EIR, CBS, color-aware)
Use Case Device benchmarking Carrier Ethernet service activation

Testing Tools

Tool Type จุดเด่น
iPerf3 Software (free) Open source, TCP/UDP bandwidth testing
Cisco IP SLA Router feature Built-in testing (ICMP, UDP jitter, HTTP, TWAMP)
EXFO / Viavi Hardware tester RFC 2544, Y.1564, fiber testing, professional-grade
Spirent Traffic generator Enterprise/carrier traffic generation + analysis
TRex Software (free) Open source traffic generator (Cisco), high performance
PerfSonar Software (free) Network measurement toolkit (research/education networks)
MTR (My Traceroute) Software (free) Combined traceroute + ping (path + loss per hop)

Testing Best Practices

Practice รายละเอียด
Baseline first วัด performance เมื่อ network ปกติ → ใช้เป็น reference
Test during off-peak RFC 2544 / throughput tests อาจ saturate links → test off-peak
Multiple frame sizes Test ที่ 64, 512, 1518 bytes (small frames test PPS, large test bandwidth)
Bidirectional Test ทั้ง upload + download (asymmetric issues)
Document results Record date, time, test parameters, results → trend analysis
Automate testing Schedule regular tests → detect degradation early
End-to-end Test จาก user perspective (end-to-end) ไม่ใช่แค่ segment

ทิ้งท้าย: Measure First, Then Optimize

Network Performance Testing Metrics: throughput, latency, jitter, packet loss iPerf3: open source bandwidth testing (TCP/UDP, client-server) TWAMP: standardized round-trip measurement (RFC 5357), SLA verification RFC 2544: device benchmarking (throughput, latency, frame loss, back-to-back) Y.1564: service activation testing (multi-service, SLA-aware) Best practice: baseline → regular testing → trend analysis → automate

อ่านเพิ่มเติมเกี่ยวกับ QoS DiffServ Queuing Traffic Shaping และ Network Troubleshooting Methodology ที่ siamlancard.com หรือจาก icafeforex.com และ siam2r.com

จัดส่งรวดเร็วส่งด่วนทั่วประเทศ
รับประกันสินค้าเคลมง่าย มีใบรับประกัน
ผ่อนชำระได้บัตรเครดิต 0% สูงสุด 10 เดือน
สะสมแต้ม รับส่วนลดส่วนลดและคะแนนสะสม

© 2026 SiamLancard — จำหน่ายการ์ดแลน อุปกรณ์ Server และเครื่องพิมพ์ใบเสร็จ

SiamLancard
Logo
Free Forex EA Download — XM Signal · EA Forex ฟรี
iCafeForex.com - สอนเทรด Forex | SiamCafe.net
Shopping cart