Workshop on NS-3

Research Article

DCE Cradle: Simulate Network Protocols with Real Stacks for Better Realism

  • @INPROCEEDINGS{10.4108/icst.simutools.2013.251586,
        author={Hajime Tazaki and Frederic Urbani and Thierry Turletti},
        title={DCE Cradle: Simulate Network Protocols with Real Stacks for Better Realism},
        proceedings={Workshop on NS-3},
        publisher={ACM},
        proceedings_a={WNS3},
        year={2013},
        month={7},
        keywords={direct code execution simulation real code},
        doi={10.4108/icst.simutools.2013.251586}
    }
    
  • Hajime Tazaki
    Frederic Urbani
    Thierry Turletti
    Year: 2013
    DCE Cradle: Simulate Network Protocols with Real Stacks for Better Realism
    WNS3
    ICST
    DOI: 10.4108/icst.simutools.2013.251586
Hajime Tazaki,*, Frederic Urbani1, Thierry Turletti1
  • 1: Inria
*Contact email: tazaki@nict.go.jp

Abstract

Reusing real protocol implementations of the kernel network stack in network simulators can increase the realism of network experimentations as well as decrease the cost of protocol development. In this paper, we introduce DCE Cradle, a novel framework that allows to use any features of Linux kernel network stack with existing ns-3 applications. DCE Cradle uses Direct Code Execution (DCE) to address the brittleness of Network Simulation Cradle (NSC). We validate DCE Cradle with TCP goodput measurements, and analyze its performance overhead with micro-benchmarks in a large scale simulation. Then we show with an example, an actual implementation of the DCCP transport protocol, how easy it is to simulate a real implementation using DCE Cradle. We believe that this tool can highly benefit the network community by enabling more realistic evaluation of network protocols.