Abstract
Modern network systems research faces a critical trade-off between simulation fidelity and scale. While protocol-level simulators scale well, they often overlook end-host bottlenecks; conversely, full-system simulators provide high detail but lack scalability. SplitSim addresses this by introducing a high-performance simulation framework that utilizes mixed-fidelity modeling and a novel parallelization strategy. SplitSim enables the simulation of networks with over 1,200 hosts—including full operating systems and application stacks—on a single machine within hours.
Introduction: The Fidelity vs. Scale Dilemma
Researchers evaluating datacenter networks often struggle to find a balance between physical testbeds and simulations. Physical testbeds are expensive and inflexible, while protocol-level simulators like ns-3, though fast, frequently ignore critical end-host factors such as OS kernel overhead, NIC behavior, and memory latency. On the other end of the spectrum, full-system simulators like gem5 offer extreme detail but are computationally prohibitive for large clusters.
Existing modular frameworks have attempted to bridge this gap by interconnecting different simulators. However, these solutions often fail to scale effectively; for instance, simulating 10 seconds of a 1,000-node network can take 20 hours and incur significant cloud compute costs. SplitSim aims to resolve these issues, making large-scale, end-to-end simulations both practical and affordable.
System Design and Methodology
SplitSim achieves its performance and scalability through four primary techniques:
- Mixed-Fidelity Simulation: SplitSim allows for a heterogeneous simulation environment. Users can simulate critical components (e.g., servers) in high-detail simulators like QEMU or gem5, while background traffic and clients are handled at the protocol level in ns-3.
- Parallelization through Decomposition: To overcome the sequential nature of standard simulators, SplitSim decomposes bottleneck components—such as large network topologies or multi-core instances—into parallel processes. These processes synchronize via high-efficiency shared-memory adapters.
- Wait-Time Profiling: The framework includes a profiler that generates a Wait-Time Profile Graph (WTPG). This tool identifies simulation bottlenecks by visualizing which components are causing delays, enabling targeted optimization.
- Orchestration Framework: A Python-based abstraction layer simplifies the management of complex simulation environments, handling the configuration and concurrent execution of various simulator instances.
Evaluation and Key Insights
SplitSim was evaluated using real-world software stacks, including Memcached, CockroachDB, and social network workloads, across protocols like DCTCP and PTP.
The Importance of End-Host Modeling
A key finding of the research is that protocol-only simulations can lead to incorrect performance conclusions. In one case study, a protocol-level simulation predicted a system would be 33% faster, whereas an end-to-end simulation—accounting for software overhead—revealed it was actually 47% slower.
Efficiency and Scalability
By employing mixed-fidelity modeling, SplitSim achieved results nearly identical to full-detail simulations while utilizing 54% fewer CPU cores. Furthermore, SplitSim’s decomposition method outperformed native MPI-based parallelization in ns-3 and OMNet++, reducing total simulation time by up to 57%. At scale, SplitSim successfully simulated 20 seconds of real-world time for a 1,200-node network in under four hours on a single machine.
Conclusion and Future Work
SplitSim significantly lowers the "cost-to-simulate" for large-scale network research. While it offers substantial improvements, current limitations include the requirement for manual partitioning of simulators and the need for expert knowledge to determine appropriate fidelity levels. Future work aims to automate the decomposition process using profiling data, further reducing the barrier to entry for complex, large-scale system evaluations.
Summary updated