SatCom-TELMA / MA-DRL_Routing_Simulator

Multi-Agent Deep Reinforcement Learning (MA-DRL) Routing Simulator for satellite networks
40 stars 8 forks source link

Relationship Between 'Fraction' Parameter and Network Traffic #5

Open refealwang opened 2 weeks ago

refealwang commented 2 weeks ago

Hello author, I understand that the parameter 'fraction' can control the network traffic size. Could you please clarify the relationship between the 'fraction' parameter and the actual network load? For example, if I set 6 ground stations as active and use fraction = 0.1, how can I calculate the Traffic generation rate (Kbps)/average link traffic (Mbps)?

Fedeloz commented 6 days ago

Hi. The traffic generated by gateways is detailed in the full paper preprint and the simulator paper. Basically each gateway sends traffic to each other gateway equally, meaning that adding more gateways will increase the total traffic generated by each gateway since there are more sources of data packets. 'fraction' indeed controls the traffic injected by gateways just by multiplying the total number of packets generated by this factor.

The total number of packets generated by each gateway is printed by the console before every simulation starts, for example with 2 active gateways ( Milliard is 10e9. ):

---------------------------------- Traffic generated per GT (totalAvgFlow per Milliard): ---------------------------------- Malaga, Spain: 2.103214 Los Angeles, California, US: 1.8516475 ----------------------------------

There is not such way to control the traffic in terms of Mbps or related. However, the average throughput is plotted after each simulation:

plotAllThro = True # If True, it plots throughput plots for each single path between gateways. If False, it plots a single figure for overall Throughput

Keep this parameter to True to see the average throughput per source-destination pair in the uplink and the downlink for that source-destination pair. Otherwise the average uplink and downlink throughput is plotted only.

I just pushed a stable version where this feature in implemented (see c0976e9), in case your pull did not have this since it is a recent feature.

refealwang commented 4 days ago

Thank you for your response. I have encountered another issue. When all other conditions remain the same (pathing = pathings[0]/pathings[3]), I modified only the Fraction size and observed a strange phenomenon: a decrease in Fraction significantly increases the queuing delay, as shown in the figure below. 图片1 图片2

In my understanding, as the number of packets increases, the queuing delay should also increase, rather than decrease. Is there something wrong with my understanding?