p2psim

所属分类:Linux/Unix编程
开发工具:Unix_Linux
文件大小:493KB
下载次数:115
上传日期:2005-10-08 20:05:18
上 传 者jeffyh
说明:  是一个p2p在linux上的仿真,实现了P2P协议中的kademlia,chord的仿真.并可以通过对协议的扩展,实现更多的P2P协议的仿真,并证明其性能
(a p2p simulation on Linux which can simulate kademlia , chord for P2P, and can simulate more P2P protocols by extending protocols and verify their functionaliteis.)

文件列表:
p2psim (0, 2005-03-01)
p2psim\.cvsignore (35, 2004-08-11)
p2psim\acinclude.m4 (2449, 2004-09-10)
p2psim\aclocal.m4 (38868, 2004-09-10)
p2psim\AUTHORS (306, 2004-08-11)
p2psim\ChangeLog (1, 2004-08-11)
p2psim\config.guess (44350, 2004-08-11)
p2psim\config.h.in (972, 2004-09-10)
p2psim\config.sub (32462, 2004-08-11)
p2psim\configure.in (3019, 2004-09-10)
p2psim\COPYING (18349, 2004-08-11)
p2psim\CVS (0, 2005-03-01)
p2psim\CVS\Entries (1242, 2004-10-09)
p2psim\CVS\Entries.Extra (588, 2004-10-09)
p2psim\CVS\Entries.Extra.Old (574, 2004-09-10)
p2psim\CVS\Entries.Old (1201, 2004-09-10)
p2psim\CVS\Repository (17, 2004-08-12)
p2psim\CVS\Root (43, 2004-08-12)
p2psim\depcomp (15361, 2004-08-11)
p2psim\Doxyfile (9587, 2004-08-11)
p2psim\eventgenerators (0, 2005-03-01)
p2psim\eventgenerators\churneventgenerator.C (8550, 2005-01-11)
p2psim\eventgenerators\churneventgenerator.h (3014, 2005-01-11)
p2psim\eventgenerators\churnfileeventgenerator.C (5176, 2004-09-10)
p2psim\eventgenerators\churnfileeventgenerator.h (1705, 2004-08-11)
p2psim\eventgenerators\CVS (0, 2005-03-01)
p2psim\eventgenerators\CVS\Entries (721, 2005-01-11)
p2psim\eventgenerators\CVS\Entries.Extra (366, 2005-01-11)
p2psim\eventgenerators\CVS\Entries.Extra.Old (366, 2004-10-09)
p2psim\eventgenerators\CVS\Entries.Old (720, 2004-10-09)
p2psim\eventgenerators\CVS\Repository (33, 2004-08-12)
p2psim\eventgenerators\CVS\Root (43, 2004-08-12)
p2psim\eventgenerators\eventgeneratorfactory.C (2187, 2004-09-10)
p2psim\eventgenerators\eventgeneratorfactory.h (1704, 2004-08-11)
p2psim\eventgenerators\fileeventgenerator.C (2468, 2004-08-11)
p2psim\eventgenerators\fileeventgenerator.h (1671, 2004-08-11)
p2psim\eventgenerators\Makefile.am (430, 2004-09-10)
p2psim\eventgenerators\Makefile.am.bak (430, 2004-08-11)
p2psim\eventgenerators\Pastryeventgenerator.C (1213, 2004-08-25)
p2psim\eventgenerators\Pastryeventgenerator.h (576, 2004-08-25)
... ...

Disclaimer ---------- This is a pre alpha version of p2psim. We would value your feedback with suggestions and improvements. Compiling p2psim ---------------- Please see INSTALL for compilation instructions. Also, see: http://pdos.lcs.mit.edu/p2psim/howto.html Running p2psim -------------- You'll need to create 3 files first. A topology file, a protocol file, and an events file. Look at example/topology.txt for the syntax and an example of a topology file. Look at example/protocol.txt for the syntax and an example of a protocol file. Look at example/events.txt for the syntax and an example of an events file. p2psim/p2psim [protocolfile] [topologyfile] [eventsfile] Scripts ------- - run-simulations.pl: scripts/run-simulations.pl allows you to iterate (randomly or sequentially) through different parameter configurations of a particular protocol. To run, make a file containing the names of all the parameters to test, and the values those parameters should take. For example: base 1 2 3 4 timer 200 400 600 bigtimer *timer 2 4 littlebase <=base 1 2 3 4 base can take on values 1 through 4, and timer can take on 200, 400, or 600. bigtimer will be equal to either twice or 4 times the timer value, and littlebase can be 1 through 4, but is constrained to be less than or equal to the value of base. Other modifiers include "=", "+", "<", and ">". For examples of some parameter files, see the {tapestry, chord, kademlia, kelips}_args files in example/. Run 'scripts/run-simulations.pl --help' to see the available options. It uses the ChurnEventGenerator to generate events. An example execution might be: scripts/run-simulations.pl --protocol tapestry --topology example/silly-top.txt --lookupmean 1000 --lifemean 100000 --deathmean 100000 --exittime 200000 --args example/tapestry_args --logdir /tmp/p2psimtest --randomize 100 Your logs will be in the directory /tmp/p2psimtest, which will be created if it doesn't already exist. Questions? ---------- Please see our FAQ at: http://pdos.lcs.mit.edu/p2psim/faq.html, or send us email at p2psim-dev@pdos.lcs.mit.edu.

近期下载者

相关文件


收藏者