2nd International ICST International Workshop on Network Simulation Tools

Research Article

Design and Implementation of Switch Module for NS-3

  • @INPROCEEDINGS{10.4108/ICST.VALUETOOLS2009.7658,
        author={XIA  Yu and ZENG  Huaxin and SHEN  Zhijun},
        title={Design and Implementation of Switch Module for NS-3},
        proceedings={2nd International ICST International Workshop on Network Simulation Tools},
        publisher={ACM},
        proceedings_a={NSTOOLS},
        year={2010},
        month={5},
        keywords={switch module NS-3 network simulation traffic source},
        doi={10.4108/ICST.VALUETOOLS2009.7658}
    }
    
  • XIA Yu
    ZENG Huaxin
    SHEN Zhijun
    Year: 2010
    Design and Implementation of Switch Module for NS-3
    NSTOOLS
    ICST
    DOI: 10.4108/ICST.VALUETOOLS2009.7658
XIA Yu1,*, ZENG Huaxin1,*, SHEN Zhijun1,*
  • 1: School of Info. Science & Tech., Southwest Jiaotong University, Chengdu 610031, China.
*Contact email: rainsia@gmail.com, huaxinzeng1@126.com, shensljx@sina.com

Abstract

In this paper, we first show the importance of switch module to NS-3. And then, we design a switch module for NS-3, to do so, some principles are first proposed. Based on these principles, an abstract switch module is designed and implemented for NS-3. By extending this abstract module, many specific switches using different switch architectures and arbitration or scheduling algorithms can be implemented. Two specific switches are implemented in this paper as examples. One is based on crossbar and uses iSLIP as its scheduling algorithm, the other is the CICB (Combined Input and Crosspoint Buffered) switch which uses the simplest round-robin as its input and output arbitration algorithm. Finally, several simulations are done, to verify the correctness of our switch module. By comparing the results to that within the original papers, we say that our designs and implementations are correct, and the switch module can be used for both the switch and network simulations. Then based on the switch module, some simulations are designed to show the network performance with different switches.