noxim
noxim copied to clipboard
traffic
Hi, How to run a table_based traffic in Noxim?
Hi You can make a txt file on simulator bin/ directory ( for example t.txt ) after that indicate src and dst nodes and with traffic injection load between this 2 nodes in each line of this file. for example copy this line into t.txt file: 64 255 0.0005 3 103 0.0007 It means you wanna inject 0.0005 traffic between 64 & 255 nodes on network and 0.0007 between 3 & 103 nodes simultaneously.
after making this file modify end of YAML configuration on this parts: traffic_distribution: TRAFFIC_TABLE_BASED traffic_table_filename: "t.txt"
Regards
What does 0.0005 represent? Did you mean 0.05 % percent of the total traffic?
Is there a way to set fixed packet size for each flow, instead of pir value ? I think it is possible to do this by embedding injection rate value into packet size.
Just modify the traffic table reader so that it reads the pir AND ALSO a value of packet size. I think shouldn't be complext, just replicate what has been done for the pir of each flow in order to add also the packet size.