External Message Controlling in ONE Simulator

Screenshot-from-2013-12-13-165044

Use the Script from /toolkit/createCreates.pl that comes with ONE Simulator, then do something in terminal like:

./createCreates.pl -time 0:14400 -nrof 1600 -hosts 0:19 -sizes 1000:100000 > load_1600msgs.txt


-time: initial and final time to create messages
-nrof: number of messages to be created
-hosts: hosts identifiers. In this example the total number of node is 36 so ids are between 0:35
-sizes. message sizes (1kB to 100kB)
> operator to write the script output in the file named load_1600msgs.txt

Then from default_settings.txt  file, you will call it this way:

## Message creation parameters
# How many event generators
Events.nrof = 1
Events1.class = ExternalEventsQueue
Events1.filePath = load_traces.txt

Postingan terkait:

1 Tanggapan untuk "External Message Controlling in ONE Simulator"

  1. 0 C M1 0 100 44798 game
    0 C M2 100 0 39224 tourist
    from 0 100 and 100 to 0 in tourist interest.
    what is happening there as we have total 150 nodes in file.the hosts defined there are 0-100.will this send the message game to 0 to 1 and onwards till node hundred message.
    kindly help me in this just regard.

    ReplyDelete