Skip to content

Lay007/network-quality-assessment

Repository files navigation

network-quality-assessment

Docs Check Synthetic SLA Demo

🚀 Hardware timestamping vs software measurement

Problem

Software-based measurements are affected by OS scheduling, buffering and interrupt latency.

Solution

Use FPGA/SFP datapath timestamping with custom SLA probe packets.

Result

  • microsecond-level jitter visibility
  • accurate one-way delay
  • reliable SLA validation

⚡ What you get

  • true network delay (not host delay)
  • real jitter (not OS noise)
  • packet loss on datapath
  • correlation-ready metrics
  • hardware-free synthetic SLA demo for reproducible review

🚀 Quick navigation


🧪 Runnable synthetic SLA demo

Run the full reporting pipeline without FPGA/SFP hardware:

python tools/generate_synthetic_sla_trace.py \
  --output verification/reports/synthetic_sla_demo/synthetic_trace.csv

python tools/analyze_sla_trace.py \
  --input verification/reports/synthetic_sla_demo/synthetic_trace.csv \
  --output-dir verification/reports/synthetic_sla_demo

Generated artifacts:

verification/reports/synthetic_sla_demo/
├─ synthetic_trace.csv
├─ sla_summary.csv
├─ report.md
├─ one_way_delay_timeseries.svg
├─ jitter_histogram.svg
└─ packet_loss_timeline.svg

The same flow is checked by GitHub Actions in synthetic-sla-demo.yml. The input/output CSV contract is described in SLA trace schema.


🧭 Architecture

Architecture


🔁 Packet flow

Packet Flow


🌐 Topology

Topology


⚙️ FPGA timestamp pipeline

FPGA

Hardware timestamp datapath

Hardware timestamp datapath


📦 Packet decode (Wireshark-style)

Packet


📊 Benchmark & analytics

Benchmark Generated Analytics

SLA dashboard

SLA dashboard

The dashboard is populated with the baseline metrics from the committed sample result package under results/sample-test-1/.


Sample result package

The repository includes a small checked-in result set that reviewers can open without generating new data:

It is intentionally compact, but it gives the repository one concrete measurement artifact path instead of only templates.


🧪 Case study

👉 Metro Ethernet SLA validation


🌐 Network analysis


🧠 Root cause analysis

👉 Root cause analysis rules


⚡ Real-time system

👉 Real-time pipeline


📡 Monitoring integration

👉 Monitoring integration


⏱️ Clock synchronization

👉 PTP / clock sync


🧠 Hardcore engineering


🔬 Quick start

Generate demo dataset and graphs:

python tools/generate_demo_benchmark.py

Run the synthetic SLA demo:

python tools/generate_synthetic_sla_trace.py --output verification/reports/synthetic_sla_demo/synthetic_trace.csv
python tools/analyze_sla_trace.py --input verification/reports/synthetic_sla_demo/synthetic_trace.csv --output-dir verification/reports/synthetic_sla_demo

🎯 Demo

Example output

Packet loss: 0.02%   PASS
Delay:       0.384ms PASS
Jitter:      42us    PASS
Throughput:  941Mb/s PASS

Flow

probe -> timestamp -> metrics -> detection -> report

📜 License

MIT

About

Hardware-assisted network performance testing system with custom probe packets, FPGA/SFP timestamping, and RFC 2544 / ITU-T Y.1564 oriented measurement workflows.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors