davidepatti / noxim

Network on Chip Simulator
218 stars 118 forks source link

Traffic Hotspot error #109

Open KacperKubara opened 4 years ago

KacperKubara commented 4 years ago

I've set up a traffic in the default_config.yaml file as TRAFFIC_HOTSPOT. After running the noxim, I get a resulting error:

Loading configuration from file "../config_examples/default_config_hotspot.yaml"... Done
Loading power configurations from file "power.yaml"... Done
Reset for 1000 cycles...  done!
 Now running for 10000 cycles...
Invalid traffic distribution: TRAFFIC_HOTSPOT

What am I supposed to do? There is hardly any information on how to use this traffic option. Should I create a table for that traffic? If yes, how?

YatinKumarGupta commented 3 years ago

I am also facing the same issue while simulating for my routing algorithm

Inc0n commented 2 years ago

Although in the example config it shows that there is a hotspot traffic type (TRAFFIC_HOTSPOT), it throws an error for this option.

Reading the MANUAL.txt for the following flag:

-hs ID P    Add node ID to hotspot nodes, with percentage P (0..1) (Only for 'random' traffic)

This suggest that "random traffic" should be used instead and with this flag to set which node (or nodes) to be set with a custom (higher) load than the rest.

AvishkaDon commented 1 year ago

I've set up a traffic in the default_config.yaml file as TRAFFIC_HOTSPOT. After running the noxim, I get a resulting error:

Loading configuration from file "../config_examples/default_config_hotspot.yaml"... Done
Loading power configurations from file "power.yaml"... Done
Reset for 1000 cycles...  done!
 Now running for 10000 cycles...
Invalid traffic distribution: TRAFFIC_HOTSPOT

What am I supposed to do? There is hardly any information on how to use this traffic option. Should I create a table for that traffic? If yes, how?

did you happen to figure out how to set up a traffic table with hotspots?