noxim icon indicating copy to clipboard operation
noxim copied to clipboard

traffic

Open setat opened this issue 7 years ago • 4 comments

Hi, How to run a table_based traffic in Noxim?

setat avatar Nov 15 '17 07:11 setat

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

HassanMortazavi avatar Nov 18 '17 09:11 HassanMortazavi

What does 0.0005 represent? Did you mean 0.05 % percent of the total traffic?

KacperKubara avatar Apr 12 '20 11:04 KacperKubara

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.

udaymallappa avatar Oct 18 '21 06:10 udaymallappa

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.

davidepatti avatar Oct 18 '21 11:10 davidepatti