Skip to content

This is the PeerSim simulation branch for P2PSP. Its purpose is to simulate practical conditions with large sets of clients in order to obtain more knowledge about its behaviour. To run this simulations you need to download the PeerSim simulator from http://peersim.sourceforge.net/ and unzip the file.

License

Notifications You must be signed in to change notification settings

P2PSP/PeerSim-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P2PSP Simulation Project

Join the chat at https://gitter.im/P2PSP/PeerSim-simulator

This is the PeerSim simulation branch for P2PSP. Its purpose is to simulate practical conditions with large sets of clients in order to obtain more knowledge about its behaviour.

To run this simulations you need to download the PeerSim simulator from PeerSim download page.

You can set up your IDE (i.e. Eclipse) to work with PeerSim project as it described here.

Configuration file is located at config/config.txt.

Running simulation

  1. Create a directory:

    $ mkdir p2psp-peersim && cd p2psp-peersim
  2. Clone a repository:

    $ git clone git@github.com:P2PSP/sim.git
  3. Download PeerSim simulator engine (and unzip it):

    $ wget downloads.sourceforge.net/project/peersim/peersim-1.0.5.zip && unzip peersim-1.0.5.zip
  4. Compile source files of P2PSP protocol:

    $ javac -cp ./peersim-1.0.5/peersim-1.0.5.jar:./peersim-1.0.5/jep-2.3.0.jar:./peersim-1.0.5/djep-1.0.0.jar ./sim/src/*.java
  5. Run simulation:

    $ java -cp ./:./peersim-1.0.5/peersim-1.0.5.jar:./peersim-1.0.5/jep-2.3.0.jar:./peersim-1.0.5/djep-1.0.0.jar peersim.Simulator ./sim/config/config.txt 

About

This is the PeerSim simulation branch for P2PSP. Its purpose is to simulate practical conditions with large sets of clients in order to obtain more knowledge about its behaviour. To run this simulations you need to download the PeerSim simulator from http://peersim.sourceforge.net/ and unzip the file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published