p2psim-0.3

所属分类:网络
开发工具:Visual C++
文件大小:439KB
下载次数:38
上传日期:2008-07-07 14:02:13
上 传 者dec3008
说明:  P2P模拟器,能模拟很多P2P的协议的执行情况,是用C++编写的在Unix系统下运行的
(P2P simulator that can simulate many of the P2P implementation of the Agreement, is C++ Prepared in the Unix system running under)

文件列表:
p2psim-0.3\p2psim-0.3\acinclude.m4 (2373, 2004-06-09)
p2psim-0.3\p2psim-0.3\aclocal.m4 (22083, 2005-04-27)
p2psim-0.3\p2psim-0.3\AUTHORS (294, 2003-12-08)
p2psim-0.3\p2psim-0.3\config.guess (31228, 2003-03-22)
p2psim-0.3\p2psim-0.3\config.h.in (935, 2004-06-19)
p2psim-0.3\p2psim-0.3\config.sub (24535, 2003-03-22)
p2psim-0.3\p2psim-0.3\configure (146099, 2005-04-27)
p2psim-0.3\p2psim-0.3\configure.in (2912, 2005-04-16)
p2psim-0.3\p2psim-0.3\depcomp (12117, 2005-04-27)
p2psim-0.3\p2psim-0.3\eventgenerators\churneventgenerator.C (8084, 2005-04-16)
p2psim-0.3\p2psim-0.3\eventgenerators\churneventgenerator.h (3062, 2005-04-16)
p2psim-0.3\p2psim-0.3\eventgenerators\churnfileeventgenerator.C (4989, 2005-04-16)
p2psim-0.3\p2psim-0.3\eventgenerators\churnfileeventgenerator.h (1665, 2005-04-16)
p2psim-0.3\p2psim-0.3\eventgenerators\eventgeneratorfactory.C (2123, 2005-04-16)
p2psim-0.3\p2psim-0.3\eventgenerators\eventgeneratorfactory.h (1665, 2005-04-16)
p2psim-0.3\p2psim-0.3\eventgenerators\fileeventgenerator.C (2398, 2005-04-16)
p2psim-0.3\p2psim-0.3\eventgenerators\fileeventgenerator.h (1631, 2005-04-16)
p2psim-0.3\p2psim-0.3\eventgenerators\Makefile.am (418, 2003-12-08)
p2psim-0.3\p2psim-0.3\eventgenerators\Makefile.in (9203, 2005-04-28)
p2psim-0.3\p2psim-0.3\eventgenerators\sillyeventgenerator.C (2379, 2005-04-16)
p2psim-0.3\p2psim-0.3\eventgenerators\sillyeventgenerator.h (1745, 2005-04-16)
p2psim-0.3\p2psim-0.3\events\eventfactory.C (1806, 2005-04-16)
p2psim-0.3\p2psim-0.3\events\eventfactory.h (1518, 2005-04-16)
p2psim-0.3\p2psim-0.3\events\Makefile.am (256, 2003-12-08)
p2psim-0.3\p2psim-0.3\events\Makefile.in (8542, 2005-04-28)
p2psim-0.3\p2psim-0.3\events\netevent.C (1489, 2005-04-16)
p2psim-0.3\p2psim-0.3\events\netevent.h (1540, 2005-04-16)
p2psim-0.3\p2psim-0.3\events\p2pevent.C (3400, 2005-04-16)
p2psim-0.3\p2psim-0.3\events\p2pevent.h (1626, 2005-04-16)
p2psim-0.3\p2psim-0.3\events\simevent.C (1778, 2005-04-16)
p2psim-0.3\p2psim-0.3\events\simevent.h (1459, 2005-04-16)
p2psim-0.3\p2psim-0.3\example\accordion_args (265, 2005-04-14)
p2psim-0.3\p2psim-0.3\example\chord_args (386, 2004-06-15)
p2psim-0.3\p2psim-0.3\example\events.txt (169, 2005-04-16)
p2psim-0.3\p2psim-0.3\example\kademlia_args (192, 2004-06-26)
p2psim-0.3\p2psim-0.3\example\kelips_args (350, 2004-06-15)
p2psim-0.3\p2psim-0.3\example\koorde_args (341, 2004-07-24)
p2psim-0.3\p2psim-0.3\example\onehop_args (165, 2004-06-16)
p2psim-0.3\p2psim-0.3\example\protocol.txt (171, 2003-12-11)
p2psim-0.3\p2psim-0.3\example\silly-events.txt (64, 2003-11-23)
... ...

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.

近期下载者

相关文件


收藏者