Skip to content

L4S and DualQ

pablop edited this page Oct 23, 2026 · 2 revisions

L4S and DualQ

FikoRE includes an optional DualQ/L4S queue inside the PDCP/RLC packet flow. This is used to emulate the different treatment of L4S and Classic traffic before packets are transmitted through the radio model.

The feature is configured per UE:

[UE]
l4s_dual_queue: true
l4s_target_ms: 15
l4s_rtt_max_ms: 100
l4s_min_th_us: 2000
l4s_range_us: 9000
l4s_k: 2.0
l4s_classic_guard_ms: 1.0

Which define:

  • l4s_dual_queue: enable/disable the DualQ/L4S queue for this UE.
  • l4s_target_ms: target queue delay for the PI2 controller.
  • l4s_rtt_max_ms: maximum RTT considered by the controller.
  • l4s_min_th_us: minimum threshold for L4S marking.
  • l4s_range_us: threshold range used to increase marking probability.
  • l4s_k: coupling factor between Classic and L4S probabilities.
  • l4s_classic_guard_ms: guard interval used to avoid starving the Classic queue.

Packet Classification

The queue uses ECN information to classify packets:

  • Packets with ECT(1) or CE are handled as L4S traffic.
  • Other packets are handled as Classic traffic.

When congestion is detected, L4S packets are CE-marked. Classic packets can be CE-marked when possible or dropped by the AQM model.

For captured traffic, the final verdict is applied to the original packet in the NFQUEUE. FikoRE can accept it, accept it with CE marking, or drop it.

Metrics

When monitoring is enabled, FikoRE can emit L4S and queue metrics:

  • L4S queue packets and bits.
  • Classic queue packets and bits.
  • CE-marked packets and bits.
  • AQM drops and dropped bits.
  • Marking probabilities for L4S, Classic and coupled Classic/L4S behavior.

Enable them in the monitoring section:

[Monitoring]
enabled: true
emit_l4s: true
emit_ue_queue: true
outputs: api_udp
output_api_udp_type: udp
output_api_udp_address: 127.0.0.1
output_api_udp_port: 8098

Recommended Example

The ready-to-use emulation example config/emulated_rural_n78_single_with_background.ini enables DualQ/L4S for the captured UE and adds simulated background users. It is the recommended starting point for L4S experiments with real traffic.

Clone this wiki locally