Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

traffic #50

Open
setat opened this issue Nov 15, 2017 · 4 comments
Open

traffic #50

setat opened this issue Nov 15, 2017 · 4 comments

Comments

@setat
Copy link

setat commented Nov 15, 2017

Hi,
How to run a table_based traffic in Noxim?

@HassanMortazavi
Copy link

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

@KacperKubara
Copy link

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

@udaymallappa
Copy link

udaymallappa commented Oct 18, 2021

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.

@davidepatti
Copy link
Owner

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 davidepatti reopened this Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants