* [Cake] wash option not in tc-adv @ 2015-11-29 22:59 Vincent Frentzel 2015-11-30 6:41 ` Vincent Frentzel 0 siblings, 1 reply; 11+ messages in thread From: Vincent Frentzel @ 2015-11-29 22:59 UTC (permalink / raw) To: cake Hi Everyone, Been trying to make use of the wash option the whole week but it seems tc-adv does not accept the param. I cleaned up my build env with distclean, started from scratch, no luck. Am I missing something? Cheers, V (sent from iphone) ^ permalink raw reply [flat|nested] 11+ messages in thread
* [Cake] wash option not in tc-adv 2015-11-29 22:59 [Cake] wash option not in tc-adv Vincent Frentzel @ 2015-11-30 6:41 ` Vincent Frentzel 2015-11-30 10:10 ` Kevin Darbyshire-Bryant 0 siblings, 1 reply; 11+ messages in thread From: Vincent Frentzel @ 2015-11-30 6:41 UTC (permalink / raw) To: cake [-- Attachment #1: Type: text/plain, Size: 233 bytes --] Hi Everyone, Been trying to make use of the wash option the whole week but it seems tc-adv does not accept the param. I cleaned up my build env with distclean, started from scratch, no luck. Am I missing something? Cheers, Vincent [-- Attachment #2: Type: text/html, Size: 309 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Cake] wash option not in tc-adv 2015-11-30 6:41 ` Vincent Frentzel @ 2015-11-30 10:10 ` Kevin Darbyshire-Bryant 2015-11-30 10:22 ` Vincent Frentzel 0 siblings, 1 reply; 11+ messages in thread From: Kevin Darbyshire-Bryant @ 2015-11-30 10:10 UTC (permalink / raw) To: cake [-- Attachment #1: Type: text/plain, Size: 1286 bytes --] Hi Vincent, I suspect you've not updated the 'tc-adv' package. The package definition contains amongst many things, the revision to checkout from the git repository containing 'tc-adv'. If that's not updated, you get the old version. If you run (from your openwrt base directory) './scripts/feeds update -a' this will update all the packages in all your configured feeds to their latest versions. As 'tc-adv' is (or should be) an already configured package then that should be sufficient. I'm guessing you've the 'kmod-sched-cake' and 'tc-adv' packages in a custom feed, probably something like 'cero'. Take a look in 'feeds/cero/net/tc-adv/Makefile' and you should find the PKG_SOURCE_VERSION is 'f789a4897dff988a4d08e39fd360e9468a60fa65' I hope that helps. Kevin On 30/11/15 06:41, Vincent Frentzel wrote: > Hi Everyone, > > Been trying to make use of the wash option the whole week but it seems > tc-adv does not accept the param. I cleaned up my build env with > distclean, started from scratch, no luck. Am I missing something? > > Cheers, > Vincent > > > _______________________________________________ > Cake mailing list > Cake@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cake [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/pkcs7-signature, Size: 4816 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Cake] wash option not in tc-adv 2015-11-30 10:10 ` Kevin Darbyshire-Bryant @ 2015-11-30 10:22 ` Vincent Frentzel 2015-11-30 11:22 ` Kevin Darbyshire-Bryant 0 siblings, 1 reply; 11+ messages in thread From: Vincent Frentzel @ 2015-11-30 10:22 UTC (permalink / raw) To: Kevin Darbyshire-Bryant, cake [-- Attachment #1: Type: text/plain, Size: 2018 bytes --] Hi Kevin, Thanks for the pointer. Im 99.9% sure of having done that. 1) I have a cero repo in my feed list. 2) I ran ./scripts/feeds update -a; install -a 3) made oldconfig reviewed the changes (tc-adv and sch-cake are here). 4) ran make dirclean; make I ll check the Makefile for the version stanza tonight. I use as option "wash diffserv4". Is this correct? I use this config on my egress queue (facing lan side). Thanks for your help, BR, Vincent On Mon, Nov 30, 2015 at 11:10 AM Kevin Darbyshire-Bryant < kevin@darbyshire-bryant.me.uk> wrote: > Hi Vincent, > > I suspect you've not updated the 'tc-adv' package. The package > definition contains amongst many things, the revision to checkout from > the git repository containing 'tc-adv'. If that's not updated, you get > the old version. If you run (from your openwrt base directory) > './scripts/feeds update -a' this will update all the packages in all > your configured feeds to their latest versions. As 'tc-adv' is (or > should be) an already configured package then that should be sufficient. > > I'm guessing you've the 'kmod-sched-cake' and 'tc-adv' packages in a > custom feed, probably something like 'cero'. Take a look in > 'feeds/cero/net/tc-adv/Makefile' and you should find the > PKG_SOURCE_VERSION is 'f789a4897dff988a4d08e39fd360e9468a60fa65' > > > I hope that helps. > > Kevin > > > > > > > > > > > > > > > > > > On 30/11/15 06:41, Vincent Frentzel wrote: > > Hi Everyone, > > > > Been trying to make use of the wash option the whole week but it seems > > tc-adv does not accept the param. I cleaned up my build env with > > distclean, started from scratch, no luck. Am I missing something? > > > > Cheers, > > Vincent > > > > > > _______________________________________________ > > Cake mailing list > > Cake@lists.bufferbloat.net > > https://lists.bufferbloat.net/listinfo/cake > > > _______________________________________________ > Cake mailing list > Cake@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cake > [-- Attachment #2: Type: text/html, Size: 3112 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Cake] wash option not in tc-adv 2015-11-30 10:22 ` Vincent Frentzel @ 2015-11-30 11:22 ` Kevin Darbyshire-Bryant 2015-11-30 11:31 ` Kevin Darbyshire-Bryant 2015-11-30 21:15 ` Vincent Frentzel 0 siblings, 2 replies; 11+ messages in thread From: Kevin Darbyshire-Bryant @ 2015-11-30 11:22 UTC (permalink / raw) To: Vincent Frentzel, cake [-- Attachment #1: Type: text/plain, Size: 3097 bytes --] On 30/11/15 10:22, Vincent Frentzel wrote: > Hi Kevin, > > Thanks for the pointer. > > Im 99.9% sure of having done that. > > 1) I have a cero repo in my feed list. > 2) I ran ./scripts/feeds update -a; install -a > 3) made oldconfig reviewed the changes (tc-adv and sch-cake are here). > 4) ran make dirclean; make Looks good to me. The 'install -a' is not required as 'tc-adv' is (hopefully) already installed, and you (equally hopefully) just updated it. To make sure an old version of 'tc-adv' isn't hanging around for some reason, 'rm dl/tc-adv-4.1.0-*' is another 'brute force' option. > > I ll check the Makefile for the version stanza tonight. The Makefile is king so worth checking. > > I use as option "wash diffserv4". Is this correct? I use this config > on my egress queue (facing lan side). In fact, as 'diffserv4' is the cake default, you can reduce this to just 'wash'. And I just did 'tc qdisc change dev ifb4eth0 root cake wash diffserv4' and it all worked as expected. You are flashing the box (or uploading the new 'tc-adv' package') right? :-) I know it's a silly question :-) > > Thanks for your help, No problem. > > BR, > Vincent > > On Mon, Nov 30, 2015 at 11:10 AM Kevin Darbyshire-Bryant > <kevin@darbyshire-bryant.me.uk <mailto:kevin@darbyshire-bryant.me.uk>> > wrote: > > Hi Vincent, > > I suspect you've not updated the 'tc-adv' package. The package > definition contains amongst many things, the revision to checkout from > the git repository containing 'tc-adv'. If that's not updated, > you get > the old version. If you run (from your openwrt base directory) > './scripts/feeds update -a' this will update all the packages in all > your configured feeds to their latest versions. As 'tc-adv' is (or > should be) an already configured package then that should be > sufficient. > > I'm guessing you've the 'kmod-sched-cake' and 'tc-adv' packages in a > custom feed, probably something like 'cero'. Take a look in > 'feeds/cero/net/tc-adv/Makefile' and you should find the > PKG_SOURCE_VERSION is 'f789a4897dff988a4d08e39fd360e9468a60fa65' > > > I hope that helps. > > Kevin > > > > > > > > > > > > > > > > > > On 30/11/15 06:41, Vincent Frentzel wrote: > > Hi Everyone, > > > > Been trying to make use of the wash option the whole week but it > seems > > tc-adv does not accept the param. I cleaned up my build env with > > distclean, started from scratch, no luck. Am I missing something? > > > > Cheers, > > Vincent > > > > > > _______________________________________________ > > Cake mailing list > > Cake@lists.bufferbloat.net <mailto:Cake@lists.bufferbloat.net> > > https://lists.bufferbloat.net/listinfo/cake > > > _______________________________________________ > Cake mailing list > Cake@lists.bufferbloat.net <mailto:Cake@lists.bufferbloat.net> > https://lists.bufferbloat.net/listinfo/cake > [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/pkcs7-signature, Size: 4816 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Cake] wash option not in tc-adv 2015-11-30 11:22 ` Kevin Darbyshire-Bryant @ 2015-11-30 11:31 ` Kevin Darbyshire-Bryant 2015-11-30 11:36 ` Dave Taht 2015-11-30 21:15 ` Vincent Frentzel 1 sibling, 1 reply; 11+ messages in thread From: Kevin Darbyshire-Bryant @ 2015-11-30 11:31 UTC (permalink / raw) To: cake [-- Attachment #1: Type: text/plain, Size: 4251 bytes --] Oh and look for 'wash' in 'openwrt/build_dir/target-*/tc-adv-4.1.0-git/tc/q_cake.c' e.g. kevin@Animal ~/git/openwrt/build_dir/target-mips_74kc_musl-1.1.11/tc-adv-4.1.0-git/tc (kdb) $ grep wash *.c q_cake.c: " [ wash | nowash* ]\n" q_cake.c: int wash = -1; q_cake.c: } else if (strcmp(*argv, "nowash") == 0) { q_cake.c: wash = 0; q_cake.c: } else if (strcmp(*argv, "wash") == 0) { q_cake.c: wash = 1; q_cake.c: diffserv = 1; /* synonym for besteffort wash*/ q_cake.c: wash = 1; q_cake.c: if (wash != -1) q_cake.c: addattr_l(n, 1024, TCA_CAKE_WASH, &wash, sizeof(wash)); q_cake.c: int wash = 0; q_cake.c: wash = rta_getattr_u32(tb[TCA_CAKE_WASH]); q_cake.c: if (wash) q_cake.c: fprintf(f,"wash "); On 30/11/15 11:22, Kevin Darbyshire-Bryant wrote: > > On 30/11/15 10:22, Vincent Frentzel wrote: >> Hi Kevin, >> >> Thanks for the pointer. >> >> Im 99.9% sure of having done that. >> >> 1) I have a cero repo in my feed list. >> 2) I ran ./scripts/feeds update -a; install -a >> 3) made oldconfig reviewed the changes (tc-adv and sch-cake are here). >> 4) ran make dirclean; make > Looks good to me. The 'install -a' is not required as 'tc-adv' is > (hopefully) already installed, and you (equally hopefully) just updated > it. To make sure an old version of 'tc-adv' isn't hanging around for > some reason, 'rm dl/tc-adv-4.1.0-*' is another 'brute force' option. >> I ll check the Makefile for the version stanza tonight. > The Makefile is king so worth checking. >> I use as option "wash diffserv4". Is this correct? I use this config >> on my egress queue (facing lan side). > In fact, as 'diffserv4' is the cake default, you can reduce this to just > 'wash'. And I just did 'tc qdisc change dev ifb4eth0 root cake wash > diffserv4' and it all worked as expected. > > You are flashing the box (or uploading the new 'tc-adv' package') right? > :-) I know it's a silly question :-) >> Thanks for your help, > No problem. >> BR, >> Vincent >> >> On Mon, Nov 30, 2015 at 11:10 AM Kevin Darbyshire-Bryant >> <kevin@darbyshire-bryant.me.uk <mailto:kevin@darbyshire-bryant.me.uk>> >> wrote: >> >> Hi Vincent, >> >> I suspect you've not updated the 'tc-adv' package. The package >> definition contains amongst many things, the revision to checkout from >> the git repository containing 'tc-adv'. If that's not updated, >> you get >> the old version. If you run (from your openwrt base directory) >> './scripts/feeds update -a' this will update all the packages in all >> your configured feeds to their latest versions. As 'tc-adv' is (or >> should be) an already configured package then that should be >> sufficient. >> >> I'm guessing you've the 'kmod-sched-cake' and 'tc-adv' packages in a >> custom feed, probably something like 'cero'. Take a look in >> 'feeds/cero/net/tc-adv/Makefile' and you should find the >> PKG_SOURCE_VERSION is 'f789a4897dff988a4d08e39fd360e9468a60fa65' >> >> >> I hope that helps. >> >> Kevin >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> On 30/11/15 06:41, Vincent Frentzel wrote: >> > Hi Everyone, >> > >> > Been trying to make use of the wash option the whole week but it >> seems >> > tc-adv does not accept the param. I cleaned up my build env with >> > distclean, started from scratch, no luck. Am I missing something? >> > >> > Cheers, >> > Vincent >> > >> > >> > _______________________________________________ >> > Cake mailing list >> > Cake@lists.bufferbloat.net <mailto:Cake@lists.bufferbloat.net> >> > https://lists.bufferbloat.net/listinfo/cake >> >> >> _______________________________________________ >> Cake mailing list >> Cake@lists.bufferbloat.net <mailto:Cake@lists.bufferbloat.net> >> https://lists.bufferbloat.net/listinfo/cake >> > > > > _______________________________________________ > Cake mailing list > Cake@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cake [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/pkcs7-signature, Size: 4816 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Cake] wash option not in tc-adv 2015-11-30 11:31 ` Kevin Darbyshire-Bryant @ 2015-11-30 11:36 ` Dave Taht 2015-11-30 12:09 ` Kevin Darbyshire-Bryant 0 siblings, 1 reply; 11+ messages in thread From: Dave Taht @ 2015-11-30 11:36 UTC (permalink / raw) To: Kevin Darbyshire-Bryant; +Cc: cake yes, you typically do have to install (or re-install) tc-adv with the opkg install --force-overwrite tc-adv option. The ongoing goal of course is to get this stuff mainlined, which we seem no closer to doing. I'd really hoped to get some good performance numbers back this past weekend, and didn't. I do "feel" that the revised codel model is not testing out as good as the one in fq_codel, that on a variety of tests set associative hashing is not seemingly worth it... and boy, oh boy, does peeling have issues on the hardware I tried it on. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Cake] wash option not in tc-adv 2015-11-30 11:36 ` Dave Taht @ 2015-11-30 12:09 ` Kevin Darbyshire-Bryant 0 siblings, 0 replies; 11+ messages in thread From: Kevin Darbyshire-Bryant @ 2015-11-30 12:09 UTC (permalink / raw) To: Dave Taht; +Cc: cake [-- Attachment #1: Type: text/plain, Size: 861 bytes --] On 30/11/15 11:36, Dave Taht wrote: > yes, you typically do have to install (or re-install) tc-adv with the > > opkg install --force-overwrite tc-adv I've not hit that problem 'cos I always chicken out and flash the entire upgrade image :-) > > option. The ongoing goal of course is to get this stuff mainlined, > which we seem no closer to doing. I'd really hoped to get some good > performance numbers back this past weekend, and didn't. I do "feel" > that the revised codel model is not testing out as good as the one in > fq_codel, that on a variety of tests set associative hashing is not > seemingly worth it... So is the code wrong, or the coding of the tests? ;-) > > and boy, oh boy, does peeling have issues on the hardware I tried it on. So does this mean you managed to bring back your Archer from its coma? Hoping yes! [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/pkcs7-signature, Size: 4816 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Cake] wash option not in tc-adv 2015-11-30 11:22 ` Kevin Darbyshire-Bryant 2015-11-30 11:31 ` Kevin Darbyshire-Bryant @ 2015-11-30 21:15 ` Vincent Frentzel 2015-11-30 21:49 ` Kevin Darbyshire-Bryant 2015-12-01 0:18 ` Toke Høiland-Jørgensen 1 sibling, 2 replies; 11+ messages in thread From: Vincent Frentzel @ 2015-11-30 21:15 UTC (permalink / raw) To: Kevin Darbyshire-Bryant; +Cc: cake Issue fixed. 'rm dl/tc-adv-4.1.0-*' was the solution. Thx, V (sent from iphone) > On 30 Nov 2015, at 12:22, Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> wrote: > > 'rm dl/tc-adv-4.1.0-*' ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Cake] wash option not in tc-adv 2015-11-30 21:15 ` Vincent Frentzel @ 2015-11-30 21:49 ` Kevin Darbyshire-Bryant 2015-12-01 0:18 ` Toke Høiland-Jørgensen 1 sibling, 0 replies; 11+ messages in thread From: Kevin Darbyshire-Bryant @ 2015-11-30 21:49 UTC (permalink / raw) To: Vincent Frentzel; +Cc: cake [-- Attachment #1: Type: text/plain, Size: 460 bytes --] Glad it's fixed. -- Cheers, Kevin@Darbyshire-Bryant.me.uk Sent from my phone, apologies for brevity, spelling & top posting > On 30 Nov 2015, at 21:15, Vincent Frentzel <zcecc22130.3f6df54@gmail.com> wrote: > > Issue fixed. > > 'rm dl/tc-adv-4.1.0-*' was the solution. > > Thx, > V > > (sent from iphone) > >> On 30 Nov 2015, at 12:22, Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> wrote: >> >> 'rm dl/tc-adv-4.1.0-*' [-- Attachment #2: smime.p7s --] [-- Type: application/pkcs7-signature, Size: 3062 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Cake] wash option not in tc-adv 2015-11-30 21:15 ` Vincent Frentzel 2015-11-30 21:49 ` Kevin Darbyshire-Bryant @ 2015-12-01 0:18 ` Toke Høiland-Jørgensen 1 sibling, 0 replies; 11+ messages in thread From: Toke Høiland-Jørgensen @ 2015-12-01 0:18 UTC (permalink / raw) To: Vincent Frentzel; +Cc: cake Vincent Frentzel <zcecc22130.3f6df54@gmail.com> writes: > Issue fixed. > > 'rm dl/tc-adv-4.1.0-*' was the solution. I think this is actually a bug in the tc-adv package. With git sources, the openwrt build system actually creates a tarball of the source, which is not necessarily automatically rebuilt when the source changes. I just pushed a change that makes sure that the PKG_RELEASE is included everywhere, so as long as we make sure to bump that on every change, we should be fine :) -Toke ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2015-12-01 0:18 UTC | newest] Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2015-11-29 22:59 [Cake] wash option not in tc-adv Vincent Frentzel 2015-11-30 6:41 ` Vincent Frentzel 2015-11-30 10:10 ` Kevin Darbyshire-Bryant 2015-11-30 10:22 ` Vincent Frentzel 2015-11-30 11:22 ` Kevin Darbyshire-Bryant 2015-11-30 11:31 ` Kevin Darbyshire-Bryant 2015-11-30 11:36 ` Dave Taht 2015-11-30 12:09 ` Kevin Darbyshire-Bryant 2015-11-30 21:15 ` Vincent Frentzel 2015-11-30 21:49 ` Kevin Darbyshire-Bryant 2015-12-01 0:18 ` Toke Høiland-Jørgensen
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox