Repository navigation
Home
Real-time applications and workloads increasingly depend on predictable connectivity, low latency, sufficient throughput and controlled packet loss. This is especially relevant for interactive media, industrial control, robotics, edge offloading, cloud-assisted applications and other services where the network becomes part of the application behavior. Testing these workloads only over best-effort or production networks makes it difficult to isolate network effects, reproduce conditions and understand which radio configurations satisfy the application requirements.
5G technologies should theoretically be able to fulfill many of these requirements. However, application developers and researchers often need a practical way to evaluate how real applications behave under different 5G and beyond RAN conditions before having access to a specific deployment or while exploring alternative configurations. Consequently, we implemented FikoRE, a real-time 5G and beyond Radio Access Network (RAN) emulator, to test and optimize workloads and applications under controlled, reproducible network conditions.
There are several emulators publicly available online, such as NS-3, SimuLTE or Simul5G. However, their complexity is extremely high, especially for non-telecommunications-specialists. Our main goal is to provide a straightforward emulation tool for both experts and non-experts. Contrarily to the mentioned simulators/emulators, the goal of our tool is not mainly to understand and test the network, but study how the network and its different possible configurations behave for particular applications, use-cases and verticals.
As we want to test our solutions with actual networked applications we need a network emulator which:
- Works in Real-Time.
- Handles actual IP traffic efficiently.
- Handles multiple emulated users with real or simulated traffic.
- Models the real behavior of the network with sufficient accuracy.
Besides, we need the emulator to be simple to use and, more importantly, easy to modify for possible particular needs. Consequently, the emulator must:
- Have a high level of modularity to allow easy modifications.
- Follow a straightforward implementation.
- Be simple to use both as an emulator (real traffic) and simulator (simulated traffic).
The recommended executable is bin/fikore. It can be run directly with a configuration file, but the repository also includes helper scripts for the common workflows:
make
make test
make smoke
./bin/fikore config/offline_umi_n40_npn.ini
bash run_scripts/run_offline.sh config/offline_umi_n40_npn.ini
run_scripts/run_emulated.sh config/emulated_rural_n78_single_with_background.ini
For real-traffic experiments, the recommended workflow uses the FikoRE NFQUEUE lab scripts. The lab creates Linux namespaces, veth links, routes and NFQUEUE rules, while the .ini file remains the source of truth for the emulated UEs.
- Runtime control. A running emulation, offline or real time, can be steered through a control socket, a REST and WebSocket API, a web dashboard or a scripted timeline, and every session can be journaled and replayed. See Runtime Control and Web Dashboard.
- Scheduler family. Max Throughput, Proportional Fair, Blind Equal Throughput and Round Robin, with a shared score and a throughput history. See Metric Estimation.
- PHY Model V2 and HARQ. Fractional uplink power, explicit indoor and vehicle environments, versioned macroscopic maps and a table-driven packet-error model. See PHY Layer and MAC Layer.
-
Transport models. The
transport/directory holds Python TCP (Reno, CUBIC, Prague), UDP andfikore-iperf3models that run on FikoRE in lockstep. See the transport README. -
Exit status.
fikorereturns zero only after a completed run and stable non-zero codes otherwise. See Real-Time Emulation. -
Configuration changes.
set_ul_powbecameul_power_mode,o2ibecameue_location_type,building_penetrationandvehicle_penetration, and the PF keys becamepf_alpha,throughput_time_window_msandthroughput_intra_tti_update. See Configuration File.
- Compilation and Usage
- Configuration File
- Run Scripts and NFQUEUE Lab
- Architecture and Implementation Details
- Runtime Control
- Web Dashboard
- Real-Time Emulation
- MAC Layer
- PHY Layer
- RLC and PDCP Layer
- User Equipment (UE)
- Traffic Generator
- Mobility Models
- Metric Estimation
- Netfilter Module
- L4S and DualQ
- Monitoring and Dashboard
- Data Logging
- XR Offloading Testing
If you want to use FikoRE in your research, don't forget to cite us:
@article{gonzalezmorin2023fikore,
author = {González Morín, Diego and López-Morales, Manuel J. and Pérez, Pablo and García Armada, Ana and Villegas, Álvaro},
title = {FikoRE: 5G and Beyond RAN Emulator for Application Level Experimentation and Prototyping},
journal = {IEEE Network},
year = {2023},
volume = {37},
number = {4},
pages = {48--55},
doi = {10.1109/MNET.002.2200595},
url = {https://doi.org/10.1109/MNET.002.2200595}
}