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
Hello,
I'm currently researching on CBS and my computations on the CBS parameters differed from the script provided in this project.
I had a look into it and found a potential bug in lines 28-29:
while max_frame_size_a and frame_non_sr are in Byte (if I did not miss anything).
The usage of kbit/s and byte in one equation sounds wrong to me. Also Annex L section L.2 a) shows an example, where all computations are done in bit and bit/s.
If I missed a point somewhere in the code or the specification, I'd be thankful for pointing it out.
Thanks!
The text was updated successfully, but these errors were encountered:
You didn't missing anything on the code or specification. Note that calc-cbs-params.py returns results to be used to set the CBS qdisc (man 8 tc-cbs), which expects hicredit and locredit to be in bytes.
So it's more of a convenience to just copy its output as input for setting up CBS qdisc - without having to convert to bytes.
Hello,
I'm currently researching on CBS and my computations on the CBS parameters differed from the script provided in this project.
I had a look into it and found a potential bug in lines 28-29:
tsn-doc/misc/calc-cbs-params.py
Lines 28 to 29 in 722928b
The variables
idleslope_a
,sendslope_a
andlinkspeed
are measured in kbit/stsn-doc/misc/calc-cbs-params.py
Line 85 in 722928b
tsn-doc/misc/calc-cbs-params.py
Lines 137 to 138 in 722928b
tsn-doc/misc/calc-cbs-params.py
Line 150 in 722928b
while
max_frame_size_a
andframe_non_sr
are in Byte (if I did not miss anything).The usage of kbit/s and byte in one equation sounds wrong to me. Also Annex L section L.2 a) shows an example, where all computations are done in bit and bit/s.
If I missed a point somewhere in the code or the specification, I'd be thankful for pointing it out.
Thanks!
The text was updated successfully, but these errors were encountered: