* [Cake] Exposing the interval (rtt) parameter
@ 2015-10-08 12:03 Kevin Darbyshire-Bryant
2015-10-09 6:16 ` Kevin Darbyshire-Bryant
0 siblings, 1 reply; 3+ messages in thread
From: Kevin Darbyshire-Bryant @ 2015-10-08 12:03 UTC (permalink / raw)
To: cake
[-- Attachment #1: Type: text/plain, Size: 712 bytes --]
Afternoon (well it is for me)
I seem to remember a recent request to be able to specify the codel
interval parameter within cake. I've just pushed a branch
'exposeinterval' to both sch_cake & tc-adv which I believe does this.
My coding is very much of the copy'n'paste'n'tweak level so this
definitely needs looking over by skilled & experienced eyes, however in
the spirit of collaboration it might be a start.
Another warning: Nothing has been tested; sch-cake compiles. tc-adv
hasn't even been tested that far yet! Hopefully this evening will
rectify that as I'll be able to give the kiss of life to my router if
needed :-)
Maybe useful, maybe not. push/pull/tweak/delete as seen fit
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4816 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Cake] Exposing the interval (rtt) parameter
2015-10-08 12:03 [Cake] Exposing the interval (rtt) parameter Kevin Darbyshire-Bryant
@ 2015-10-09 6:16 ` Kevin Darbyshire-Bryant
2015-10-10 12:44 ` Kevin Darbyshire-Bryant
0 siblings, 1 reply; 3+ messages in thread
From: Kevin Darbyshire-Bryant @ 2015-10-09 6:16 UTC (permalink / raw)
To: cake
[-- Attachment #1: Type: text/plain, Size: 1404 bytes --]
On 08/10/15 13:03, Kevin Darbyshire-Bryant wrote:
> I seem to remember a recent request to be able to specify the codel
> interval parameter within cake. I've just pushed a branch
> 'exposeinterval' to both sch_cake & tc-adv which I believe does this.
>
> My coding is very much of the copy'n'paste'n'tweak level so this
> definitely needs looking over by skilled & experienced eyes, however in
> the spirit of collaboration it might be a start.
>
> Another warning: Nothing has been tested; sch-cake compiles. tc-adv
> hasn't even been tested that far yet! Hopefully this evening will
> rectify that as I'll be able to give the kiss of life to my router if
> needed :-)
Okay, well *now* it compiles (hangs head in shame at silly typos) and
runs (router survived the night) The tc user interface is horrible in
that it needs warnings if trying to set a silly value (and also needs a
suitable scaling factor supplied eg. 300ms rather than just 300) but
fundamentally this parameter does get passed from user space to kernel
space and cake does indeed use this as an interval value. Excuse me
while I say that's a result :-)
One thing I cannot suss out at the moment is why tc isn't reporting the
passed 'rtt' value on a 'tc -s qdisc' command. It has to be a silly but
I can't work it out at the moment - please let me know if you can see
how I've been stupid.
Kevin
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4816 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Cake] Exposing the interval (rtt) parameter
2015-10-09 6:16 ` Kevin Darbyshire-Bryant
@ 2015-10-10 12:44 ` Kevin Darbyshire-Bryant
0 siblings, 0 replies; 3+ messages in thread
From: Kevin Darbyshire-Bryant @ 2015-10-10 12:44 UTC (permalink / raw)
To: cake
[-- Attachment #1: Type: text/plain, Size: 352 bytes --]
On 09/10/15 07:16, Kevin Darbyshire-Bryant wrote:
> One thing I cannot suss out at the moment is why tc isn't reporting the
> passed 'rtt' value on a 'tc -s qdisc' command. It has to be a silly but
> I can't work it out at the moment - please let me know if you can see
> how I've been stupid.
>
> Kevin
Problem solved! Little cheer.
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4816 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-10-10 12:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-08 12:03 [Cake] Exposing the interval (rtt) parameter Kevin Darbyshire-Bryant
2015-10-09 6:16 ` Kevin Darbyshire-Bryant
2015-10-10 12:44 ` Kevin Darbyshire-Bryant
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox