We present a framework to simulate a peer-to-peer (P2P) file-sharing network, based on the Discrete Event Systems Specification (DEVS) formalism. Our framework models a file-sharing network as a coupled model, comprising a network model and a large number of peer models. While most available network simulation tools focus on transportlevel dynamics, we provide extensible and reusable models for the file-sharing protocol and for the behavior of peers. These models, implemented using the CD++ toolkit, can readily be used on existing simulators, including parallel and real-time simulators. As a case study, we apply our framework to simulate a P2P web, and show the emergence of an interesting page distribution.

Additional Metadata
Keywords DEVS, Peer-To-Peer, Simulation
Persistent URL dx.doi.org/10.1109/HPCSim.2012.6266937
Conference 2012 10th Annual International Conference on High Performance Computing and Simulation, HPCS 2012
Citation
Davoust, A. (Alan), Wainer, G.A, & Esfandiari, B. (2012). DEVS simulation of peer-to-peer file-sharing. Presented at the 2012 10th Annual International Conference on High Performance Computing and Simulation, HPCS 2012. doi:10.1109/HPCSim.2012.6266937