You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the value of switch.bridging.streamFilter.ingress.gate[0].bitrate now equals: 1e+08bps (not expected)
I cannot make any sense on:
Why this effect happens on the PeriodicGate but not the InteractiveGate
The bitrate parameter is only set for when I enable egress traffic shaping on the client node, which should be completely unrelated to whatever happens on the switch.
What else I've figures out
The bitrate which is set for the filter gate equals the bitrate specified in the TsnLinearNetwork. Changing this value changes the bitrate for the filter gate
Setting *.switch.hasEgressTrafficShaping = true or *.server.hasEgressTrafficShaping = true does not have any effect. This only happens when the *client.hasEgressTrafficShaping=true
Sadly I don't have a lot of ideas on how to analyze this in more detail as I can't make any sense out of the behavior described above, so help here would be appreciated.
Side note: I can circumvent the problem by simply setting gate[*].enableImplicitGuardBand = false. However I still think the behavior above is a bug which should be analyzed as it maybe occurs in other unwanted scenarios as well
The text was updated successfully, but these errors were encountered:
There's a similar line that pass down the bitrate from the interface to the queue.
Hello,
thanks for the response, however this is not about the bitrate in the shaper but in the filter which is not a submodule of the TAS.
Also the change happens in a completely different module (switch) when the TAS is enabled on another module (client)
This turned out to be a bug in omnetpp. Do you need a patch or can you workaround the problem for now? The next omnetpp version will contain a fix. Thank you for your effort!
Hello,
I'm experiencing quite a weird bug which I cannot seem to figure out why it happens.
I'm working with the streamfiltering/tokenbucket showcase
inet/showcases/tsn/streamfiltering/tokenbucket/omnetpp.ini
Lines 47 to 59 in 3af5f7e
What works:
When starting the simulation and exploring the value of
switch.bridging.streamFilter.ingress.gate[0].bitrate
it isnan bps
(expected behavior)When I only add the following LOC to the omnetpp.ini file:
The value is still
nan bps
(expected behavior)When I only add this line (without the line above):
*.client.hasEgressTrafficShaping = true
The value is still
nan bps
(expected behavior)What doesn't work:
However, when I add both lines from above to the omnetpp.ini file:
the value of
switch.bridging.streamFilter.ingress.gate[0].bitrate
now equals:1e+08bps
(not expected)I cannot make any sense on:
What else I've figures out
The bitrate which is set for the filter gate equals the bitrate specified in the TsnLinearNetwork. Changing this value changes the bitrate for the filter gate
inet/src/inet/networks/tsn/TsnLinearNetwork.ned
Lines 12 to 15 in 3af5f7e
Setting
*.switch.hasEgressTrafficShaping = true
or*.server.hasEgressTrafficShaping = true
does not have any effect. This only happens when the*client.hasEgressTrafficShaping=true
Sadly I don't have a lot of ideas on how to analyze this in more detail as I can't make any sense out of the behavior described above, so help here would be appreciated.
Side note: I can circumvent the problem by simply setting
gate[*].enableImplicitGuardBand = false
. However I still think the behavior above is a bug which should be analyzed as it maybe occurs in other unwanted scenarios as wellThe text was updated successfully, but these errors were encountered: