Repository navigation
XR Offloading Testing
The goal of this page is to describe an example setup of a real application transmitting the data over FikoRE, mimicking a realistic scenario in which the application is connected to an actual 5G setup.
In this case, we have decided to use an eXtended Reality (XR) offloading implementation as the reference application. In this setup we have an XR Head Mounted Display (HMD) which is offloading a particular task to an edge server placed nearby to a 5G gNB to which the HMD is connected. The offloaded task is a latency-critical one, such as split rendering, with high-throughput requirements above 40 Mbps in, at least, the uplink direction. This scenario demands a strong network, in many cases not accessible to application developers. FikoRE can fulfill this gap allowing XR application developers to rapidly test their solutions on realistic 5G setups.
The scenario we are using as an example is the one described in this paper. In this scenario, the XR HMD is transmitting a video feed from its frontal stereo camera to the edge running the segmentation algorithm. The segmentation algorithm determines which of the pixels corresponds to the XR user's body, creating a segmentation mask which is transmitted back to the device. This mask is used, along with the captured video feed, to render the user's body inside the VR scene. This offloading solution allows the users to see themselves, in real-time, inside the VR scene. The schematic representation of the proposed scenario is the following:

In the real scenario, the XR HMD is connected to a 5G network in charge of transmitting the high throughput and low latency XR traffic. To mimic the scenario, the 5G link between the HMD and the edge server is replaced by FikoRE. In this scenario, we want all the network variability to come from FikoRE. Therefore, the HMD should be connected via wire to the device running FikoRE. In general, most of XR devices allow to run in tethered mode connected to a workstation. In the scenario we are proposing, the HMD is wired to a workstation running the XR application. This workstation is connected using an ethernet cable to the device running FikoRE.
The final setup can be represented as:

The recommended workflow for real-traffic tests is the NFQUEUE lab:
make
sudo BACKEND=host UE_COUNT=2 run_scripts/run_fikore_nfqueue_lab.sh up
FIKORE_API_HOST=0.0.0.0 bash run_scripts/run_api.sh
run_scripts/run_emulated.sh config/emulated_rural_n78_single_with_background.ini
The example configuration should include a real UE with queues matching the lab:
[UE]
ue_id: capturedStudy
ue_type: 0
ul_queue_n: 100
dl_queue_n: 101
n_ues: 1
In the default lab topology, UE1 uses 100/101, UE2 uses 110/111, and so on. See Run Scripts and NFQUEUE Lab for the full topology and workflow.
Manual iptables configuration is still possible, but it is not the recommended entry point. If using a manual setup, you need to configure two different Netfilter queues, one for uplink and one for downlink, and their IDs must match the .ini file:
# [UL] RGB Frames
sudo iptables -I INPUT -p udp --dport %ul_port% -j NFQUEUE --queue-num 100
# [DL] Segmentation Mask
sudo iptables -I INPUT -p udp --sport %dl_port% -j NFQUEUE --queue-num 101
The repository includes prepared XR traffic traces in:
data/XR_traffic/
These files can be used directly with the trace-driven traffic generator:
[UE]
traffic_type: 1
ul_traffic_file: data/XR_traffic/960_sensors_real.txt
dl_traffic_file: data/XR_traffic/960_offloading_real.txt
The original PCAP files are not included in the repository. The prepared traces are enough to reproduce traffic patterns in offline or emulated experiments. See Traffic Generator for details.