diff mbox

[OpenWrt-Devel] Add sch_fq and sch_pie to the kmod-sched package.

Message ID 87mw0hash8.fsf@toke.dk
State Accepted
Headers show

Commit Message

Toke Høiland-Jørgensen June 3, 2015, 12:15 p.m. UTC
These are two new packet schedulers introduced in Linux 3.12 and 3.14
respectively. sch_fq is a perfect fairness queueing scheduler that also
adds pacing on host TCP flows, and sch_pie is an AQM.

Having them available in kmod-sched makes it easier for people to test
these new queueing schemes.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
---
 package/kernel/linux/modules/netsupport.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Etienne Champetier June 3, 2015, 4:09 p.m. UTC | #1
2015-06-03 18:08 GMT+02:00 Etienne Champetier <champetier.etienne@gmail.com>
:

> Hi Toke,
>
> 2015-06-03 14:15 GMT+02:00 Toke Høiland-Jørgensen <toke@toke.dk>:
>
>>
>> These are two new packet schedulers introduced in Linux 3.12 and 3.14
>> respectively. sch_fq is a perfect fairness queueing scheduler that also
>> adds pacing on host TCP flows, and sch_pie is an AQM.
>>
>> Having them available in kmod-sched makes it easier for people to test
>> these new queueing schemes.
>>
>> Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
>> ---
>>
>> what is the size of the image/.ipk with/without this option ?
>
> reply all is better :)
Toke Høiland-Jørgensen June 3, 2015, 8:37 p.m. UTC | #2
Etienne Champetier <champetier.etienne@gmail.com> writes:

> what is the size of the image/.ipk with/without this option ? 

The .ipk goes from 46018 to 52793 bytes. Can't seem to get the image
size to change, probably some issue with my build setup...

-Toke
Jo-Philipp Wich June 3, 2015, 9:02 p.m. UTC | #3
Hi,

> The .ipk goes from 46018 to 52793 bytes. Can't seem to get the image
> size to change, probably some issue with my build setup...

The image is padded to whole eraseblocks, so if the squashfs size does
not change then the added code fits into the remaining space of an
eraseblock.

~ Jow
Steven Barth June 4, 2015, 6:07 a.m. UTC | #4
Applied, we have to cleanup kmod-sched at some point and throw out all
the crap nobody uses anyway.


Cheers,

Steven
diff mbox

Patch

diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index 4483581..cead141 100644
--- a/package/kernel/linux/modules/netsupport.mk
+++ b/package/kernel/linux/modules/netsupport.mk
@@ -802,6 +802,8 @@  define KernelPackage/sched
 	CONFIG_NET_SCH_TBF \
 	CONFIG_NET_SCH_SFQ \
 	CONFIG_NET_SCH_TEQL \
+	CONFIG_NET_SCH_FQ \
+	CONFIG_NET_SCH_PIE \
 	CONFIG_NET_CLS_BASIC \
 	CONFIG_NET_ACT_POLICE \
 	CONFIG_NET_ACT_IPT \