Latest commit

History

176 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Golden Unit

Installation

Tested in Unix (ubuntu)

Client-side

## Step 1: Download source codecd {GOLDEN_UNIT_ROOT} gitclonehttps://github.com/geodranas/golden_unit.git
# Step 2: Install perfsonar (OWAMP/TWAMP)sudosnapinstallcurlsudosucurl-shttps://downloads.perfsonar.net/install|sh-s-toolssudoaptinstallperfsonar-toolssudoaptinstallowamp-serversudoaptinstallowamp-clientsudoaptinstalltwamp-serversudoaptinstalltwamp-clientexit
# Step 3: Install iperfsudoapt-getinstalliperf3
# Step 4: Install wiresharksudoaptinstalltsharksudoapt-getinstallwiresharksudodpkg-reconfigurewireshark-commonsudousermod-a-Gwireshark $USER
# Step 5: Install and activate dockersudoapt-getinstalldocker# if it fails, try with docker.iosudogroupadddockersudogpasswd-a $USERdockersudoreboot
# Step 6: Install udp-pingcd/{GOLDEN_UNIT_ROOT}/golden_unit/clientgitclonehttps://github.com/EricssonResearch/udp-ping.gitsudoapt-getinstallbuild-essentialsudoapt-getinstalllibboost-program-options-devsudoapt-getinstallcmakecd/{GOLDEN_UNIT_ROOT}/golden_unit/client/udp-pingg++-oudpServerudpServer.cpp-lboost_program_optionsg++-oudpClientudpClient.cpp-lboost_program_options
# Step 7: Install Python/Anaconda (recommended)<installanaconda>condacreate--namegolden_unitpython=3.8condaactivategolden_unitpipinstalliperf3pysharkpandasdockericmplibpyserialpipinstallpaho-mqttdashdash-bootstrap-componentsmatplotlibfsspec
# Step 8: Build Client-side docker imagescd {GOLDEN_UNIT_ROOT}/golden_unit/client/client_streamdockerbuild-tclient_stream .
cd {GOLDEN_UNIT_ROOT}/golden_unit/client/client_mqttdockerbuild-tclient_mqtt .
dockerimages# you should see all images generated

Server-side

# Repeat Steps: 1-7 from client-side installation
# (optional) Step 2: Disable firewalls if exposure of interfaces is blockedsudoufwdisable
# Step 3: Server-side docker imagescd {GOLDEN_UNIT_ROOT}/golden_unit/server/server_streamdockerbuild-tserver_stream .
dockerimages# you should see all images generated

Execution

Option 1: Server-side (bare-metal)

# Terminal 1: Activate iperfiperf3--server
# Terminal 2: Activate udp-pingcd/{GOLDEN_UNIT_ROOT}/golden_unit/server/udp-ping
./udpServer
# Terminal 3: Activate OWAMP/TWAMP
(normallynoactionisrequiredintheserver-side)
# Terminal 4: Activate Dockers at server-sidedockerrun-d--rm-p1883:1883-p8883:8883--namenanomqemqx/nanomq:latestdockerrun-it--rm-eENV_SERVER_IP={GOLDEN_UNIT_CLIENT_IP} -eENV_SERVER_PORT=8888--network=bridgeserver_stream
(thestreamerimageneedstoberegularlycheckedandoccasionallyrestarted-checklogs)

Option 2: Server-side (helm)

Components

The EaaS deployment runs:

  • qoscope-measurement-tools

    • iperf3 server on TCP/UDP 5201
    • udp-ping server on UDP 1234
  • NanoMQ

    • MQTT broker on TCP 1883
    • MQTTS on TCP 8883
  • qoscope-server-stream

    • UL video receiver logic
    • connects to the UE/video-source IP and port

Docker images

The Helm chart expects the following images:

ghcr.io/feron-tech/qoscope-measurement-tools:latest
ghcr.io/feron-tech/qoscope-server-stream:latest
emqx/nanomq:latest

Configure the Helm chart before EaaS deployment

Edit:

eaas/application/Artifacts/MCIOPs/qoscope-server/values.yaml

Important fields:

images:
measurementTools: ghcr.io/feron-tech/qoscope-measurement-tools:latestserverStream: ghcr.io/feron-tech/qoscope-server-stream:latestnanomq: emqx/nanomq:latestvideo:
sourceIP: "<UE_REACHABLE_IP>"sourcePort: "8888"services:
iperfNodePortTcp: 32101iperfNodePortUdp: 32102udpPingNodePort: 32103mqttNodePort: 32104mqttsNodePort: 32105

video.sourceIP must be set to the reachable UE/video-source IP.

Rebuild the Helm package

After changing values.yaml, rebuild the Helm .tgz:

cd eaas/application/Artifacts/MCIOPs
helm package qoscope-server

This creates:

qoscope-server-0.1.0.tgz

EaaS application package

The EaaS application package should include:

application/
├── QoSCOPEApplication.yaml
├── QoSCOPEApplication.mf
└── Artifacts/
└── MCIOPs/
└── qoscope-server-0.1.0.tgz

The application YAML must reference:

mciopId: Artifacts/MCIOPs/qoscope-server-0.1.0.tgz

Then zip the application folder according to the EaaS example format:

cd eaas/application
zip -r app.zip QoSCOPEApplication.yaml QoSCOPEApplication.mf Artifacts/

Upload app.zip to the EaaS platform.

Client-side (bare-metal)

# Terminal 1: Set root dir & activate toolcd/{GOLDEN_UNIT_ROOT}/golden_unit/nanogparams.py# (settings)<setyour"ROOT_DIR"dependingonyourOS><disable"LOCAL_TEST"flag><saveandexit>
# Terminal 2: Initiate backendcd/{GOLDEN_UNIT_ROOT}/golden_unit/# check that conda env is activatedpythonmain_backend.py
(notethatexistingDockercontainerswillberemoved)
# Terminal 3: Enable PHY layer measurementscd/{GOLDEN_UNIT_ROOT}/golden_unit/
{ROOT}/envs/golden_unit/bin/pythonphysical.py# use python bin to run physical.py script
# Terminal 4: Initiate GUIcd/{GOLDEN_UNIT_ROOT}/golden_unit/# check that conda env is activatedpythonmain_gui.py

GUI - Live monitoring

  • Baseline statistics

    • Requires at least 2 experiments for visualization
    • Live (aggregated) stats
      • Mean packet throughput - TCP (UL/DL) from iperf3
      • Mean packet throughput - UDP from iperf3
      • Packet RTT & Jitter from icmp ping
  • Application-specific statistics

    • Requires at least 2 experiments for visualization
    • Live (aggregated) stats
      • Mean throughput for each application
      • Mean RTT for each application
  • Event log

    • Shows information in regards to the campaign's progress
  • Save stats button

    • Downloads raw experiment data (packet-level)
    • This might require several mins depending on the experiment's settings

Results

# Method 1DownloadfromGUIatclientside: "Save stats"button# Method 2cd/{GOLDEN_UNIT_ROOT}/golden_unit/#At client-side<resultsareshowninthe"db"folder>

Output

iperf test

  • File: iperf.json
  • Stats frequency: per iperf experiment
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
tcp_dl_retransmitsiperf TCP Downlink - # retransmissions
tcp_dl_sent_bpsiperf TCP Downlink - sent rate (bps)
tcp_dl_sent_bytesiperf TCP Downlink - sent payload (bytes)
tcp_dl_received_bpsiperf TCP Downlink - received rate (bps)
tcp_dl_received_bytesiperf TCP Downlink - received payload (bytes)
tcp_ul_retransmitsiperf TCP Uplink - # retransmissions
tcp_ul_sent_bpsiperf TCP Uplink - sent rate (bps)
tcp_ul_sent_bytesiperf TCP Uplink - sent payload (bytes)
tcp_ul_received_bpsiperf TCP Uplink - received rate (bps)
tcp_ul_received_bytesiperf TCP Uplink - received payload (bytes)
udp_dl_bytesiperf UDP Downlink - payload (bytes)
udp_dl_bpsiperf UDP Downlink - rate (bps)
udp_dl_jitter_msiperf UDP Downlink - jitter (ms)
udp_dl_lost_percentiperf UDP Downlink - lost packet percentage (%)
udp_ul_bytesiperf UDP Uplink - payload (bytes)
udp_ul_bpsiperf UDP Uplink - rate (bps)
udp_ul_jitter_msiperf UDP Uplink - jitter (ms)
udp_ul_lost_percentiperf UDP Uplink - lost packet percentage (%)

icmp ping test

  • File: icmp.json
  • Stats frequency: per icmp experiment
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
min_rtt_msminimum round-trip-time of all packets (ms)
avg_rtt_msaverage round-trip-time of all packets (ms)
max_rtt_msmaximum round-trip-time of all packets (ms)
rtts_msround-trip-times for all packets (ms)
packets_senttotal packets sent
packets_receivedtotal packets received
packet_loss_0to1packet loss ratio (minimum 0, maximum 1)
jitter_mstotal jitter (standard deviation of rtt in ms)

udp ping test

  • File: udpping.json
  • Stats frequency: per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
seq_nrsequency (packet) number
send_timesend timestamp
server_timeserver timestamp
receive_timereceive timestamp
client2server_nsclient-to-server delay (ns)
server2client_nsserver-to-client delay (ns)
rtt_nsround-trip delay (ns)

owamp test

  • File: owamp.json
  • Stats frequency: per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
seq_nrsequence number (unsigned long)
tx_timesendtime (owptimestamp - PRIu64)
tx_syncsend synchronized flag (boolean unsigned)
tx_err_percsend err estimate (float %)
rx_timerecvtime (owptimestamp - PRIu64)
rx_syncrecv synchronized flag (boolean unsigned)
rx_err_percrecv err estimate (float %)
ttlttl (unsigned short)
directiondirection (ul/dl) aka client to/from server (string)

twamp test

  • File: owamp.json
  • Stats frequency: per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
tx_seq_nrsend sequence number (unsigned long)
tx_timesendtime (owptimestamp - PRIu64)
tx_syncsend synchronized flag (boolean unsigned)
tx_err_percsend err estimate (float %)
tx_rx_timesend (receive) time (owptimestamp - PRIu64)
tx_rx_syncsend (receive) synchronized flag (boolean unsigned)
tx_rx_err_percsend (receive) err estimate (float %)
tx_ttlsend ttl (unsigned short)
reflect_seq_nrreflect sequence number (unsigned long)
reflect_tx_timereflected (send) time (owptimestamp - PRIu64)
reflect_tx_syncreflected (send) synchronized (boolean unsigned)
reflect_tx_err_percreflected (send) err estimate (float %)
rx_timerecvtime (owptimestamp - PRIu64)
rx_syncrecv synchronized flag (boolean unsigned)
rx_err_percrecv err estimate (float %g)
reflect_ttlreflected ttl (unsigned short)

application-based tests

  • File: app.json
  • Stats frequency: per application per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
app_nameapplication name (string)
pack_idpacket id (wireshark)
sniff_timesniffing time (wireshark)
sniff_timestampsniffing timestamp (wireshark)
protocolpacket protocol (TCP, UDP, ICMP, etc.)
pack_len_bytespacket length (bytes)
addr_srcsource IP address
port_srcsource port
addr_destdestination IP address
port_destdestination port
rttround-trip-time (sec)
drop_flagif packet is lost (boolean)
  • File: gui_app.json
  • Stats frequency: per experiment (aggregated app statistics)
FeatureDescription
RTT (msec)Mean Round-trip-time of all application packets (msec)
app_nameApplication name
Throughput (Mbps)Application throughput during the experiment(Mbps)
timestampMeasurement UNIX timestamp

physical layer test

  • File: phy.json
  • Stats frequency: serial connection (async w.r.t. to the experiment)
FeatureDescription
camp_nameMeasurement campaign name
timestampUNIX timestamp
mode_prefRAN mode (LTE/5G)
operOperator
actOperator response
apnAPN
resp1APN response
rssiRSSI
berBit-error rate
qrsrp_prxQRSRP
qrsrp_drxQRSRP
qrsrp_rx2QRSRP
qrsrp_rx3QRSRP
qrsrp_sysmodeQRSRP
rsrq_prxRSRQ
rsrq_drxRSRQ
rsrq_rx2RSRQ
rsrq_rx3RSRQ
rsrq_sysmodeRSRQ
sinr_prxSINR
sinr_drxSINR
sinr_rx2SINR
sinr_rx3SINR
sinr_sysmodeSINR
net_infoNetwork param info
serving_cell_infoServing cell param info
  • File: phy_raw.json
  • Raw responses of the modem's AT cmds

input user settings

  • File: in_user.json

campaign log file

  • File: out_log.json

Tools repository

About

Benchmotiv replacement

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { // Add copy buttons to all
 blocks
(function() {
function addCopyButtons() {
document.querySelectorAll('pre code').forEach(function(codeBlock) {
if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;
codeBlock.parentElement.setAttribute('data-copy-added', 'true');
var btn = document.createElement('button');
btn.textContent = 'Copy';
btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';
btn.onmouseover = function() { this.style.opacity = '1'; };
btn.onmouseout = function() { this.style.opacity = '0.7'; };
btn.onclick = function() {
navigator.clipboard.writeText(codeBlock.textContent).then(function() {
btn.textContent = 'Copied!';
setTimeout(function() { btn.textContent = 'Copy'; }, 1500);
});
};
codeBlock.parentElement.style.position = 'relative';
codeBlock.parentElement.appendChild(btn);
});
}
addCopyButtons();
// Re-run on dynamic content
var observer = new MutationObserver(addCopyButtons);
observer.observe(document.body, { childList: true, subtree: true });
})();
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Skip to content

Latest commit

History

176 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Golden Unit

Installation

Tested in Unix (ubuntu)

Client-side

## Step 1: Download source codecd {GOLDEN_UNIT_ROOT} gitclonehttps://github.com/geodranas/golden_unit.git
# Step 2: Install perfsonar (OWAMP/TWAMP)sudosnapinstallcurlsudosucurl-shttps://downloads.perfsonar.net/install|sh-s-toolssudoaptinstallperfsonar-toolssudoaptinstallowamp-serversudoaptinstallowamp-clientsudoaptinstalltwamp-serversudoaptinstalltwamp-clientexit
# Step 3: Install iperfsudoapt-getinstalliperf3
# Step 4: Install wiresharksudoaptinstalltsharksudoapt-getinstallwiresharksudodpkg-reconfigurewireshark-commonsudousermod-a-Gwireshark $USER
# Step 5: Install and activate dockersudoapt-getinstalldocker# if it fails, try with docker.iosudogroupadddockersudogpasswd-a $USERdockersudoreboot
# Step 6: Install udp-pingcd/{GOLDEN_UNIT_ROOT}/golden_unit/clientgitclonehttps://github.com/EricssonResearch/udp-ping.gitsudoapt-getinstallbuild-essentialsudoapt-getinstalllibboost-program-options-devsudoapt-getinstallcmakecd/{GOLDEN_UNIT_ROOT}/golden_unit/client/udp-pingg++-oudpServerudpServer.cpp-lboost_program_optionsg++-oudpClientudpClient.cpp-lboost_program_options
# Step 7: Install Python/Anaconda (recommended)<installanaconda>condacreate--namegolden_unitpython=3.8condaactivategolden_unitpipinstalliperf3pysharkpandasdockericmplibpyserialpipinstallpaho-mqttdashdash-bootstrap-componentsmatplotlibfsspec
# Step 8: Build Client-side docker imagescd {GOLDEN_UNIT_ROOT}/golden_unit/client/client_streamdockerbuild-tclient_stream .
cd {GOLDEN_UNIT_ROOT}/golden_unit/client/client_mqttdockerbuild-tclient_mqtt .
dockerimages# you should see all images generated

Server-side

# Repeat Steps: 1-7 from client-side installation
# (optional) Step 2: Disable firewalls if exposure of interfaces is blockedsudoufwdisable
# Step 3: Server-side docker imagescd {GOLDEN_UNIT_ROOT}/golden_unit/server/server_streamdockerbuild-tserver_stream .
dockerimages# you should see all images generated

Execution

Option 1: Server-side (bare-metal)

# Terminal 1: Activate iperfiperf3--server
# Terminal 2: Activate udp-pingcd/{GOLDEN_UNIT_ROOT}/golden_unit/server/udp-ping
./udpServer
# Terminal 3: Activate OWAMP/TWAMP
(normallynoactionisrequiredintheserver-side)
# Terminal 4: Activate Dockers at server-sidedockerrun-d--rm-p1883:1883-p8883:8883--namenanomqemqx/nanomq:latestdockerrun-it--rm-eENV_SERVER_IP={GOLDEN_UNIT_CLIENT_IP} -eENV_SERVER_PORT=8888--network=bridgeserver_stream
(thestreamerimageneedstoberegularlycheckedandoccasionallyrestarted-checklogs)

Option 2: Server-side (helm)

Components

The EaaS deployment runs:

  • qoscope-measurement-tools

    • iperf3 server on TCP/UDP 5201
    • udp-ping server on UDP 1234
  • NanoMQ

    • MQTT broker on TCP 1883
    • MQTTS on TCP 8883
  • qoscope-server-stream

    • UL video receiver logic
    • connects to the UE/video-source IP and port

Docker images

The Helm chart expects the following images:

ghcr.io/feron-tech/qoscope-measurement-tools:latest
ghcr.io/feron-tech/qoscope-server-stream:latest
emqx/nanomq:latest

Configure the Helm chart before EaaS deployment

Edit:

eaas/application/Artifacts/MCIOPs/qoscope-server/values.yaml

Important fields:

images:
measurementTools: ghcr.io/feron-tech/qoscope-measurement-tools:latestserverStream: ghcr.io/feron-tech/qoscope-server-stream:latestnanomq: emqx/nanomq:latestvideo:
sourceIP: "<UE_REACHABLE_IP>"sourcePort: "8888"services:
iperfNodePortTcp: 32101iperfNodePortUdp: 32102udpPingNodePort: 32103mqttNodePort: 32104mqttsNodePort: 32105

video.sourceIP must be set to the reachable UE/video-source IP.

Rebuild the Helm package

After changing values.yaml, rebuild the Helm .tgz:

cd eaas/application/Artifacts/MCIOPs
helm package qoscope-server

This creates:

qoscope-server-0.1.0.tgz

EaaS application package

The EaaS application package should include:

application/
├── QoSCOPEApplication.yaml
├── QoSCOPEApplication.mf
└── Artifacts/
└── MCIOPs/
└── qoscope-server-0.1.0.tgz

The application YAML must reference:

mciopId: Artifacts/MCIOPs/qoscope-server-0.1.0.tgz

Then zip the application folder according to the EaaS example format:

cd eaas/application
zip -r app.zip QoSCOPEApplication.yaml QoSCOPEApplication.mf Artifacts/

Upload app.zip to the EaaS platform.

Client-side (bare-metal)

# Terminal 1: Set root dir & activate toolcd/{GOLDEN_UNIT_ROOT}/golden_unit/nanogparams.py# (settings)<setyour"ROOT_DIR"dependingonyourOS><disable"LOCAL_TEST"flag><saveandexit>
# Terminal 2: Initiate backendcd/{GOLDEN_UNIT_ROOT}/golden_unit/# check that conda env is activatedpythonmain_backend.py
(notethatexistingDockercontainerswillberemoved)
# Terminal 3: Enable PHY layer measurementscd/{GOLDEN_UNIT_ROOT}/golden_unit/
{ROOT}/envs/golden_unit/bin/pythonphysical.py# use python bin to run physical.py script
# Terminal 4: Initiate GUIcd/{GOLDEN_UNIT_ROOT}/golden_unit/# check that conda env is activatedpythonmain_gui.py

GUI - Live monitoring

  • Baseline statistics

    • Requires at least 2 experiments for visualization
    • Live (aggregated) stats
      • Mean packet throughput - TCP (UL/DL) from iperf3
      • Mean packet throughput - UDP from iperf3
      • Packet RTT & Jitter from icmp ping
  • Application-specific statistics

    • Requires at least 2 experiments for visualization
    • Live (aggregated) stats
      • Mean throughput for each application
      • Mean RTT for each application
  • Event log

    • Shows information in regards to the campaign's progress
  • Save stats button

    • Downloads raw experiment data (packet-level)
    • This might require several mins depending on the experiment's settings

Results

# Method 1DownloadfromGUIatclientside: "Save stats"button# Method 2cd/{GOLDEN_UNIT_ROOT}/golden_unit/#At client-side<resultsareshowninthe"db"folder>

Output

iperf test

  • File: iperf.json
  • Stats frequency: per iperf experiment
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
tcp_dl_retransmitsiperf TCP Downlink - # retransmissions
tcp_dl_sent_bpsiperf TCP Downlink - sent rate (bps)
tcp_dl_sent_bytesiperf TCP Downlink - sent payload (bytes)
tcp_dl_received_bpsiperf TCP Downlink - received rate (bps)
tcp_dl_received_bytesiperf TCP Downlink - received payload (bytes)
tcp_ul_retransmitsiperf TCP Uplink - # retransmissions
tcp_ul_sent_bpsiperf TCP Uplink - sent rate (bps)
tcp_ul_sent_bytesiperf TCP Uplink - sent payload (bytes)
tcp_ul_received_bpsiperf TCP Uplink - received rate (bps)
tcp_ul_received_bytesiperf TCP Uplink - received payload (bytes)
udp_dl_bytesiperf UDP Downlink - payload (bytes)
udp_dl_bpsiperf UDP Downlink - rate (bps)
udp_dl_jitter_msiperf UDP Downlink - jitter (ms)
udp_dl_lost_percentiperf UDP Downlink - lost packet percentage (%)
udp_ul_bytesiperf UDP Uplink - payload (bytes)
udp_ul_bpsiperf UDP Uplink - rate (bps)
udp_ul_jitter_msiperf UDP Uplink - jitter (ms)
udp_ul_lost_percentiperf UDP Uplink - lost packet percentage (%)

icmp ping test

  • File: icmp.json
  • Stats frequency: per icmp experiment
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
min_rtt_msminimum round-trip-time of all packets (ms)
avg_rtt_msaverage round-trip-time of all packets (ms)
max_rtt_msmaximum round-trip-time of all packets (ms)
rtts_msround-trip-times for all packets (ms)
packets_senttotal packets sent
packets_receivedtotal packets received
packet_loss_0to1packet loss ratio (minimum 0, maximum 1)
jitter_mstotal jitter (standard deviation of rtt in ms)

udp ping test

  • File: udpping.json
  • Stats frequency: per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
seq_nrsequency (packet) number
send_timesend timestamp
server_timeserver timestamp
receive_timereceive timestamp
client2server_nsclient-to-server delay (ns)
server2client_nsserver-to-client delay (ns)
rtt_nsround-trip delay (ns)

owamp test

  • File: owamp.json
  • Stats frequency: per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
seq_nrsequence number (unsigned long)
tx_timesendtime (owptimestamp - PRIu64)
tx_syncsend synchronized flag (boolean unsigned)
tx_err_percsend err estimate (float %)
rx_timerecvtime (owptimestamp - PRIu64)
rx_syncrecv synchronized flag (boolean unsigned)
rx_err_percrecv err estimate (float %)
ttlttl (unsigned short)
directiondirection (ul/dl) aka client to/from server (string)

twamp test

  • File: owamp.json
  • Stats frequency: per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
tx_seq_nrsend sequence number (unsigned long)
tx_timesendtime (owptimestamp - PRIu64)
tx_syncsend synchronized flag (boolean unsigned)
tx_err_percsend err estimate (float %)
tx_rx_timesend (receive) time (owptimestamp - PRIu64)
tx_rx_syncsend (receive) synchronized flag (boolean unsigned)
tx_rx_err_percsend (receive) err estimate (float %)
tx_ttlsend ttl (unsigned short)
reflect_seq_nrreflect sequence number (unsigned long)
reflect_tx_timereflected (send) time (owptimestamp - PRIu64)
reflect_tx_syncreflected (send) synchronized (boolean unsigned)
reflect_tx_err_percreflected (send) err estimate (float %)
rx_timerecvtime (owptimestamp - PRIu64)
rx_syncrecv synchronized flag (boolean unsigned)
rx_err_percrecv err estimate (float %g)
reflect_ttlreflected ttl (unsigned short)

application-based tests

  • File: app.json
  • Stats frequency: per application per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
app_nameapplication name (string)
pack_idpacket id (wireshark)
sniff_timesniffing time (wireshark)
sniff_timestampsniffing timestamp (wireshark)
protocolpacket protocol (TCP, UDP, ICMP, etc.)
pack_len_bytespacket length (bytes)
addr_srcsource IP address
port_srcsource port
addr_destdestination IP address
port_destdestination port
rttround-trip-time (sec)
drop_flagif packet is lost (boolean)
  • File: gui_app.json
  • Stats frequency: per experiment (aggregated app statistics)
FeatureDescription
RTT (msec)Mean Round-trip-time of all application packets (msec)
app_nameApplication name
Throughput (Mbps)Application throughput during the experiment(Mbps)
timestampMeasurement UNIX timestamp

physical layer test

  • File: phy.json
  • Stats frequency: serial connection (async w.r.t. to the experiment)
FeatureDescription
camp_nameMeasurement campaign name
timestampUNIX timestamp
mode_prefRAN mode (LTE/5G)
operOperator
actOperator response
apnAPN
resp1APN response
rssiRSSI
berBit-error rate
qrsrp_prxQRSRP
qrsrp_drxQRSRP
qrsrp_rx2QRSRP
qrsrp_rx3QRSRP
qrsrp_sysmodeQRSRP
rsrq_prxRSRQ
rsrq_drxRSRQ
rsrq_rx2RSRQ
rsrq_rx3RSRQ
rsrq_sysmodeRSRQ
sinr_prxSINR
sinr_drxSINR
sinr_rx2SINR
sinr_rx3SINR
sinr_sysmodeSINR
net_infoNetwork param info
serving_cell_infoServing cell param info
  • File: phy_raw.json
  • Raw responses of the modem's AT cmds

input user settings

  • File: in_user.json

campaign log file

  • File: out_log.json

Tools repository

About

Benchmotiv replacement

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { // Force GitHub README to respect dark mode (function() { var style = document.createElement('style'); style.textContent = ' .markdown-body { color-scheme: dark light; } .markdown-body pre { background: #161b22 !important; } .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; } .markdown-body table th, .markdown-body table td { border-color: #30363d !important; } .markdown-body img { background: #0d1117; } .markdown-body blockquote { border-left-color: #8b949e; } .markdown-body hr { border-color: #30363d; } '; document.head.appendChild(style); })(); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Latest commit

History

176 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Golden Unit

Installation

Tested in Unix (ubuntu)

Client-side

## Step 1: Download source codecd {GOLDEN_UNIT_ROOT} gitclonehttps://github.com/geodranas/golden_unit.git
# Step 2: Install perfsonar (OWAMP/TWAMP)sudosnapinstallcurlsudosucurl-shttps://downloads.perfsonar.net/install|sh-s-toolssudoaptinstallperfsonar-toolssudoaptinstallowamp-serversudoaptinstallowamp-clientsudoaptinstalltwamp-serversudoaptinstalltwamp-clientexit
# Step 3: Install iperfsudoapt-getinstalliperf3
# Step 4: Install wiresharksudoaptinstalltsharksudoapt-getinstallwiresharksudodpkg-reconfigurewireshark-commonsudousermod-a-Gwireshark $USER
# Step 5: Install and activate dockersudoapt-getinstalldocker# if it fails, try with docker.iosudogroupadddockersudogpasswd-a $USERdockersudoreboot
# Step 6: Install udp-pingcd/{GOLDEN_UNIT_ROOT}/golden_unit/clientgitclonehttps://github.com/EricssonResearch/udp-ping.gitsudoapt-getinstallbuild-essentialsudoapt-getinstalllibboost-program-options-devsudoapt-getinstallcmakecd/{GOLDEN_UNIT_ROOT}/golden_unit/client/udp-pingg++-oudpServerudpServer.cpp-lboost_program_optionsg++-oudpClientudpClient.cpp-lboost_program_options
# Step 7: Install Python/Anaconda (recommended)<installanaconda>condacreate--namegolden_unitpython=3.8condaactivategolden_unitpipinstalliperf3pysharkpandasdockericmplibpyserialpipinstallpaho-mqttdashdash-bootstrap-componentsmatplotlibfsspec
# Step 8: Build Client-side docker imagescd {GOLDEN_UNIT_ROOT}/golden_unit/client/client_streamdockerbuild-tclient_stream .
cd {GOLDEN_UNIT_ROOT}/golden_unit/client/client_mqttdockerbuild-tclient_mqtt .
dockerimages# you should see all images generated

Server-side

# Repeat Steps: 1-7 from client-side installation
# (optional) Step 2: Disable firewalls if exposure of interfaces is blockedsudoufwdisable
# Step 3: Server-side docker imagescd {GOLDEN_UNIT_ROOT}/golden_unit/server/server_streamdockerbuild-tserver_stream .
dockerimages# you should see all images generated

Execution

Option 1: Server-side (bare-metal)

# Terminal 1: Activate iperfiperf3--server
# Terminal 2: Activate udp-pingcd/{GOLDEN_UNIT_ROOT}/golden_unit/server/udp-ping
./udpServer
# Terminal 3: Activate OWAMP/TWAMP
(normallynoactionisrequiredintheserver-side)
# Terminal 4: Activate Dockers at server-sidedockerrun-d--rm-p1883:1883-p8883:8883--namenanomqemqx/nanomq:latestdockerrun-it--rm-eENV_SERVER_IP={GOLDEN_UNIT_CLIENT_IP} -eENV_SERVER_PORT=8888--network=bridgeserver_stream
(thestreamerimageneedstoberegularlycheckedandoccasionallyrestarted-checklogs)

Option 2: Server-side (helm)

Components

The EaaS deployment runs:

  • qoscope-measurement-tools

    • iperf3 server on TCP/UDP 5201
    • udp-ping server on UDP 1234
  • NanoMQ

    • MQTT broker on TCP 1883
    • MQTTS on TCP 8883
  • qoscope-server-stream

    • UL video receiver logic
    • connects to the UE/video-source IP and port

Docker images

The Helm chart expects the following images:

ghcr.io/feron-tech/qoscope-measurement-tools:latest
ghcr.io/feron-tech/qoscope-server-stream:latest
emqx/nanomq:latest

Configure the Helm chart before EaaS deployment

Edit:

eaas/application/Artifacts/MCIOPs/qoscope-server/values.yaml

Important fields:

images:
measurementTools: ghcr.io/feron-tech/qoscope-measurement-tools:latestserverStream: ghcr.io/feron-tech/qoscope-server-stream:latestnanomq: emqx/nanomq:latestvideo:
sourceIP: "<UE_REACHABLE_IP>"sourcePort: "8888"services:
iperfNodePortTcp: 32101iperfNodePortUdp: 32102udpPingNodePort: 32103mqttNodePort: 32104mqttsNodePort: 32105

video.sourceIP must be set to the reachable UE/video-source IP.

Rebuild the Helm package

After changing values.yaml, rebuild the Helm .tgz:

cd eaas/application/Artifacts/MCIOPs
helm package qoscope-server

This creates:

qoscope-server-0.1.0.tgz

EaaS application package

The EaaS application package should include:

application/
├── QoSCOPEApplication.yaml
├── QoSCOPEApplication.mf
└── Artifacts/
└── MCIOPs/
└── qoscope-server-0.1.0.tgz

The application YAML must reference:

mciopId: Artifacts/MCIOPs/qoscope-server-0.1.0.tgz

Then zip the application folder according to the EaaS example format:

cd eaas/application
zip -r app.zip QoSCOPEApplication.yaml QoSCOPEApplication.mf Artifacts/

Upload app.zip to the EaaS platform.

Client-side (bare-metal)

# Terminal 1: Set root dir & activate toolcd/{GOLDEN_UNIT_ROOT}/golden_unit/nanogparams.py# (settings)<setyour"ROOT_DIR"dependingonyourOS><disable"LOCAL_TEST"flag><saveandexit>
# Terminal 2: Initiate backendcd/{GOLDEN_UNIT_ROOT}/golden_unit/# check that conda env is activatedpythonmain_backend.py
(notethatexistingDockercontainerswillberemoved)
# Terminal 3: Enable PHY layer measurementscd/{GOLDEN_UNIT_ROOT}/golden_unit/
{ROOT}/envs/golden_unit/bin/pythonphysical.py# use python bin to run physical.py script
# Terminal 4: Initiate GUIcd/{GOLDEN_UNIT_ROOT}/golden_unit/# check that conda env is activatedpythonmain_gui.py

GUI - Live monitoring

  • Baseline statistics

    • Requires at least 2 experiments for visualization
    • Live (aggregated) stats
      • Mean packet throughput - TCP (UL/DL) from iperf3
      • Mean packet throughput - UDP from iperf3
      • Packet RTT & Jitter from icmp ping
  • Application-specific statistics

    • Requires at least 2 experiments for visualization
    • Live (aggregated) stats
      • Mean throughput for each application
      • Mean RTT for each application
  • Event log

    • Shows information in regards to the campaign's progress
  • Save stats button

    • Downloads raw experiment data (packet-level)
    • This might require several mins depending on the experiment's settings

Results

# Method 1DownloadfromGUIatclientside: "Save stats"button# Method 2cd/{GOLDEN_UNIT_ROOT}/golden_unit/#At client-side<resultsareshowninthe"db"folder>

Output

iperf test

  • File: iperf.json
  • Stats frequency: per iperf experiment
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
tcp_dl_retransmitsiperf TCP Downlink - # retransmissions
tcp_dl_sent_bpsiperf TCP Downlink - sent rate (bps)
tcp_dl_sent_bytesiperf TCP Downlink - sent payload (bytes)
tcp_dl_received_bpsiperf TCP Downlink - received rate (bps)
tcp_dl_received_bytesiperf TCP Downlink - received payload (bytes)
tcp_ul_retransmitsiperf TCP Uplink - # retransmissions
tcp_ul_sent_bpsiperf TCP Uplink - sent rate (bps)
tcp_ul_sent_bytesiperf TCP Uplink - sent payload (bytes)
tcp_ul_received_bpsiperf TCP Uplink - received rate (bps)
tcp_ul_received_bytesiperf TCP Uplink - received payload (bytes)
udp_dl_bytesiperf UDP Downlink - payload (bytes)
udp_dl_bpsiperf UDP Downlink - rate (bps)
udp_dl_jitter_msiperf UDP Downlink - jitter (ms)
udp_dl_lost_percentiperf UDP Downlink - lost packet percentage (%)
udp_ul_bytesiperf UDP Uplink - payload (bytes)
udp_ul_bpsiperf UDP Uplink - rate (bps)
udp_ul_jitter_msiperf UDP Uplink - jitter (ms)
udp_ul_lost_percentiperf UDP Uplink - lost packet percentage (%)

icmp ping test

  • File: icmp.json
  • Stats frequency: per icmp experiment
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
min_rtt_msminimum round-trip-time of all packets (ms)
avg_rtt_msaverage round-trip-time of all packets (ms)
max_rtt_msmaximum round-trip-time of all packets (ms)
rtts_msround-trip-times for all packets (ms)
packets_senttotal packets sent
packets_receivedtotal packets received
packet_loss_0to1packet loss ratio (minimum 0, maximum 1)
jitter_mstotal jitter (standard deviation of rtt in ms)

udp ping test

  • File: udpping.json
  • Stats frequency: per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
seq_nrsequency (packet) number
send_timesend timestamp
server_timeserver timestamp
receive_timereceive timestamp
client2server_nsclient-to-server delay (ns)
server2client_nsserver-to-client delay (ns)
rtt_nsround-trip delay (ns)

owamp test

  • File: owamp.json
  • Stats frequency: per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
seq_nrsequence number (unsigned long)
tx_timesendtime (owptimestamp - PRIu64)
tx_syncsend synchronized flag (boolean unsigned)
tx_err_percsend err estimate (float %)
rx_timerecvtime (owptimestamp - PRIu64)
rx_syncrecv synchronized flag (boolean unsigned)
rx_err_percrecv err estimate (float %)
ttlttl (unsigned short)
directiondirection (ul/dl) aka client to/from server (string)

twamp test

  • File: owamp.json
  • Stats frequency: per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
tx_seq_nrsend sequence number (unsigned long)
tx_timesendtime (owptimestamp - PRIu64)
tx_syncsend synchronized flag (boolean unsigned)
tx_err_percsend err estimate (float %)
tx_rx_timesend (receive) time (owptimestamp - PRIu64)
tx_rx_syncsend (receive) synchronized flag (boolean unsigned)
tx_rx_err_percsend (receive) err estimate (float %)
tx_ttlsend ttl (unsigned short)
reflect_seq_nrreflect sequence number (unsigned long)
reflect_tx_timereflected (send) time (owptimestamp - PRIu64)
reflect_tx_syncreflected (send) synchronized (boolean unsigned)
reflect_tx_err_percreflected (send) err estimate (float %)
rx_timerecvtime (owptimestamp - PRIu64)
rx_syncrecv synchronized flag (boolean unsigned)
rx_err_percrecv err estimate (float %g)
reflect_ttlreflected ttl (unsigned short)

application-based tests

  • File: app.json
  • Stats frequency: per application per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
app_nameapplication name (string)
pack_idpacket id (wireshark)
sniff_timesniffing time (wireshark)
sniff_timestampsniffing timestamp (wireshark)
protocolpacket protocol (TCP, UDP, ICMP, etc.)
pack_len_bytespacket length (bytes)
addr_srcsource IP address
port_srcsource port
addr_destdestination IP address
port_destdestination port
rttround-trip-time (sec)
drop_flagif packet is lost (boolean)
  • File: gui_app.json
  • Stats frequency: per experiment (aggregated app statistics)
FeatureDescription
RTT (msec)Mean Round-trip-time of all application packets (msec)
app_nameApplication name
Throughput (Mbps)Application throughput during the experiment(Mbps)
timestampMeasurement UNIX timestamp

physical layer test

  • File: phy.json
  • Stats frequency: serial connection (async w.r.t. to the experiment)
FeatureDescription
camp_nameMeasurement campaign name
timestampUNIX timestamp
mode_prefRAN mode (LTE/5G)
operOperator
actOperator response
apnAPN
resp1APN response
rssiRSSI
berBit-error rate
qrsrp_prxQRSRP
qrsrp_drxQRSRP
qrsrp_rx2QRSRP
qrsrp_rx3QRSRP
qrsrp_sysmodeQRSRP
rsrq_prxRSRQ
rsrq_drxRSRQ
rsrq_rx2RSRQ
rsrq_rx3RSRQ
rsrq_sysmodeRSRQ
sinr_prxSINR
sinr_drxSINR
sinr_rx2SINR
sinr_rx3SINR
sinr_sysmodeSINR
net_infoNetwork param info
serving_cell_infoServing cell param info
  • File: phy_raw.json
  • Raw responses of the modem's AT cmds

input user settings

  • File: in_user.json

campaign log file

  • File: out_log.json

Tools repository

About

Benchmotiv replacement

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { // Highlight search terms from Google/DuckDuckGo/Bing referrer (function() { var ref = document.referrer; var terms = []; if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) { var url = new URL(ref); var q = url.searchParams.get('q') || url.searchParams.get('p'); if (q) { terms = q.split(/\s+/).filter(function(t) { return t.length > 2; }); } } if (terms.length === 0) return; var style = document.createElement('style'); style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }'; document.head.appendChild(style); function highlight(node) { if (node.nodeType === 3) { // text node var text = node.textContent; var found = false; terms.forEach(function(term) { var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\]\\]/g, '\\') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Latest commit

History

176 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Golden Unit

Installation

Tested in Unix (ubuntu)

Client-side

## Step 1: Download source codecd {GOLDEN_UNIT_ROOT} gitclonehttps://github.com/geodranas/golden_unit.git
# Step 2: Install perfsonar (OWAMP/TWAMP)sudosnapinstallcurlsudosucurl-shttps://downloads.perfsonar.net/install|sh-s-toolssudoaptinstallperfsonar-toolssudoaptinstallowamp-serversudoaptinstallowamp-clientsudoaptinstalltwamp-serversudoaptinstalltwamp-clientexit
# Step 3: Install iperfsudoapt-getinstalliperf3
# Step 4: Install wiresharksudoaptinstalltsharksudoapt-getinstallwiresharksudodpkg-reconfigurewireshark-commonsudousermod-a-Gwireshark $USER
# Step 5: Install and activate dockersudoapt-getinstalldocker# if it fails, try with docker.iosudogroupadddockersudogpasswd-a $USERdockersudoreboot
# Step 6: Install udp-pingcd/{GOLDEN_UNIT_ROOT}/golden_unit/clientgitclonehttps://github.com/EricssonResearch/udp-ping.gitsudoapt-getinstallbuild-essentialsudoapt-getinstalllibboost-program-options-devsudoapt-getinstallcmakecd/{GOLDEN_UNIT_ROOT}/golden_unit/client/udp-pingg++-oudpServerudpServer.cpp-lboost_program_optionsg++-oudpClientudpClient.cpp-lboost_program_options
# Step 7: Install Python/Anaconda (recommended)<installanaconda>condacreate--namegolden_unitpython=3.8condaactivategolden_unitpipinstalliperf3pysharkpandasdockericmplibpyserialpipinstallpaho-mqttdashdash-bootstrap-componentsmatplotlibfsspec
# Step 8: Build Client-side docker imagescd {GOLDEN_UNIT_ROOT}/golden_unit/client/client_streamdockerbuild-tclient_stream .
cd {GOLDEN_UNIT_ROOT}/golden_unit/client/client_mqttdockerbuild-tclient_mqtt .
dockerimages# you should see all images generated

Server-side

# Repeat Steps: 1-7 from client-side installation
# (optional) Step 2: Disable firewalls if exposure of interfaces is blockedsudoufwdisable
# Step 3: Server-side docker imagescd {GOLDEN_UNIT_ROOT}/golden_unit/server/server_streamdockerbuild-tserver_stream .
dockerimages# you should see all images generated

Execution

Option 1: Server-side (bare-metal)

# Terminal 1: Activate iperfiperf3--server
# Terminal 2: Activate udp-pingcd/{GOLDEN_UNIT_ROOT}/golden_unit/server/udp-ping
./udpServer
# Terminal 3: Activate OWAMP/TWAMP
(normallynoactionisrequiredintheserver-side)
# Terminal 4: Activate Dockers at server-sidedockerrun-d--rm-p1883:1883-p8883:8883--namenanomqemqx/nanomq:latestdockerrun-it--rm-eENV_SERVER_IP={GOLDEN_UNIT_CLIENT_IP} -eENV_SERVER_PORT=8888--network=bridgeserver_stream
(thestreamerimageneedstoberegularlycheckedandoccasionallyrestarted-checklogs)

Option 2: Server-side (helm)

Components

The EaaS deployment runs:

  • qoscope-measurement-tools

    • iperf3 server on TCP/UDP 5201
    • udp-ping server on UDP 1234
  • NanoMQ

    • MQTT broker on TCP 1883
    • MQTTS on TCP 8883
  • qoscope-server-stream

    • UL video receiver logic
    • connects to the UE/video-source IP and port

Docker images

The Helm chart expects the following images:

ghcr.io/feron-tech/qoscope-measurement-tools:latest
ghcr.io/feron-tech/qoscope-server-stream:latest
emqx/nanomq:latest

Configure the Helm chart before EaaS deployment

Edit:

eaas/application/Artifacts/MCIOPs/qoscope-server/values.yaml

Important fields:

images:
measurementTools: ghcr.io/feron-tech/qoscope-measurement-tools:latestserverStream: ghcr.io/feron-tech/qoscope-server-stream:latestnanomq: emqx/nanomq:latestvideo:
sourceIP: "<UE_REACHABLE_IP>"sourcePort: "8888"services:
iperfNodePortTcp: 32101iperfNodePortUdp: 32102udpPingNodePort: 32103mqttNodePort: 32104mqttsNodePort: 32105

video.sourceIP must be set to the reachable UE/video-source IP.

Rebuild the Helm package

After changing values.yaml, rebuild the Helm .tgz:

cd eaas/application/Artifacts/MCIOPs
helm package qoscope-server

This creates:

qoscope-server-0.1.0.tgz

EaaS application package

The EaaS application package should include:

application/
├── QoSCOPEApplication.yaml
├── QoSCOPEApplication.mf
└── Artifacts/
└── MCIOPs/
└── qoscope-server-0.1.0.tgz

The application YAML must reference:

mciopId: Artifacts/MCIOPs/qoscope-server-0.1.0.tgz

Then zip the application folder according to the EaaS example format:

cd eaas/application
zip -r app.zip QoSCOPEApplication.yaml QoSCOPEApplication.mf Artifacts/

Upload app.zip to the EaaS platform.

Client-side (bare-metal)

# Terminal 1: Set root dir & activate toolcd/{GOLDEN_UNIT_ROOT}/golden_unit/nanogparams.py# (settings)<setyour"ROOT_DIR"dependingonyourOS><disable"LOCAL_TEST"flag><saveandexit>
# Terminal 2: Initiate backendcd/{GOLDEN_UNIT_ROOT}/golden_unit/# check that conda env is activatedpythonmain_backend.py
(notethatexistingDockercontainerswillberemoved)
# Terminal 3: Enable PHY layer measurementscd/{GOLDEN_UNIT_ROOT}/golden_unit/
{ROOT}/envs/golden_unit/bin/pythonphysical.py# use python bin to run physical.py script
# Terminal 4: Initiate GUIcd/{GOLDEN_UNIT_ROOT}/golden_unit/# check that conda env is activatedpythonmain_gui.py

GUI - Live monitoring

  • Baseline statistics

    • Requires at least 2 experiments for visualization
    • Live (aggregated) stats
      • Mean packet throughput - TCP (UL/DL) from iperf3
      • Mean packet throughput - UDP from iperf3
      • Packet RTT & Jitter from icmp ping
  • Application-specific statistics

    • Requires at least 2 experiments for visualization
    • Live (aggregated) stats
      • Mean throughput for each application
      • Mean RTT for each application
  • Event log

    • Shows information in regards to the campaign's progress
  • Save stats button

    • Downloads raw experiment data (packet-level)
    • This might require several mins depending on the experiment's settings

Results

# Method 1DownloadfromGUIatclientside: "Save stats"button# Method 2cd/{GOLDEN_UNIT_ROOT}/golden_unit/#At client-side<resultsareshowninthe"db"folder>

Output

iperf test

  • File: iperf.json
  • Stats frequency: per iperf experiment
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
tcp_dl_retransmitsiperf TCP Downlink - # retransmissions
tcp_dl_sent_bpsiperf TCP Downlink - sent rate (bps)
tcp_dl_sent_bytesiperf TCP Downlink - sent payload (bytes)
tcp_dl_received_bpsiperf TCP Downlink - received rate (bps)
tcp_dl_received_bytesiperf TCP Downlink - received payload (bytes)
tcp_ul_retransmitsiperf TCP Uplink - # retransmissions
tcp_ul_sent_bpsiperf TCP Uplink - sent rate (bps)
tcp_ul_sent_bytesiperf TCP Uplink - sent payload (bytes)
tcp_ul_received_bpsiperf TCP Uplink - received rate (bps)
tcp_ul_received_bytesiperf TCP Uplink - received payload (bytes)
udp_dl_bytesiperf UDP Downlink - payload (bytes)
udp_dl_bpsiperf UDP Downlink - rate (bps)
udp_dl_jitter_msiperf UDP Downlink - jitter (ms)
udp_dl_lost_percentiperf UDP Downlink - lost packet percentage (%)
udp_ul_bytesiperf UDP Uplink - payload (bytes)
udp_ul_bpsiperf UDP Uplink - rate (bps)
udp_ul_jitter_msiperf UDP Uplink - jitter (ms)
udp_ul_lost_percentiperf UDP Uplink - lost packet percentage (%)

icmp ping test

  • File: icmp.json
  • Stats frequency: per icmp experiment
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
min_rtt_msminimum round-trip-time of all packets (ms)
avg_rtt_msaverage round-trip-time of all packets (ms)
max_rtt_msmaximum round-trip-time of all packets (ms)
rtts_msround-trip-times for all packets (ms)
packets_senttotal packets sent
packets_receivedtotal packets received
packet_loss_0to1packet loss ratio (minimum 0, maximum 1)
jitter_mstotal jitter (standard deviation of rtt in ms)

udp ping test

  • File: udpping.json
  • Stats frequency: per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
seq_nrsequency (packet) number
send_timesend timestamp
server_timeserver timestamp
receive_timereceive timestamp
client2server_nsclient-to-server delay (ns)
server2client_nsserver-to-client delay (ns)
rtt_nsround-trip delay (ns)

owamp test

  • File: owamp.json
  • Stats frequency: per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
seq_nrsequence number (unsigned long)
tx_timesendtime (owptimestamp - PRIu64)
tx_syncsend synchronized flag (boolean unsigned)
tx_err_percsend err estimate (float %)
rx_timerecvtime (owptimestamp - PRIu64)
rx_syncrecv synchronized flag (boolean unsigned)
rx_err_percrecv err estimate (float %)
ttlttl (unsigned short)
directiondirection (ul/dl) aka client to/from server (string)

twamp test

  • File: owamp.json
  • Stats frequency: per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
tx_seq_nrsend sequence number (unsigned long)
tx_timesendtime (owptimestamp - PRIu64)
tx_syncsend synchronized flag (boolean unsigned)
tx_err_percsend err estimate (float %)
tx_rx_timesend (receive) time (owptimestamp - PRIu64)
tx_rx_syncsend (receive) synchronized flag (boolean unsigned)
tx_rx_err_percsend (receive) err estimate (float %)
tx_ttlsend ttl (unsigned short)
reflect_seq_nrreflect sequence number (unsigned long)
reflect_tx_timereflected (send) time (owptimestamp - PRIu64)
reflect_tx_syncreflected (send) synchronized (boolean unsigned)
reflect_tx_err_percreflected (send) err estimate (float %)
rx_timerecvtime (owptimestamp - PRIu64)
rx_syncrecv synchronized flag (boolean unsigned)
rx_err_percrecv err estimate (float %g)
reflect_ttlreflected ttl (unsigned short)

application-based tests

  • File: app.json
  • Stats frequency: per application per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
app_nameapplication name (string)
pack_idpacket id (wireshark)
sniff_timesniffing time (wireshark)
sniff_timestampsniffing timestamp (wireshark)
protocolpacket protocol (TCP, UDP, ICMP, etc.)
pack_len_bytespacket length (bytes)
addr_srcsource IP address
port_srcsource port
addr_destdestination IP address
port_destdestination port
rttround-trip-time (sec)
drop_flagif packet is lost (boolean)
  • File: gui_app.json
  • Stats frequency: per experiment (aggregated app statistics)
FeatureDescription
RTT (msec)Mean Round-trip-time of all application packets (msec)
app_nameApplication name
Throughput (Mbps)Application throughput during the experiment(Mbps)
timestampMeasurement UNIX timestamp

physical layer test

  • File: phy.json
  • Stats frequency: serial connection (async w.r.t. to the experiment)
FeatureDescription
camp_nameMeasurement campaign name
timestampUNIX timestamp
mode_prefRAN mode (LTE/5G)
operOperator
actOperator response
apnAPN
resp1APN response
rssiRSSI
berBit-error rate
qrsrp_prxQRSRP
qrsrp_drxQRSRP
qrsrp_rx2QRSRP
qrsrp_rx3QRSRP
qrsrp_sysmodeQRSRP
rsrq_prxRSRQ
rsrq_drxRSRQ
rsrq_rx2RSRQ
rsrq_rx3RSRQ
rsrq_sysmodeRSRQ
sinr_prxSINR
sinr_drxSINR
sinr_rx2SINR
sinr_rx3SINR
sinr_sysmodeSINR
net_infoNetwork param info
serving_cell_infoServing cell param info
  • File: phy_raw.json
  • Raw responses of the modem's AT cmds

input user settings

  • File: in_user.json

campaign log file

  • File: out_log.json

Tools repository

About

Benchmotiv replacement

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + '
Skip to content

Latest commit

History

176 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Golden Unit

Installation

Tested in Unix (ubuntu)

Client-side

## Step 1: Download source codecd {GOLDEN_UNIT_ROOT} gitclonehttps://github.com/geodranas/golden_unit.git
# Step 2: Install perfsonar (OWAMP/TWAMP)sudosnapinstallcurlsudosucurl-shttps://downloads.perfsonar.net/install|sh-s-toolssudoaptinstallperfsonar-toolssudoaptinstallowamp-serversudoaptinstallowamp-clientsudoaptinstalltwamp-serversudoaptinstalltwamp-clientexit
# Step 3: Install iperfsudoapt-getinstalliperf3
# Step 4: Install wiresharksudoaptinstalltsharksudoapt-getinstallwiresharksudodpkg-reconfigurewireshark-commonsudousermod-a-Gwireshark $USER
# Step 5: Install and activate dockersudoapt-getinstalldocker# if it fails, try with docker.iosudogroupadddockersudogpasswd-a $USERdockersudoreboot
# Step 6: Install udp-pingcd/{GOLDEN_UNIT_ROOT}/golden_unit/clientgitclonehttps://github.com/EricssonResearch/udp-ping.gitsudoapt-getinstallbuild-essentialsudoapt-getinstalllibboost-program-options-devsudoapt-getinstallcmakecd/{GOLDEN_UNIT_ROOT}/golden_unit/client/udp-pingg++-oudpServerudpServer.cpp-lboost_program_optionsg++-oudpClientudpClient.cpp-lboost_program_options
# Step 7: Install Python/Anaconda (recommended)<installanaconda>condacreate--namegolden_unitpython=3.8condaactivategolden_unitpipinstalliperf3pysharkpandasdockericmplibpyserialpipinstallpaho-mqttdashdash-bootstrap-componentsmatplotlibfsspec
# Step 8: Build Client-side docker imagescd {GOLDEN_UNIT_ROOT}/golden_unit/client/client_streamdockerbuild-tclient_stream .
cd {GOLDEN_UNIT_ROOT}/golden_unit/client/client_mqttdockerbuild-tclient_mqtt .
dockerimages# you should see all images generated

Server-side

# Repeat Steps: 1-7 from client-side installation
# (optional) Step 2: Disable firewalls if exposure of interfaces is blockedsudoufwdisable
# Step 3: Server-side docker imagescd {GOLDEN_UNIT_ROOT}/golden_unit/server/server_streamdockerbuild-tserver_stream .
dockerimages# you should see all images generated

Execution

Option 1: Server-side (bare-metal)

# Terminal 1: Activate iperfiperf3--server
# Terminal 2: Activate udp-pingcd/{GOLDEN_UNIT_ROOT}/golden_unit/server/udp-ping
./udpServer
# Terminal 3: Activate OWAMP/TWAMP
(normallynoactionisrequiredintheserver-side)
# Terminal 4: Activate Dockers at server-sidedockerrun-d--rm-p1883:1883-p8883:8883--namenanomqemqx/nanomq:latestdockerrun-it--rm-eENV_SERVER_IP={GOLDEN_UNIT_CLIENT_IP} -eENV_SERVER_PORT=8888--network=bridgeserver_stream
(thestreamerimageneedstoberegularlycheckedandoccasionallyrestarted-checklogs)

Option 2: Server-side (helm)

Components

The EaaS deployment runs:

  • qoscope-measurement-tools

    • iperf3 server on TCP/UDP 5201
    • udp-ping server on UDP 1234
  • NanoMQ

    • MQTT broker on TCP 1883
    • MQTTS on TCP 8883
  • qoscope-server-stream

    • UL video receiver logic
    • connects to the UE/video-source IP and port

Docker images

The Helm chart expects the following images:

ghcr.io/feron-tech/qoscope-measurement-tools:latest
ghcr.io/feron-tech/qoscope-server-stream:latest
emqx/nanomq:latest

Configure the Helm chart before EaaS deployment

Edit:

eaas/application/Artifacts/MCIOPs/qoscope-server/values.yaml

Important fields:

images:
measurementTools: ghcr.io/feron-tech/qoscope-measurement-tools:latestserverStream: ghcr.io/feron-tech/qoscope-server-stream:latestnanomq: emqx/nanomq:latestvideo:
sourceIP: "<UE_REACHABLE_IP>"sourcePort: "8888"services:
iperfNodePortTcp: 32101iperfNodePortUdp: 32102udpPingNodePort: 32103mqttNodePort: 32104mqttsNodePort: 32105

video.sourceIP must be set to the reachable UE/video-source IP.

Rebuild the Helm package

After changing values.yaml, rebuild the Helm .tgz:

cd eaas/application/Artifacts/MCIOPs
helm package qoscope-server

This creates:

qoscope-server-0.1.0.tgz

EaaS application package

The EaaS application package should include:

application/
├── QoSCOPEApplication.yaml
├── QoSCOPEApplication.mf
└── Artifacts/
└── MCIOPs/
└── qoscope-server-0.1.0.tgz

The application YAML must reference:

mciopId: Artifacts/MCIOPs/qoscope-server-0.1.0.tgz

Then zip the application folder according to the EaaS example format:

cd eaas/application
zip -r app.zip QoSCOPEApplication.yaml QoSCOPEApplication.mf Artifacts/

Upload app.zip to the EaaS platform.

Client-side (bare-metal)

# Terminal 1: Set root dir & activate toolcd/{GOLDEN_UNIT_ROOT}/golden_unit/nanogparams.py# (settings)<setyour"ROOT_DIR"dependingonyourOS><disable"LOCAL_TEST"flag><saveandexit>
# Terminal 2: Initiate backendcd/{GOLDEN_UNIT_ROOT}/golden_unit/# check that conda env is activatedpythonmain_backend.py
(notethatexistingDockercontainerswillberemoved)
# Terminal 3: Enable PHY layer measurementscd/{GOLDEN_UNIT_ROOT}/golden_unit/
{ROOT}/envs/golden_unit/bin/pythonphysical.py# use python bin to run physical.py script
# Terminal 4: Initiate GUIcd/{GOLDEN_UNIT_ROOT}/golden_unit/# check that conda env is activatedpythonmain_gui.py

GUI - Live monitoring

  • Baseline statistics

    • Requires at least 2 experiments for visualization
    • Live (aggregated) stats
      • Mean packet throughput - TCP (UL/DL) from iperf3
      • Mean packet throughput - UDP from iperf3
      • Packet RTT & Jitter from icmp ping
  • Application-specific statistics

    • Requires at least 2 experiments for visualization
    • Live (aggregated) stats
      • Mean throughput for each application
      • Mean RTT for each application
  • Event log

    • Shows information in regards to the campaign's progress
  • Save stats button

    • Downloads raw experiment data (packet-level)
    • This might require several mins depending on the experiment's settings

Results

# Method 1DownloadfromGUIatclientside: "Save stats"button# Method 2cd/{GOLDEN_UNIT_ROOT}/golden_unit/#At client-side<resultsareshowninthe"db"folder>

Output

iperf test

  • File: iperf.json
  • Stats frequency: per iperf experiment
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
tcp_dl_retransmitsiperf TCP Downlink - # retransmissions
tcp_dl_sent_bpsiperf TCP Downlink - sent rate (bps)
tcp_dl_sent_bytesiperf TCP Downlink - sent payload (bytes)
tcp_dl_received_bpsiperf TCP Downlink - received rate (bps)
tcp_dl_received_bytesiperf TCP Downlink - received payload (bytes)
tcp_ul_retransmitsiperf TCP Uplink - # retransmissions
tcp_ul_sent_bpsiperf TCP Uplink - sent rate (bps)
tcp_ul_sent_bytesiperf TCP Uplink - sent payload (bytes)
tcp_ul_received_bpsiperf TCP Uplink - received rate (bps)
tcp_ul_received_bytesiperf TCP Uplink - received payload (bytes)
udp_dl_bytesiperf UDP Downlink - payload (bytes)
udp_dl_bpsiperf UDP Downlink - rate (bps)
udp_dl_jitter_msiperf UDP Downlink - jitter (ms)
udp_dl_lost_percentiperf UDP Downlink - lost packet percentage (%)
udp_ul_bytesiperf UDP Uplink - payload (bytes)
udp_ul_bpsiperf UDP Uplink - rate (bps)
udp_ul_jitter_msiperf UDP Uplink - jitter (ms)
udp_ul_lost_percentiperf UDP Uplink - lost packet percentage (%)

icmp ping test

  • File: icmp.json
  • Stats frequency: per icmp experiment
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
min_rtt_msminimum round-trip-time of all packets (ms)
avg_rtt_msaverage round-trip-time of all packets (ms)
max_rtt_msmaximum round-trip-time of all packets (ms)
rtts_msround-trip-times for all packets (ms)
packets_senttotal packets sent
packets_receivedtotal packets received
packet_loss_0to1packet loss ratio (minimum 0, maximum 1)
jitter_mstotal jitter (standard deviation of rtt in ms)

udp ping test

  • File: udpping.json
  • Stats frequency: per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
seq_nrsequency (packet) number
send_timesend timestamp
server_timeserver timestamp
receive_timereceive timestamp
client2server_nsclient-to-server delay (ns)
server2client_nsserver-to-client delay (ns)
rtt_nsround-trip delay (ns)

owamp test

  • File: owamp.json
  • Stats frequency: per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
seq_nrsequence number (unsigned long)
tx_timesendtime (owptimestamp - PRIu64)
tx_syncsend synchronized flag (boolean unsigned)
tx_err_percsend err estimate (float %)
rx_timerecvtime (owptimestamp - PRIu64)
rx_syncrecv synchronized flag (boolean unsigned)
rx_err_percrecv err estimate (float %)
ttlttl (unsigned short)
directiondirection (ul/dl) aka client to/from server (string)

twamp test

  • File: owamp.json
  • Stats frequency: per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
tx_seq_nrsend sequence number (unsigned long)
tx_timesendtime (owptimestamp - PRIu64)
tx_syncsend synchronized flag (boolean unsigned)
tx_err_percsend err estimate (float %)
tx_rx_timesend (receive) time (owptimestamp - PRIu64)
tx_rx_syncsend (receive) synchronized flag (boolean unsigned)
tx_rx_err_percsend (receive) err estimate (float %)
tx_ttlsend ttl (unsigned short)
reflect_seq_nrreflect sequence number (unsigned long)
reflect_tx_timereflected (send) time (owptimestamp - PRIu64)
reflect_tx_syncreflected (send) synchronized (boolean unsigned)
reflect_tx_err_percreflected (send) err estimate (float %)
rx_timerecvtime (owptimestamp - PRIu64)
rx_syncrecv synchronized flag (boolean unsigned)
rx_err_percrecv err estimate (float %g)
reflect_ttlreflected ttl (unsigned short)

application-based tests

  • File: app.json
  • Stats frequency: per application per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
app_nameapplication name (string)
pack_idpacket id (wireshark)
sniff_timesniffing time (wireshark)
sniff_timestampsniffing timestamp (wireshark)
protocolpacket protocol (TCP, UDP, ICMP, etc.)
pack_len_bytespacket length (bytes)
addr_srcsource IP address
port_srcsource port
addr_destdestination IP address
port_destdestination port
rttround-trip-time (sec)
drop_flagif packet is lost (boolean)
  • File: gui_app.json
  • Stats frequency: per experiment (aggregated app statistics)
FeatureDescription
RTT (msec)Mean Round-trip-time of all application packets (msec)
app_nameApplication name
Throughput (Mbps)Application throughput during the experiment(Mbps)
timestampMeasurement UNIX timestamp

physical layer test

  • File: phy.json
  • Stats frequency: serial connection (async w.r.t. to the experiment)
FeatureDescription
camp_nameMeasurement campaign name
timestampUNIX timestamp
mode_prefRAN mode (LTE/5G)
operOperator
actOperator response
apnAPN
resp1APN response
rssiRSSI
berBit-error rate
qrsrp_prxQRSRP
qrsrp_drxQRSRP
qrsrp_rx2QRSRP
qrsrp_rx3QRSRP
qrsrp_sysmodeQRSRP
rsrq_prxRSRQ
rsrq_drxRSRQ
rsrq_rx2RSRQ
rsrq_rx3RSRQ
rsrq_sysmodeRSRQ
sinr_prxSINR
sinr_drxSINR
sinr_rx2SINR
sinr_rx3SINR
sinr_sysmodeSINR
net_infoNetwork param info
serving_cell_infoServing cell param info
  • File: phy_raw.json
  • Raw responses of the modem's AT cmds

input user settings

  • File: in_user.json

campaign log file

  • File: out_log.json

Tools repository

About

Benchmotiv replacement

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Latest commit

History

176 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Golden Unit

Installation

Tested in Unix (ubuntu)

Client-side

## Step 1: Download source codecd {GOLDEN_UNIT_ROOT} gitclonehttps://github.com/geodranas/golden_unit.git
# Step 2: Install perfsonar (OWAMP/TWAMP)sudosnapinstallcurlsudosucurl-shttps://downloads.perfsonar.net/install|sh-s-toolssudoaptinstallperfsonar-toolssudoaptinstallowamp-serversudoaptinstallowamp-clientsudoaptinstalltwamp-serversudoaptinstalltwamp-clientexit
# Step 3: Install iperfsudoapt-getinstalliperf3
# Step 4: Install wiresharksudoaptinstalltsharksudoapt-getinstallwiresharksudodpkg-reconfigurewireshark-commonsudousermod-a-Gwireshark $USER
# Step 5: Install and activate dockersudoapt-getinstalldocker# if it fails, try with docker.iosudogroupadddockersudogpasswd-a $USERdockersudoreboot
# Step 6: Install udp-pingcd/{GOLDEN_UNIT_ROOT}/golden_unit/clientgitclonehttps://github.com/EricssonResearch/udp-ping.gitsudoapt-getinstallbuild-essentialsudoapt-getinstalllibboost-program-options-devsudoapt-getinstallcmakecd/{GOLDEN_UNIT_ROOT}/golden_unit/client/udp-pingg++-oudpServerudpServer.cpp-lboost_program_optionsg++-oudpClientudpClient.cpp-lboost_program_options
# Step 7: Install Python/Anaconda (recommended)<installanaconda>condacreate--namegolden_unitpython=3.8condaactivategolden_unitpipinstalliperf3pysharkpandasdockericmplibpyserialpipinstallpaho-mqttdashdash-bootstrap-componentsmatplotlibfsspec
# Step 8: Build Client-side docker imagescd {GOLDEN_UNIT_ROOT}/golden_unit/client/client_streamdockerbuild-tclient_stream .
cd {GOLDEN_UNIT_ROOT}/golden_unit/client/client_mqttdockerbuild-tclient_mqtt .
dockerimages# you should see all images generated

Server-side

# Repeat Steps: 1-7 from client-side installation
# (optional) Step 2: Disable firewalls if exposure of interfaces is blockedsudoufwdisable
# Step 3: Server-side docker imagescd {GOLDEN_UNIT_ROOT}/golden_unit/server/server_streamdockerbuild-tserver_stream .
dockerimages# you should see all images generated

Execution

Option 1: Server-side (bare-metal)

# Terminal 1: Activate iperfiperf3--server
# Terminal 2: Activate udp-pingcd/{GOLDEN_UNIT_ROOT}/golden_unit/server/udp-ping
./udpServer
# Terminal 3: Activate OWAMP/TWAMP
(normallynoactionisrequiredintheserver-side)
# Terminal 4: Activate Dockers at server-sidedockerrun-d--rm-p1883:1883-p8883:8883--namenanomqemqx/nanomq:latestdockerrun-it--rm-eENV_SERVER_IP={GOLDEN_UNIT_CLIENT_IP} -eENV_SERVER_PORT=8888--network=bridgeserver_stream
(thestreamerimageneedstoberegularlycheckedandoccasionallyrestarted-checklogs)

Option 2: Server-side (helm)

Components

The EaaS deployment runs:

  • qoscope-measurement-tools

    • iperf3 server on TCP/UDP 5201
    • udp-ping server on UDP 1234
  • NanoMQ

    • MQTT broker on TCP 1883
    • MQTTS on TCP 8883
  • qoscope-server-stream

    • UL video receiver logic
    • connects to the UE/video-source IP and port

Docker images

The Helm chart expects the following images:

ghcr.io/feron-tech/qoscope-measurement-tools:latest
ghcr.io/feron-tech/qoscope-server-stream:latest
emqx/nanomq:latest

Configure the Helm chart before EaaS deployment

Edit:

eaas/application/Artifacts/MCIOPs/qoscope-server/values.yaml

Important fields:

images:
measurementTools: ghcr.io/feron-tech/qoscope-measurement-tools:latestserverStream: ghcr.io/feron-tech/qoscope-server-stream:latestnanomq: emqx/nanomq:latestvideo:
sourceIP: "<UE_REACHABLE_IP>"sourcePort: "8888"services:
iperfNodePortTcp: 32101iperfNodePortUdp: 32102udpPingNodePort: 32103mqttNodePort: 32104mqttsNodePort: 32105

video.sourceIP must be set to the reachable UE/video-source IP.

Rebuild the Helm package

After changing values.yaml, rebuild the Helm .tgz:

cd eaas/application/Artifacts/MCIOPs
helm package qoscope-server

This creates:

qoscope-server-0.1.0.tgz

EaaS application package

The EaaS application package should include:

application/
├── QoSCOPEApplication.yaml
├── QoSCOPEApplication.mf
└── Artifacts/
└── MCIOPs/
└── qoscope-server-0.1.0.tgz

The application YAML must reference:

mciopId: Artifacts/MCIOPs/qoscope-server-0.1.0.tgz

Then zip the application folder according to the EaaS example format:

cd eaas/application
zip -r app.zip QoSCOPEApplication.yaml QoSCOPEApplication.mf Artifacts/

Upload app.zip to the EaaS platform.

Client-side (bare-metal)

# Terminal 1: Set root dir & activate toolcd/{GOLDEN_UNIT_ROOT}/golden_unit/nanogparams.py# (settings)<setyour"ROOT_DIR"dependingonyourOS><disable"LOCAL_TEST"flag><saveandexit>
# Terminal 2: Initiate backendcd/{GOLDEN_UNIT_ROOT}/golden_unit/# check that conda env is activatedpythonmain_backend.py
(notethatexistingDockercontainerswillberemoved)
# Terminal 3: Enable PHY layer measurementscd/{GOLDEN_UNIT_ROOT}/golden_unit/
{ROOT}/envs/golden_unit/bin/pythonphysical.py# use python bin to run physical.py script
# Terminal 4: Initiate GUIcd/{GOLDEN_UNIT_ROOT}/golden_unit/# check that conda env is activatedpythonmain_gui.py

GUI - Live monitoring

  • Baseline statistics

    • Requires at least 2 experiments for visualization
    • Live (aggregated) stats
      • Mean packet throughput - TCP (UL/DL) from iperf3
      • Mean packet throughput - UDP from iperf3
      • Packet RTT & Jitter from icmp ping
  • Application-specific statistics

    • Requires at least 2 experiments for visualization
    • Live (aggregated) stats
      • Mean throughput for each application
      • Mean RTT for each application
  • Event log

    • Shows information in regards to the campaign's progress
  • Save stats button

    • Downloads raw experiment data (packet-level)
    • This might require several mins depending on the experiment's settings

Results

# Method 1DownloadfromGUIatclientside: "Save stats"button# Method 2cd/{GOLDEN_UNIT_ROOT}/golden_unit/#At client-side<resultsareshowninthe"db"folder>

Output

iperf test

  • File: iperf.json
  • Stats frequency: per iperf experiment
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
tcp_dl_retransmitsiperf TCP Downlink - # retransmissions
tcp_dl_sent_bpsiperf TCP Downlink - sent rate (bps)
tcp_dl_sent_bytesiperf TCP Downlink - sent payload (bytes)
tcp_dl_received_bpsiperf TCP Downlink - received rate (bps)
tcp_dl_received_bytesiperf TCP Downlink - received payload (bytes)
tcp_ul_retransmitsiperf TCP Uplink - # retransmissions
tcp_ul_sent_bpsiperf TCP Uplink - sent rate (bps)
tcp_ul_sent_bytesiperf TCP Uplink - sent payload (bytes)
tcp_ul_received_bpsiperf TCP Uplink - received rate (bps)
tcp_ul_received_bytesiperf TCP Uplink - received payload (bytes)
udp_dl_bytesiperf UDP Downlink - payload (bytes)
udp_dl_bpsiperf UDP Downlink - rate (bps)
udp_dl_jitter_msiperf UDP Downlink - jitter (ms)
udp_dl_lost_percentiperf UDP Downlink - lost packet percentage (%)
udp_ul_bytesiperf UDP Uplink - payload (bytes)
udp_ul_bpsiperf UDP Uplink - rate (bps)
udp_ul_jitter_msiperf UDP Uplink - jitter (ms)
udp_ul_lost_percentiperf UDP Uplink - lost packet percentage (%)

icmp ping test

  • File: icmp.json
  • Stats frequency: per icmp experiment
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
min_rtt_msminimum round-trip-time of all packets (ms)
avg_rtt_msaverage round-trip-time of all packets (ms)
max_rtt_msmaximum round-trip-time of all packets (ms)
rtts_msround-trip-times for all packets (ms)
packets_senttotal packets sent
packets_receivedtotal packets received
packet_loss_0to1packet loss ratio (minimum 0, maximum 1)
jitter_mstotal jitter (standard deviation of rtt in ms)

udp ping test

  • File: udpping.json
  • Stats frequency: per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
seq_nrsequency (packet) number
send_timesend timestamp
server_timeserver timestamp
receive_timereceive timestamp
client2server_nsclient-to-server delay (ns)
server2client_nsserver-to-client delay (ns)
rtt_nsround-trip delay (ns)

owamp test

  • File: owamp.json
  • Stats frequency: per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
seq_nrsequence number (unsigned long)
tx_timesendtime (owptimestamp - PRIu64)
tx_syncsend synchronized flag (boolean unsigned)
tx_err_percsend err estimate (float %)
rx_timerecvtime (owptimestamp - PRIu64)
rx_syncrecv synchronized flag (boolean unsigned)
rx_err_percrecv err estimate (float %)
ttlttl (unsigned short)
directiondirection (ul/dl) aka client to/from server (string)

twamp test

  • File: owamp.json
  • Stats frequency: per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
tx_seq_nrsend sequence number (unsigned long)
tx_timesendtime (owptimestamp - PRIu64)
tx_syncsend synchronized flag (boolean unsigned)
tx_err_percsend err estimate (float %)
tx_rx_timesend (receive) time (owptimestamp - PRIu64)
tx_rx_syncsend (receive) synchronized flag (boolean unsigned)
tx_rx_err_percsend (receive) err estimate (float %)
tx_ttlsend ttl (unsigned short)
reflect_seq_nrreflect sequence number (unsigned long)
reflect_tx_timereflected (send) time (owptimestamp - PRIu64)
reflect_tx_syncreflected (send) synchronized (boolean unsigned)
reflect_tx_err_percreflected (send) err estimate (float %)
rx_timerecvtime (owptimestamp - PRIu64)
rx_syncrecv synchronized flag (boolean unsigned)
rx_err_percrecv err estimate (float %g)
reflect_ttlreflected ttl (unsigned short)

application-based tests

  • File: app.json
  • Stats frequency: per application per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
app_nameapplication name (string)
pack_idpacket id (wireshark)
sniff_timesniffing time (wireshark)
sniff_timestampsniffing timestamp (wireshark)
protocolpacket protocol (TCP, UDP, ICMP, etc.)
pack_len_bytespacket length (bytes)
addr_srcsource IP address
port_srcsource port
addr_destdestination IP address
port_destdestination port
rttround-trip-time (sec)
drop_flagif packet is lost (boolean)
  • File: gui_app.json
  • Stats frequency: per experiment (aggregated app statistics)
FeatureDescription
RTT (msec)Mean Round-trip-time of all application packets (msec)
app_nameApplication name
Throughput (Mbps)Application throughput during the experiment(Mbps)
timestampMeasurement UNIX timestamp

physical layer test

  • File: phy.json
  • Stats frequency: serial connection (async w.r.t. to the experiment)
FeatureDescription
camp_nameMeasurement campaign name
timestampUNIX timestamp
mode_prefRAN mode (LTE/5G)
operOperator
actOperator response
apnAPN
resp1APN response
rssiRSSI
berBit-error rate
qrsrp_prxQRSRP
qrsrp_drxQRSRP
qrsrp_rx2QRSRP
qrsrp_rx3QRSRP
qrsrp_sysmodeQRSRP
rsrq_prxRSRQ
rsrq_drxRSRQ
rsrq_rx2RSRQ
rsrq_rx3RSRQ
rsrq_sysmodeRSRQ
sinr_prxSINR
sinr_drxSINR
sinr_rx2SINR
sinr_rx3SINR
sinr_sysmodeSINR
net_infoNetwork param info
serving_cell_infoServing cell param info
  • File: phy_raw.json
  • Raw responses of the modem's AT cmds

input user settings

  • File: in_user.json

campaign log file

  • File: out_log.json

Tools repository

About

Benchmotiv replacement

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Latest commit

History

176 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Golden Unit

Installation

Tested in Unix (ubuntu)

Client-side

## Step 1: Download source codecd {GOLDEN_UNIT_ROOT} gitclonehttps://github.com/geodranas/golden_unit.git
# Step 2: Install perfsonar (OWAMP/TWAMP)sudosnapinstallcurlsudosucurl-shttps://downloads.perfsonar.net/install|sh-s-toolssudoaptinstallperfsonar-toolssudoaptinstallowamp-serversudoaptinstallowamp-clientsudoaptinstalltwamp-serversudoaptinstalltwamp-clientexit
# Step 3: Install iperfsudoapt-getinstalliperf3
# Step 4: Install wiresharksudoaptinstalltsharksudoapt-getinstallwiresharksudodpkg-reconfigurewireshark-commonsudousermod-a-Gwireshark $USER
# Step 5: Install and activate dockersudoapt-getinstalldocker# if it fails, try with docker.iosudogroupadddockersudogpasswd-a $USERdockersudoreboot
# Step 6: Install udp-pingcd/{GOLDEN_UNIT_ROOT}/golden_unit/clientgitclonehttps://github.com/EricssonResearch/udp-ping.gitsudoapt-getinstallbuild-essentialsudoapt-getinstalllibboost-program-options-devsudoapt-getinstallcmakecd/{GOLDEN_UNIT_ROOT}/golden_unit/client/udp-pingg++-oudpServerudpServer.cpp-lboost_program_optionsg++-oudpClientudpClient.cpp-lboost_program_options
# Step 7: Install Python/Anaconda (recommended)<installanaconda>condacreate--namegolden_unitpython=3.8condaactivategolden_unitpipinstalliperf3pysharkpandasdockericmplibpyserialpipinstallpaho-mqttdashdash-bootstrap-componentsmatplotlibfsspec
# Step 8: Build Client-side docker imagescd {GOLDEN_UNIT_ROOT}/golden_unit/client/client_streamdockerbuild-tclient_stream .
cd {GOLDEN_UNIT_ROOT}/golden_unit/client/client_mqttdockerbuild-tclient_mqtt .
dockerimages# you should see all images generated

Server-side

# Repeat Steps: 1-7 from client-side installation
# (optional) Step 2: Disable firewalls if exposure of interfaces is blockedsudoufwdisable
# Step 3: Server-side docker imagescd {GOLDEN_UNIT_ROOT}/golden_unit/server/server_streamdockerbuild-tserver_stream .
dockerimages# you should see all images generated

Execution

Option 1: Server-side (bare-metal)

# Terminal 1: Activate iperfiperf3--server
# Terminal 2: Activate udp-pingcd/{GOLDEN_UNIT_ROOT}/golden_unit/server/udp-ping
./udpServer
# Terminal 3: Activate OWAMP/TWAMP
(normallynoactionisrequiredintheserver-side)
# Terminal 4: Activate Dockers at server-sidedockerrun-d--rm-p1883:1883-p8883:8883--namenanomqemqx/nanomq:latestdockerrun-it--rm-eENV_SERVER_IP={GOLDEN_UNIT_CLIENT_IP} -eENV_SERVER_PORT=8888--network=bridgeserver_stream
(thestreamerimageneedstoberegularlycheckedandoccasionallyrestarted-checklogs)

Option 2: Server-side (helm)

Components

The EaaS deployment runs:

  • qoscope-measurement-tools

    • iperf3 server on TCP/UDP 5201
    • udp-ping server on UDP 1234
  • NanoMQ

    • MQTT broker on TCP 1883
    • MQTTS on TCP 8883
  • qoscope-server-stream

    • UL video receiver logic
    • connects to the UE/video-source IP and port

Docker images

The Helm chart expects the following images:

ghcr.io/feron-tech/qoscope-measurement-tools:latest
ghcr.io/feron-tech/qoscope-server-stream:latest
emqx/nanomq:latest

Configure the Helm chart before EaaS deployment

Edit:

eaas/application/Artifacts/MCIOPs/qoscope-server/values.yaml

Important fields:

images:
measurementTools: ghcr.io/feron-tech/qoscope-measurement-tools:latestserverStream: ghcr.io/feron-tech/qoscope-server-stream:latestnanomq: emqx/nanomq:latestvideo:
sourceIP: "<UE_REACHABLE_IP>"sourcePort: "8888"services:
iperfNodePortTcp: 32101iperfNodePortUdp: 32102udpPingNodePort: 32103mqttNodePort: 32104mqttsNodePort: 32105

video.sourceIP must be set to the reachable UE/video-source IP.

Rebuild the Helm package

After changing values.yaml, rebuild the Helm .tgz:

cd eaas/application/Artifacts/MCIOPs
helm package qoscope-server

This creates:

qoscope-server-0.1.0.tgz

EaaS application package

The EaaS application package should include:

application/
├── QoSCOPEApplication.yaml
├── QoSCOPEApplication.mf
└── Artifacts/
└── MCIOPs/
└── qoscope-server-0.1.0.tgz

The application YAML must reference:

mciopId: Artifacts/MCIOPs/qoscope-server-0.1.0.tgz

Then zip the application folder according to the EaaS example format:

cd eaas/application
zip -r app.zip QoSCOPEApplication.yaml QoSCOPEApplication.mf Artifacts/

Upload app.zip to the EaaS platform.

Client-side (bare-metal)

# Terminal 1: Set root dir & activate toolcd/{GOLDEN_UNIT_ROOT}/golden_unit/nanogparams.py# (settings)<setyour"ROOT_DIR"dependingonyourOS><disable"LOCAL_TEST"flag><saveandexit>
# Terminal 2: Initiate backendcd/{GOLDEN_UNIT_ROOT}/golden_unit/# check that conda env is activatedpythonmain_backend.py
(notethatexistingDockercontainerswillberemoved)
# Terminal 3: Enable PHY layer measurementscd/{GOLDEN_UNIT_ROOT}/golden_unit/
{ROOT}/envs/golden_unit/bin/pythonphysical.py# use python bin to run physical.py script
# Terminal 4: Initiate GUIcd/{GOLDEN_UNIT_ROOT}/golden_unit/# check that conda env is activatedpythonmain_gui.py

GUI - Live monitoring

  • Baseline statistics

    • Requires at least 2 experiments for visualization
    • Live (aggregated) stats
      • Mean packet throughput - TCP (UL/DL) from iperf3
      • Mean packet throughput - UDP from iperf3
      • Packet RTT & Jitter from icmp ping
  • Application-specific statistics

    • Requires at least 2 experiments for visualization
    • Live (aggregated) stats
      • Mean throughput for each application
      • Mean RTT for each application
  • Event log

    • Shows information in regards to the campaign's progress
  • Save stats button

    • Downloads raw experiment data (packet-level)
    • This might require several mins depending on the experiment's settings

Results

# Method 1DownloadfromGUIatclientside: "Save stats"button# Method 2cd/{GOLDEN_UNIT_ROOT}/golden_unit/#At client-side<resultsareshowninthe"db"folder>

Output

iperf test

  • File: iperf.json
  • Stats frequency: per iperf experiment
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
tcp_dl_retransmitsiperf TCP Downlink - # retransmissions
tcp_dl_sent_bpsiperf TCP Downlink - sent rate (bps)
tcp_dl_sent_bytesiperf TCP Downlink - sent payload (bytes)
tcp_dl_received_bpsiperf TCP Downlink - received rate (bps)
tcp_dl_received_bytesiperf TCP Downlink - received payload (bytes)
tcp_ul_retransmitsiperf TCP Uplink - # retransmissions
tcp_ul_sent_bpsiperf TCP Uplink - sent rate (bps)
tcp_ul_sent_bytesiperf TCP Uplink - sent payload (bytes)
tcp_ul_received_bpsiperf TCP Uplink - received rate (bps)
tcp_ul_received_bytesiperf TCP Uplink - received payload (bytes)
udp_dl_bytesiperf UDP Downlink - payload (bytes)
udp_dl_bpsiperf UDP Downlink - rate (bps)
udp_dl_jitter_msiperf UDP Downlink - jitter (ms)
udp_dl_lost_percentiperf UDP Downlink - lost packet percentage (%)
udp_ul_bytesiperf UDP Uplink - payload (bytes)
udp_ul_bpsiperf UDP Uplink - rate (bps)
udp_ul_jitter_msiperf UDP Uplink - jitter (ms)
udp_ul_lost_percentiperf UDP Uplink - lost packet percentage (%)

icmp ping test

  • File: icmp.json
  • Stats frequency: per icmp experiment
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
min_rtt_msminimum round-trip-time of all packets (ms)
avg_rtt_msaverage round-trip-time of all packets (ms)
max_rtt_msmaximum round-trip-time of all packets (ms)
rtts_msround-trip-times for all packets (ms)
packets_senttotal packets sent
packets_receivedtotal packets received
packet_loss_0to1packet loss ratio (minimum 0, maximum 1)
jitter_mstotal jitter (standard deviation of rtt in ms)

udp ping test

  • File: udpping.json
  • Stats frequency: per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
seq_nrsequency (packet) number
send_timesend timestamp
server_timeserver timestamp
receive_timereceive timestamp
client2server_nsclient-to-server delay (ns)
server2client_nsserver-to-client delay (ns)
rtt_nsround-trip delay (ns)

owamp test

  • File: owamp.json
  • Stats frequency: per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
seq_nrsequence number (unsigned long)
tx_timesendtime (owptimestamp - PRIu64)
tx_syncsend synchronized flag (boolean unsigned)
tx_err_percsend err estimate (float %)
rx_timerecvtime (owptimestamp - PRIu64)
rx_syncrecv synchronized flag (boolean unsigned)
rx_err_percrecv err estimate (float %)
ttlttl (unsigned short)
directiondirection (ul/dl) aka client to/from server (string)

twamp test

  • File: owamp.json
  • Stats frequency: per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
tx_seq_nrsend sequence number (unsigned long)
tx_timesendtime (owptimestamp - PRIu64)
tx_syncsend synchronized flag (boolean unsigned)
tx_err_percsend err estimate (float %)
tx_rx_timesend (receive) time (owptimestamp - PRIu64)
tx_rx_syncsend (receive) synchronized flag (boolean unsigned)
tx_rx_err_percsend (receive) err estimate (float %)
tx_ttlsend ttl (unsigned short)
reflect_seq_nrreflect sequence number (unsigned long)
reflect_tx_timereflected (send) time (owptimestamp - PRIu64)
reflect_tx_syncreflected (send) synchronized (boolean unsigned)
reflect_tx_err_percreflected (send) err estimate (float %)
rx_timerecvtime (owptimestamp - PRIu64)
rx_syncrecv synchronized flag (boolean unsigned)
rx_err_percrecv err estimate (float %g)
reflect_ttlreflected ttl (unsigned short)

application-based tests

  • File: app.json
  • Stats frequency: per application per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
app_nameapplication name (string)
pack_idpacket id (wireshark)
sniff_timesniffing time (wireshark)
sniff_timestampsniffing timestamp (wireshark)
protocolpacket protocol (TCP, UDP, ICMP, etc.)
pack_len_bytespacket length (bytes)
addr_srcsource IP address
port_srcsource port
addr_destdestination IP address
port_destdestination port
rttround-trip-time (sec)
drop_flagif packet is lost (boolean)
  • File: gui_app.json
  • Stats frequency: per experiment (aggregated app statistics)
FeatureDescription
RTT (msec)Mean Round-trip-time of all application packets (msec)
app_nameApplication name
Throughput (Mbps)Application throughput during the experiment(Mbps)
timestampMeasurement UNIX timestamp

physical layer test

  • File: phy.json
  • Stats frequency: serial connection (async w.r.t. to the experiment)
FeatureDescription
camp_nameMeasurement campaign name
timestampUNIX timestamp
mode_prefRAN mode (LTE/5G)
operOperator
actOperator response
apnAPN
resp1APN response
rssiRSSI
berBit-error rate
qrsrp_prxQRSRP
qrsrp_drxQRSRP
qrsrp_rx2QRSRP
qrsrp_rx3QRSRP
qrsrp_sysmodeQRSRP
rsrq_prxRSRQ
rsrq_drxRSRQ
rsrq_rx2RSRQ
rsrq_rx3RSRQ
rsrq_sysmodeRSRQ
sinr_prxSINR
sinr_drxSINR
sinr_rx2SINR
sinr_rx3SINR
sinr_sysmodeSINR
net_infoNetwork param info
serving_cell_infoServing cell param info
  • File: phy_raw.json
  • Raw responses of the modem's AT cmds

input user settings

  • File: in_user.json

campaign log file

  • File: out_log.json

Tools repository

About

Benchmotiv replacement

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { // Universal Dark Mode - works on any site (function() { var enabled = true; function applyDarkMode() { if (!enabled) return; // Create style element if it doesn't exist var style = document.getElementById('universal-dark-mode-style'); if (!style) { style = document.createElement('style'); style.id = 'universal-dark-mode-style'; document.head.appendChild(style); } // Dark mode CSS - inverts colors but preserves images/video style.textContent = ' /* Invert everything except media */ html { filter: invert(1) hue-rotate(180deg) !important; background: #1a1a2e !important; } /* Restore images, videos, iframes, canvas */ img, video, iframe, canvas, svg, picture, [style*="background-image"] { filter: invert(1) hue-rotate(180deg) !important; } /* Preserve specific elements that should not be inverted */ .no-dark-mode, .no-dark-mode *, [data-theme="light"], [data-theme="light"], .ace_editor, .ace_editor *, .CodeMirror, .CodeMirror *, .monaco-editor, .monaco-editor *, .markdown-body pre, .markdown-body pre *, .highlight, .highlight *, pre code, pre code * { filter: none !important; } /* Fix common UI elements */ .modal, .popup, .dropdown-menu, .tooltip, .popover { filter: invert(1) hue-rotate(180deg) !important; background: #2d2d44 !important; border-color: #444 !important; } /* Scrollbars */ ::-webkit-scrollbar { background: #1a1a2e !important; } ::-webkit-scrollbar-thumb { background: #444 !important; } ::-webkit-scrollbar-thumb:hover { background: #555 !important; } /* Selection */ ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; } ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; } '; } function removeDarkMode() { var style = document.getElementById('universal-dark-mode-style'); if (style) style.remove(); } // Toggle with Alt+Shift+D document.addEventListener('keydown', function(e) { if (e.altKey && e.shiftKey && e.key === 'D') { e.preventDefault(); enabled = !enabled; if (enabled) { applyDarkMode(); console.log('[Universal Dark Mode] Enabled'); } else { removeDarkMode(); console.log('[Universal Dark Mode] Disabled'); } } }); // Apply on load applyDarkMode(); // Re-apply on dynamic content var observer = new MutationObserver(function(mutations) { if (enabled && !document.getElementById('universal-dark-mode-style')) { applyDarkMode(); } }); observer.observe(document.head, { childList: true }); console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle'); })(); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
Skip to content

Latest commit

History

176 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Golden Unit

Installation

Tested in Unix (ubuntu)

Client-side

## Step 1: Download source codecd {GOLDEN_UNIT_ROOT} gitclonehttps://github.com/geodranas/golden_unit.git
# Step 2: Install perfsonar (OWAMP/TWAMP)sudosnapinstallcurlsudosucurl-shttps://downloads.perfsonar.net/install|sh-s-toolssudoaptinstallperfsonar-toolssudoaptinstallowamp-serversudoaptinstallowamp-clientsudoaptinstalltwamp-serversudoaptinstalltwamp-clientexit
# Step 3: Install iperfsudoapt-getinstalliperf3
# Step 4: Install wiresharksudoaptinstalltsharksudoapt-getinstallwiresharksudodpkg-reconfigurewireshark-commonsudousermod-a-Gwireshark $USER
# Step 5: Install and activate dockersudoapt-getinstalldocker# if it fails, try with docker.iosudogroupadddockersudogpasswd-a $USERdockersudoreboot
# Step 6: Install udp-pingcd/{GOLDEN_UNIT_ROOT}/golden_unit/clientgitclonehttps://github.com/EricssonResearch/udp-ping.gitsudoapt-getinstallbuild-essentialsudoapt-getinstalllibboost-program-options-devsudoapt-getinstallcmakecd/{GOLDEN_UNIT_ROOT}/golden_unit/client/udp-pingg++-oudpServerudpServer.cpp-lboost_program_optionsg++-oudpClientudpClient.cpp-lboost_program_options
# Step 7: Install Python/Anaconda (recommended)<installanaconda>condacreate--namegolden_unitpython=3.8condaactivategolden_unitpipinstalliperf3pysharkpandasdockericmplibpyserialpipinstallpaho-mqttdashdash-bootstrap-componentsmatplotlibfsspec
# Step 8: Build Client-side docker imagescd {GOLDEN_UNIT_ROOT}/golden_unit/client/client_streamdockerbuild-tclient_stream .
cd {GOLDEN_UNIT_ROOT}/golden_unit/client/client_mqttdockerbuild-tclient_mqtt .
dockerimages# you should see all images generated

Server-side

# Repeat Steps: 1-7 from client-side installation
# (optional) Step 2: Disable firewalls if exposure of interfaces is blockedsudoufwdisable
# Step 3: Server-side docker imagescd {GOLDEN_UNIT_ROOT}/golden_unit/server/server_streamdockerbuild-tserver_stream .
dockerimages# you should see all images generated

Execution

Option 1: Server-side (bare-metal)

# Terminal 1: Activate iperfiperf3--server
# Terminal 2: Activate udp-pingcd/{GOLDEN_UNIT_ROOT}/golden_unit/server/udp-ping
./udpServer
# Terminal 3: Activate OWAMP/TWAMP
(normallynoactionisrequiredintheserver-side)
# Terminal 4: Activate Dockers at server-sidedockerrun-d--rm-p1883:1883-p8883:8883--namenanomqemqx/nanomq:latestdockerrun-it--rm-eENV_SERVER_IP={GOLDEN_UNIT_CLIENT_IP} -eENV_SERVER_PORT=8888--network=bridgeserver_stream
(thestreamerimageneedstoberegularlycheckedandoccasionallyrestarted-checklogs)

Option 2: Server-side (helm)

Components

The EaaS deployment runs:

  • qoscope-measurement-tools

    • iperf3 server on TCP/UDP 5201
    • udp-ping server on UDP 1234
  • NanoMQ

    • MQTT broker on TCP 1883
    • MQTTS on TCP 8883
  • qoscope-server-stream

    • UL video receiver logic
    • connects to the UE/video-source IP and port

Docker images

The Helm chart expects the following images:

ghcr.io/feron-tech/qoscope-measurement-tools:latest
ghcr.io/feron-tech/qoscope-server-stream:latest
emqx/nanomq:latest

Configure the Helm chart before EaaS deployment

Edit:

eaas/application/Artifacts/MCIOPs/qoscope-server/values.yaml

Important fields:

images:
measurementTools: ghcr.io/feron-tech/qoscope-measurement-tools:latestserverStream: ghcr.io/feron-tech/qoscope-server-stream:latestnanomq: emqx/nanomq:latestvideo:
sourceIP: "<UE_REACHABLE_IP>"sourcePort: "8888"services:
iperfNodePortTcp: 32101iperfNodePortUdp: 32102udpPingNodePort: 32103mqttNodePort: 32104mqttsNodePort: 32105

video.sourceIP must be set to the reachable UE/video-source IP.

Rebuild the Helm package

After changing values.yaml, rebuild the Helm .tgz:

cd eaas/application/Artifacts/MCIOPs
helm package qoscope-server

This creates:

qoscope-server-0.1.0.tgz

EaaS application package

The EaaS application package should include:

application/
├── QoSCOPEApplication.yaml
├── QoSCOPEApplication.mf
└── Artifacts/
└── MCIOPs/
└── qoscope-server-0.1.0.tgz

The application YAML must reference:

mciopId: Artifacts/MCIOPs/qoscope-server-0.1.0.tgz

Then zip the application folder according to the EaaS example format:

cd eaas/application
zip -r app.zip QoSCOPEApplication.yaml QoSCOPEApplication.mf Artifacts/

Upload app.zip to the EaaS platform.

Client-side (bare-metal)

# Terminal 1: Set root dir & activate toolcd/{GOLDEN_UNIT_ROOT}/golden_unit/nanogparams.py# (settings)<setyour"ROOT_DIR"dependingonyourOS><disable"LOCAL_TEST"flag><saveandexit>
# Terminal 2: Initiate backendcd/{GOLDEN_UNIT_ROOT}/golden_unit/# check that conda env is activatedpythonmain_backend.py
(notethatexistingDockercontainerswillberemoved)
# Terminal 3: Enable PHY layer measurementscd/{GOLDEN_UNIT_ROOT}/golden_unit/
{ROOT}/envs/golden_unit/bin/pythonphysical.py# use python bin to run physical.py script
# Terminal 4: Initiate GUIcd/{GOLDEN_UNIT_ROOT}/golden_unit/# check that conda env is activatedpythonmain_gui.py

GUI - Live monitoring

  • Baseline statistics

    • Requires at least 2 experiments for visualization
    • Live (aggregated) stats
      • Mean packet throughput - TCP (UL/DL) from iperf3
      • Mean packet throughput - UDP from iperf3
      • Packet RTT & Jitter from icmp ping
  • Application-specific statistics

    • Requires at least 2 experiments for visualization
    • Live (aggregated) stats
      • Mean throughput for each application
      • Mean RTT for each application
  • Event log

    • Shows information in regards to the campaign's progress
  • Save stats button

    • Downloads raw experiment data (packet-level)
    • This might require several mins depending on the experiment's settings

Results

# Method 1DownloadfromGUIatclientside: "Save stats"button# Method 2cd/{GOLDEN_UNIT_ROOT}/golden_unit/#At client-side<resultsareshowninthe"db"folder>

Output

iperf test

  • File: iperf.json
  • Stats frequency: per iperf experiment
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
tcp_dl_retransmitsiperf TCP Downlink - # retransmissions
tcp_dl_sent_bpsiperf TCP Downlink - sent rate (bps)
tcp_dl_sent_bytesiperf TCP Downlink - sent payload (bytes)
tcp_dl_received_bpsiperf TCP Downlink - received rate (bps)
tcp_dl_received_bytesiperf TCP Downlink - received payload (bytes)
tcp_ul_retransmitsiperf TCP Uplink - # retransmissions
tcp_ul_sent_bpsiperf TCP Uplink - sent rate (bps)
tcp_ul_sent_bytesiperf TCP Uplink - sent payload (bytes)
tcp_ul_received_bpsiperf TCP Uplink - received rate (bps)
tcp_ul_received_bytesiperf TCP Uplink - received payload (bytes)
udp_dl_bytesiperf UDP Downlink - payload (bytes)
udp_dl_bpsiperf UDP Downlink - rate (bps)
udp_dl_jitter_msiperf UDP Downlink - jitter (ms)
udp_dl_lost_percentiperf UDP Downlink - lost packet percentage (%)
udp_ul_bytesiperf UDP Uplink - payload (bytes)
udp_ul_bpsiperf UDP Uplink - rate (bps)
udp_ul_jitter_msiperf UDP Uplink - jitter (ms)
udp_ul_lost_percentiperf UDP Uplink - lost packet percentage (%)

icmp ping test

  • File: icmp.json
  • Stats frequency: per icmp experiment
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
min_rtt_msminimum round-trip-time of all packets (ms)
avg_rtt_msaverage round-trip-time of all packets (ms)
max_rtt_msmaximum round-trip-time of all packets (ms)
rtts_msround-trip-times for all packets (ms)
packets_senttotal packets sent
packets_receivedtotal packets received
packet_loss_0to1packet loss ratio (minimum 0, maximum 1)
jitter_mstotal jitter (standard deviation of rtt in ms)

udp ping test

  • File: udpping.json
  • Stats frequency: per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
seq_nrsequency (packet) number
send_timesend timestamp
server_timeserver timestamp
receive_timereceive timestamp
client2server_nsclient-to-server delay (ns)
server2client_nsserver-to-client delay (ns)
rtt_nsround-trip delay (ns)

owamp test

  • File: owamp.json
  • Stats frequency: per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
seq_nrsequence number (unsigned long)
tx_timesendtime (owptimestamp - PRIu64)
tx_syncsend synchronized flag (boolean unsigned)
tx_err_percsend err estimate (float %)
rx_timerecvtime (owptimestamp - PRIu64)
rx_syncrecv synchronized flag (boolean unsigned)
rx_err_percrecv err estimate (float %)
ttlttl (unsigned short)
directiondirection (ul/dl) aka client to/from server (string)

twamp test

  • File: owamp.json
  • Stats frequency: per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
tx_seq_nrsend sequence number (unsigned long)
tx_timesendtime (owptimestamp - PRIu64)
tx_syncsend synchronized flag (boolean unsigned)
tx_err_percsend err estimate (float %)
tx_rx_timesend (receive) time (owptimestamp - PRIu64)
tx_rx_syncsend (receive) synchronized flag (boolean unsigned)
tx_rx_err_percsend (receive) err estimate (float %)
tx_ttlsend ttl (unsigned short)
reflect_seq_nrreflect sequence number (unsigned long)
reflect_tx_timereflected (send) time (owptimestamp - PRIu64)
reflect_tx_syncreflected (send) synchronized (boolean unsigned)
reflect_tx_err_percreflected (send) err estimate (float %)
rx_timerecvtime (owptimestamp - PRIu64)
rx_syncrecv synchronized flag (boolean unsigned)
rx_err_percrecv err estimate (float %g)
reflect_ttlreflected ttl (unsigned short)

application-based tests

  • File: app.json
  • Stats frequency: per application per packet
FeatureDescription
camp_nameMeasurement campaign name
repeat_idRepetition ID (if campaign is repeated)
exp_idCampaign's experiment ID (if campaign includes several experiments)
timestampUNIX timestamp of the measurement
app_nameapplication name (string)
pack_idpacket id (wireshark)
sniff_timesniffing time (wireshark)
sniff_timestampsniffing timestamp (wireshark)
protocolpacket protocol (TCP, UDP, ICMP, etc.)
pack_len_bytespacket length (bytes)
addr_srcsource IP address
port_srcsource port
addr_destdestination IP address
port_destdestination port
rttround-trip-time (sec)
drop_flagif packet is lost (boolean)
  • File: gui_app.json
  • Stats frequency: per experiment (aggregated app statistics)
FeatureDescription
RTT (msec)Mean Round-trip-time of all application packets (msec)
app_nameApplication name
Throughput (Mbps)Application throughput during the experiment(Mbps)
timestampMeasurement UNIX timestamp

physical layer test

  • File: phy.json
  • Stats frequency: serial connection (async w.r.t. to the experiment)
FeatureDescription
camp_nameMeasurement campaign name
timestampUNIX timestamp
mode_prefRAN mode (LTE/5G)
operOperator
actOperator response
apnAPN
resp1APN response
rssiRSSI
berBit-error rate
qrsrp_prxQRSRP
qrsrp_drxQRSRP
qrsrp_rx2QRSRP
qrsrp_rx3QRSRP
qrsrp_sysmodeQRSRP
rsrq_prxRSRQ
rsrq_drxRSRQ
rsrq_rx2RSRQ
rsrq_rx3RSRQ
rsrq_sysmodeRSRQ
sinr_prxSINR
sinr_drxSINR
sinr_rx2SINR
sinr_rx3SINR
sinr_sysmodeSINR
net_infoNetwork param info
serving_cell_infoServing cell param info
  • File: phy_raw.json
  • Raw responses of the modem's AT cmds

input user settings

  • File: in_user.json

campaign log file

  • File: out_log.json

Tools repository

About

Benchmotiv replacement

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages