-
Notifications
You must be signed in to change notification settings - Fork 20
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
How to extend TSN example with FlowMetering? #23
Comments
Hello Voica, I have assigned Philipp (Musteblume) to this question and hope he can help you. Currently, he is on vacation, but he will get in touch as soon as he is back. Thanks for your patience. Best |
Hi Timo, Thanks for reaching back! Until Philipp is back, here are some details: All best |
Hi Voica, Regarding the CIR: The CreditBasedMeter is an experimental creation by us which is not defined in the standard. The token bucket based metering from the standard which uses CIR etc. is not implemented. You can implement a token based approach by extending IEEE8021QciMeter. Regarding the Error: Are you still getting the error? Can you show the configuration that produces the error? Best regards |
Hi Philipp, Thank you for the clarification about the non-standard CIR implementation! After removing the flow meter, the error disappears :) All best |
Hi Voica, that's good news but it should also not crash when using the flow meter. Are you able to share your crashing configuration with me? It would be valuable to fix this. Best regards |
Hi Philipp, Hoping that helps, I’m attaching the switch configuration (switch1.txt) adapted from TSN example! Error message is as in the first comment, first point, of this thread. All best |
Hi Voica, thank you very much. I will have a deeper look into the issue. Best regards |
Hi, was able to recreate the error: The cause was a misconfiguration of the stream filter:
But the source of the stream is This results in CreditBasedMeter thinking zero bandwidth is reserved for the stream. Best regards |
Hi Philipp,
Thank you for finding out the misconfiguration! On which version is fixed now the 0-bw problem in CBM?
All best
Voica
…________________________________
From: Philipp Meyer ***@***.***>
Sent: Monday, November 8, 2021 12:18 PM
To: CoRE-RG/CoRE4INET ***@***.***>
Cc: Voica Gavrilut ***@***.***>; Author ***@***.***>
Subject: Re: [CoRE-RG/CoRE4INET] How to extend TSN example with FlowMetering? (#23)
Hi,
was able to recreate the error:
The cause was a misconfiguration of the stream filter:
**.switch1.phy[0].filtering.streamFilter[1].typename = "QTagFilter"
**.switch1.phy[0].filtering.streamFilter[1].vID = 2
**.switch1.phy[0].filtering.streamFilter[1].pcp = 6
**.switch1.phy[0].filtering.streamFilter[1].srcAddress = "0A-00-00-00-00-01"
**.switch1.phy[0].filtering.streamFilter[1].gateID = 1
**.switch1.phy[0].filtering.streamFilter[1].meterID = 1
**.switch1.phy[0].filtering.flowMeter[1].typename = "CreditBasedMeter"
**.switch1.phy[0].filtering.flowMeter[1].maxBurst = 1
But the source of the stream is **.node2.phy[*].mac.address = "0A-00-00-00-00-02"
This results in CreditBasedMeter thinking zero bandwidth is reserved for the stream.
I fixed that CBM is not crashing on zero bandwidth. Now, it doesn't crash on misconfiguration.
Thank you for the info's.
Best regards
Philipp
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#23 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AMLNYJSM242VEDYCR2AW6IDUK6WX3ANCNFSM5CHS5VYA>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Hi Voica, should be published here in the master branch today. Best regards |
Fix is published in master. |
Hi,
I would like to extend the TSN example to use also FlowMetering. Node1 generates 2 streams now, one is TS and one is AVB. And I have 2 questions:
<!> Error: Cannot convert inf to simtime_t: Out of range (-9223372.036854775807,9223372.036854775807), allowed by scale exponent -12 -- in module (CoRE4INET::CreditBasedMeter) small_network.switch1.phy[0].filtering.flowMeter[1] (id=210), at t=0.00006376s, event #342 undisposed object: (CoRE4INET::SchedulerTimerEvent) small_network.switch1.phy[0].filtering.flowMeter.CBM_SENDSLOPE_END -- check module destructor
Can someone help me please to fix this error?
All best
Voica
The text was updated successfully, but these errors were encountered: