[FS_6G_MED] Testbed for AI Media Services traffic characterization
This contribution from Qualcomm proposes a comprehensive testbed framework for characterizing traffic patterns and QoE metrics of generative AI services in the context of the FS_6G_MED study. The testbed addresses the need for quantitative characterization of AI-native media services under diverse network conditions, which is a key requirement for the Study on Media Aspects for 6G System.
The testbed provides end-to-end measurement capabilities for multiple AI service types:
- Chat services
- Streaming services
- Agentic tool use
- Image generation
- Multimodal analysis
- Real-time conversational AI
The testbed captures comprehensive performance metrics including:
- Latency metrics: TTFT (Time To First Token), TTLT (Time To Last Token), latency percentiles
- Traffic metrics: UL/DL bytes and ratios, burstiness
- Performance metrics: Success rate, token rate, tool-call latency, streaming stall statistics
- Protocol analysis: All pcap-enabled analysis capabilities
Deep visibility into protocol and payload behavior is provided through trace logging functionality, which can be enabled via TRACE_PAYLOADS=1. This enables generation of:
- WebRTC SDP samples
- Exact computer-use request/response payloads
The testbed follows an orchestrator-centric architecture with clear separation of concerns:
The framework is designed for easy extension:
- New scenarios: Create a class extending BaseScenario, register in scenarios/__init__.py, and add YAML entry in configs/scenarios.yaml
- New providers: Implement a client subclassing LLMClient and register in the orchestrator client factory
The testbed includes vLLM client support (clients/vllm_client.py) enabling evaluation of self-hosted models via OpenAI-compatible API, with the same metrics and logging pipeline as hosted providers.
configs/scenarios.yamlconfigs/profiles.yamlpython orchestrator.py --scenario chat_basic --profile 5g_urban --runs 10python orchestrator.py --scenario all --runs 5--capture-pcap--capture-l7The contribution includes preliminary evaluation results showing:
- TTFT (Time To First Token) measurements across different scenarios
- Average throughput measurements by scenario
Note: These initial results are presented as examples and are not intended for TR documentation.
The contribution proposes that SA4:
- Agrees to adopt the proposed testbed as the baseline for AI traffic characterization evaluation
- Documents the testbed in TR 26.870 (Study on Media Aspects for 6G System)
The contribution references:
- [1] S4-260xxx: Generic Network Interface Emulator for Media Delivery Evaluation
- [2] SP-251652: New SID on Media Aspects for 6G System (FS_6G_MED)
- [3] 3GPP TR 22.870: Study on 6G Use Cases and Service Requirements
- [4] 3GPP TR 26.998: Support of XR Services