Re: New "tc qdisc" options




On 2020-10-05 2:58 a.m., Thomas Haller wrote:
Hi,

On Sun, 2020-10-04 at 11:47 -0500, davecb spamcop net wrote:
I need to set tc under network manager to enable CAKE in Fedora/Red
Hat
8/Centos 8/Ubuntu for a community of users badly affected by
"bufferbloat".
On my test machine, I can the appropriate options with tc, but it is
almost
immediately reset by Network Manager.
How did you set the tc options?

From the command-line, below.


I see code in

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/blob/master/libnm-core/nm-setting-tc-config.c

which implements setting tc qdisc, and a brief mention in

https://developer.gnome.org/NetworkManager/stable/

However the man pages do not mention tc.

Can you provide a hint on setting, for example, /tc qdisc replace dev
enp0s25 root cake bandwidth 20mbit/ in network manager?
"cake" is currently not supported. Until that is added, the intended
solution is to use a dispatcher script. See `man NetworkManager`.

Alas, that's the first place I looked (:-()

Cake doesn't need to be supported in network manager, as I can work
around it's lack with fq_codel.

However, I do need to discover the location and notation interpreted by
nm-setting-tc-config.c

1) can you help me with that?

2) is adding (the name of) the cake qdisc on your backlog?

--dave


--
David Collier-Brown,         | Always do right. This will gratify
System Programmer and Author | some people and astonish the rest
dave collier-brown indexexchange com |              -- Mark Twain


CONFIDENTIALITY NOTICE AND DISCLAIMER : This telecommunication, including any and all attachments, contains 
confidential information intended only for the person(s) to whom it is addressed. Any dissemination, 
distribution, copying or disclosure is strictly prohibited and is not a waiver of confidentiality. If you 
have received this telecommunication in error, please notify the sender immediately by return electronic mail 
and delete the message from your inbox and deleted items folders. This telecommunication does not constitute 
an express or implied agreement to conduct transactions by electronic means, nor does it constitute a 
contract offer, a contract amendment or an acceptance of a contract offer. Contract terms contained in this 
telecommunication are subject to legal review and the completion of formal documentation and are not binding 
until same is confirmed in writing and has been signed by an authorized signatory.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]