

Network Performance Testing: iPerf, Throughput, Latency, Jitter และ Baseline
Network Performance Testing วัดและประเมินประสิทธิภาพของ network เพื่อ verify ว่าได้ตาม SLA และ design requirements iPerf เป็น open-source tool สำหรับวัด throughput, Latency (delay) วัดเวลาที่ packet เดินทาง, Jitter วัดความผันผวนของ latency ที่กระทบ real-time applications และ Baseline คือ normal performance ที่ใช้เป็นจุดอ้างอิงเพื่อตรวจจับ anomalies
หลายองค์กร ไม่เคยวัด network performance จนกว่าจะมีปัญหา แล้วก็ไม่มี baseline เปรียบเทียบ ทำให้ไม่รู้ว่า “ช้า” หมายถึงอะไร — ช้ากว่าปกติเท่าไหร่? ปัญหาอยู่ที่ไหน? Regular performance testing + baseline ช่วยตรวจจับปัญหาก่อนกระทบ users และ plan capacity ได้ถูกต้อง
Key Performance Metrics
| Metric | คืออะไร | Unit | Impact |
|---|---|---|---|
| Throughput | Actual data transfer rate (usable bandwidth) | Mbps / Gbps | File transfers, backups, bulk data |
| Bandwidth | Maximum theoretical capacity of link | Mbps / Gbps | Link capacity (not actual usage) |
| Latency (Delay) | เวลาที่ packet เดินทางจาก A → B | ms (milliseconds) | VoIP, video, interactive apps |
| RTT (Round-Trip Time) | เวลา A → B → A (ping time) | ms | TCP performance, interactive apps |
| Jitter | ความผันผวนของ latency (variation in delay) | ms | VoIP, video conferencing quality |
| Packet Loss | % ของ packets ที่หายระหว่างทาง | % | TCP retransmissions, voice/video artifacts |
| MOS (Mean Opinion Score) | คะแนนคุณภาพเสียง 1-5 | 1 (bad) to 5 (excellent) | VoIP quality assessment |
Performance Thresholds
| Application | Latency | Jitter | Packet Loss |
|---|---|---|---|
| VoIP | < 150ms (one-way) | < 30ms | < 1% |
| Video Conferencing | < 200ms | < 30ms | < 1% |
| Interactive (RDP, Citrix) | < 100ms | < 20ms | < 0.5% |
| Web Browsing | < 300ms | N/A | < 2% |
| File Transfer | Throughput matters more | N/A | < 0.1% (TCP retransmits) |
| Database Replication | < 50ms | < 10ms | 0% |
iPerf3
| Feature | รายละเอียด |
|---|---|
| คืออะไร | Open-source tool สำหรับวัด network throughput (TCP + UDP) |
| Architecture | Client-server: run server บน 1 end, client อีก end → measure |
| TCP Test | วัด maximum throughput (bandwidth capacity between 2 points) |
| UDP Test | วัด jitter + packet loss ที่ specified bitrate |
| Parallel Streams | ใช้หลาย streams พร้อมกัน (-P 4) เพื่อ saturate link |
| Bidirectional | Test ทั้ง 2 ทิศทาง (-R for reverse, –bidir for simultaneous) |
| JSON Output | -J flag สำหรับ JSON output (parse ง่าย, integrate กับ monitoring) |
| Download | iperf.fr — available for Windows, Linux, macOS, FreeBSD |
iPerf3 Commands
| Command | Purpose |
|---|---|
| iperf3 -s | Start server (listen on port 5201) |
| iperf3 -c 10.0.0.1 | TCP throughput test to server |
| iperf3 -c 10.0.0.1 -u -b 100M | UDP test at 100 Mbps (measure jitter + loss) |
| iperf3 -c 10.0.0.1 -P 4 | 4 parallel TCP streams (saturate link) |
| iperf3 -c 10.0.0.1 -R | Reverse mode (server sends to client) |
| iperf3 -c 10.0.0.1 –bidir | Bidirectional test (both directions simultaneously) |
| iperf3 -c 10.0.0.1 -t 60 | Run for 60 seconds (longer = more accurate) |
| iperf3 -c 10.0.0.1 -J | JSON output (for automation/parsing) |
Other Testing Tools
| Tool | Purpose | Platform |
|---|---|---|
| ping | RTT latency, packet loss (ICMP) | All |
| mtr (My Traceroute) | Combined ping + traceroute (per-hop latency + loss) | Linux/Mac/Windows |
| pathping | Windows equivalent of mtr (hop-by-hop analysis) | Windows |
| Cisco IP SLA | Continuous monitoring: ICMP echo, UDP jitter, HTTP GET | Cisco IOS/IOS-XE |
| TWAMP | Two-Way Active Measurement Protocol (RFC 5357) | Multi-vendor |
| Speedtest CLI | Internet bandwidth test from CLI | All (speedtest.net) |
| netperf | Throughput + latency testing (alternative to iPerf) | Linux |
| flent | Bufferbloat testing (latency under load) | Linux |
Baseline Process
| Step | Action |
|---|---|
| 1. Identify critical paths | List important network paths (user→server, site→site, site→cloud) |
| 2. Select metrics | Throughput, latency, jitter, packet loss per path |
| 3. Measure | Test ทุก path ในช่วง peak + off-peak (3-5 วันทำการ) |
| 4. Document | Record results: average, min, max, 95th percentile per metric |
| 5. Set thresholds | Alert threshold = baseline + 2× standard deviation |
| 6. Monitor continuously | IP SLA / synthetic monitoring ตรวจสอบ 24/7 |
| 7. Re-baseline | Update baseline ทุก 3-6 เดือน (network changes → new baseline) |
ทิ้งท้าย: Measure → Baseline → Monitor → Improve
Network Performance Testing Metrics: throughput, latency, jitter, packet loss, MOS (VoIP quality) Thresholds: VoIP < 150ms/30ms jitter/1% loss, interactive < 100ms, DB replication < 50ms iPerf3: TCP throughput + UDP jitter/loss testing (open source, client-server) Tools: ping/mtr (latency), iPerf (throughput), IP SLA (continuous), TWAMP (standard) Baseline: measure critical paths → document avg/min/max/p95 → set alert thresholds Process: identify paths → measure peak+off-peak → document → set thresholds → monitor 24/7 → re-baseline quarterly
อ่านเพิ่มเติมเกี่ยวกับ Network Monitoring SNMP NetFlow Prometheus และ QoS DiffServ DSCP Queuing ที่ siamlancard.com หรือจาก icafeforex.com และ siam2r.com
อ่านเพิ่มเติม: เทรด Forex | Panel SMC MT5
FAQ
Network Performance Testing: iPerf, Throughput, Latency, Jitter และ Baseline คืออะไร?
Network Performance Testing: iPerf, Throughput, Latency, Jitter และ Baseline เป็นหัวข้อสำคัญในวงการเทคโนโลยีที่ช่วยให้การทำงานมีประสิทธิภาพมากขึ้น ไม่ว่าจะเป็นด้าน IT, Network หรือ Server Management
ทำไมต้องเรียนรู้เรื่อง Network Performance Testing: iPerf, Throughput, Latency, Jitter และ Baseline?
เพราะ Network Performance Testing: iPerf, Throughput, Latency, Jitter และ Baseline เป็นทักษะที่ตลาดต้องการสูง และช่วยให้คุณแก้ปัญหาในงานจริงได้อย่างมืออาชีพ การเรียนรู้ตั้งแต่วันนี้จะเป็นประโยชน์ในระยะยาว
Network Performance Testing: iPerf, Throughput, Latency, Jitter และ Baseline เหมาะกับผู้เริ่มต้นไหม?
ได้แน่นอนครับ บทความนี้เขียนให้เข้าใจง่าย เหมาะทั้งผู้เริ่มต้นและผู้มีประสบการณ์ มี step-by-step guide พร้อมตัวอย่างให้ทำตามได้ทันที
Network Performance Testing: iPerf, Throughput, Latency, Jitter และ Baseline — ทำไมถึงสำคัญ?
Network Performance Testing: iPerf, Throughput, Latency, Jitter และ Baseline เป็นหัวข้อสำคัญในวงการ IT ที่ System Admin, Network Engineer และ DevOps Engineer ควรเข้าใจเป็นอย่างดี การรู้เรื่องนี้จะช่วยให้ทำงานได้มีประสิทธิภาพมากขึ้น แก้ปัญหาได้เร็วขึ้น และเป็นทักษะที่ตลาดแรงงานต้องการสูง
เริ่มต้นเรียนรู้ Network Performance Testing: iPerf, Throughput, Latency, Jitter และ Baseline
แนะนำ path การเรียนรู้:
- อ่านเอกสาร official — เริ่มจาก documentation ของเครื่องมือ/เทคโนโลยีนั้นๆ
- ทำ lab จริง — ตั้ง VM หรือ Docker container แล้วลองทำตาม tutorial
- ทำ project จริง — ใช้กับงานจริงหรือ side project เรียนรู้จากปัญหาที่เจอ
- อ่าน best practices — ศึกษาว่าคนอื่นใช้งานจริงยังไง มี pitfall อะไร
- เข้า community — Reddit, Stack Overflow, Thai IT groups เรียนรู้จากคนอื่น
เครื่องมือที่แนะนำสำหรับ Network Performance Testing: iPerf, Throughput, Latency, Jitter และ Baseline
| เครื่องมือ | ใช้สำหรับ | ราคา |
|---|---|---|
| VS Code | Code editor หลัก | ฟรี |
| Docker | Container + Lab environment | ฟรี |
| Git/GitHub | Version control | ฟรี |
| VirtualBox/Proxmox | Virtualization สำหรับ lab | ฟรี |
FAQ — Network Performance Testing: iPerf, Throughput, Latency, Jitter และ Baseline
Network Performance Testing: iPerf, Throughput, Latency, Jitter และ Baseline คืออะไร?
Network Performance Testing: iPerf, Throughput, Latency, Jitter และ Baseline เป็นเทคโนโลยี/ความรู้ด้าน IT ที่ช่วยให้การทำงานมีประสิทธิภาพมากขึ้น อ่านรายละเอียดทั้งหมดในบทความนี้
Network Performance Testing: iPerf, Throughput, Latency, Jitter และ Baseline เหมาะกับผู้เริ่มต้นไหม?
เหมาะครับ บทความนี้อธิบายตั้งแต่พื้นฐาน มี step-by-step guide พร้อมตัวอย่างให้ทำตาม
เรียนรู้ Network Performance Testing: iPerf, Throughput, Latency, Jitter และ Baseline ใช้เวลานานไหม?
พื้นฐานใช้เวลา 1-2 สัปดาห์ ขั้นกลาง 1-3 เดือน ขั้นสูงต้องใช้ประสบการณ์จริง 6 เดือน+
อ่านเพิ่มเติม: SiamLanCard.com | iCafeForex.com | Siam2R.com
Best Practices สำหรับ Network Performance Testing: iPerf, Throughput, Latency, Jitter และ Baseline
Network Performance Testing: iPerf, Throughput, Latency, Jitter และ Baseline มี best practices ที่ผู้เชี่ยวชาญแนะนำ:
- Documentation — จด document ทุกอย่างที่ทำ เพื่อให้คนอื่น (หรือตัวเอง 6 เดือนหลัง) เข้าใจ
- Version Control — ใช้ Git สำหรับทุก config/code เก็บ history ย้อนกลับได้
- Automation — automate task ที่ทำซ้ำๆ ด้วย script/Ansible/Terraform
- Monitoring — ตั้ง monitoring + alerting ให้รู้ปัญหาก่อน user
- Backup — กฎ 3-2-1 เสมอ 3 copies, 2 media, 1 offsite
ทรัพยากรเรียนรู้เพิ่มเติม
- Official Documentation — แหล่งเรียนรู้ที่ดีที่สุด อ่าน docs ก่อนเสมอ
- YouTube Tutorials — ดู video walkthrough เข้าใจเร็วกว่าอ่าน
- GitHub Examples — ดู code ของคนอื่น เรียนรู้จาก real projects
- Lab Practice — ตั้ง VM/Docker ฝึกจริง ไม่มีอะไรดีกว่าลงมือทำ
อ่านเพิ่มเติม: iCafeForex | XM Signal EA ฟรี | SiamLanCard | Siam2R
Best Practices สำหรับ Network Performance Testing: iPerf, Throughput, Latency, Jitter และ Baseline
Network Performance Testing: iPerf, Throughput, Latency, Jitter และ Baseline มี best practices ที่ผู้เชี่ยวชาญแนะนำ:
- Documentation — จด document ทุกอย่างที่ทำ เพื่อให้คนอื่น (หรือตัวเอง 6 เดือนหลัง) เข้าใจ
- Version Control — ใช้ Git สำหรับทุก config/code เก็บ history ย้อนกลับได้
- Automation — automate task ที่ทำซ้ำๆ ด้วย script/Ansible/Terraform
- Monitoring — ตั้ง monitoring + alerting ให้รู้ปัญหาก่อน user
- Backup — กฎ 3-2-1 เสมอ 3 copies, 2 media, 1 offsite
ทรัพยากรเรียนรู้เพิ่มเติม
- Official Documentation — แหล่งเรียนรู้ที่ดีที่สุด อ่าน docs ก่อนเสมอ
- YouTube Tutorials — ดู video walkthrough เข้าใจเร็วกว่าอ่าน
- GitHub Examples — ดู code ของคนอื่น เรียนรู้จาก real projects
- Lab Practice — ตั้ง VM/Docker ฝึกจริง ไม่มีอะไรดีกว่าลงมือทำ
อ่านเพิ่มเติม: iCafeForex | XM Signal EA ฟรี | SiamLanCard | Siam2R