Changeset 47811


Ignore:
Timestamp:
2015-12-08T01:14:41+01:00 (2 years ago)
Author:
nbd
Message:

kernel: revert fq_codel quantum override to prevent it from causing too much cpu load with higher speed (#21326)

Signed-off-by: Felix Fietkau <nbd@…>

Location:
trunk/target/linux/generic
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic/patches-3.18/660-fq_codel_defaults.patch

    r43093 r47811  
    11--- a/net/sched/sch_fq_codel.c 
    22+++ b/net/sched/sch_fq_codel.c 
    3 @@ -387,9 +387,9 @@ static int fq_codel_init(struct Qdisc *s 
     3@@ -387,7 +387,7 @@ static int fq_codel_init(struct Qdisc *s 
    44        struct fq_codel_sched_data *q = qdisc_priv(sch); 
    55        int i; 
     
    88+       sch->limit = 1024; 
    99        q->flows_cnt = 1024; 
    10 -       q->quantum = psched_mtu(qdisc_dev(sch)); 
    11 +       q->quantum = 300; 
     10        q->quantum = psched_mtu(qdisc_dev(sch)); 
    1211        q->perturbation = prandom_u32(); 
    13         INIT_LIST_HEAD(&q->new_flows); 
    14         INIT_LIST_HEAD(&q->old_flows); 
  • trunk/target/linux/generic/patches-4.1/660-fq_codel_defaults.patch

    r46112 r47811  
    11--- a/net/sched/sch_fq_codel.c 
    22+++ b/net/sched/sch_fq_codel.c 
    3 @@ -387,9 +387,9 @@ static int fq_codel_init(struct Qdisc *s 
     3@@ -387,7 +387,7 @@ static int fq_codel_init(struct Qdisc *s 
    44        struct fq_codel_sched_data *q = qdisc_priv(sch); 
    55        int i; 
     
    88+       sch->limit = 1024; 
    99        q->flows_cnt = 1024; 
    10 -       q->quantum = psched_mtu(qdisc_dev(sch)); 
    11 +       q->quantum = 300; 
     10        q->quantum = psched_mtu(qdisc_dev(sch)); 
    1211        q->perturbation = prandom_u32(); 
    13         INIT_LIST_HEAD(&q->new_flows); 
    14         INIT_LIST_HEAD(&q->old_flows); 
  • trunk/target/linux/generic/patches-4.3/660-fq_codel_defaults.patch

    r47182 r47811  
    11--- a/net/sched/sch_fq_codel.c 
    22+++ b/net/sched/sch_fq_codel.c 
    3 @@ -412,9 +412,9 @@ static int fq_codel_init(struct Qdisc *s 
     3@@ -412,7 +412,7 @@ static int fq_codel_init(struct Qdisc *s 
    44        struct fq_codel_sched_data *q = qdisc_priv(sch); 
    55        int i; 
     
    88+       sch->limit = 1024; 
    99        q->flows_cnt = 1024; 
    10 -       q->quantum = psched_mtu(qdisc_dev(sch)); 
    11 +       q->quantum = 300; 
     10        q->quantum = psched_mtu(qdisc_dev(sch)); 
    1211        q->perturbation = prandom_u32(); 
    13         INIT_LIST_HEAD(&q->new_flows); 
    14         INIT_LIST_HEAD(&q->old_flows); 
  • trunk/target/linux/generic/patches-4.4/660-fq_codel_defaults.patch

    r47701 r47811  
    11--- a/net/sched/sch_fq_codel.c 
    22+++ b/net/sched/sch_fq_codel.c 
    3 @@ -412,9 +412,9 @@ static int fq_codel_init(struct Qdisc *s 
     3@@ -412,7 +412,7 @@ static int fq_codel_init(struct Qdisc *s 
    44        struct fq_codel_sched_data *q = qdisc_priv(sch); 
    55        int i; 
     
    88+       sch->limit = 1024; 
    99        q->flows_cnt = 1024; 
    10 -       q->quantum = psched_mtu(qdisc_dev(sch)); 
    11 +       q->quantum = 300; 
     10        q->quantum = psched_mtu(qdisc_dev(sch)); 
    1211        q->perturbation = prandom_u32(); 
    13         INIT_LIST_HEAD(&q->new_flows); 
    14         INIT_LIST_HEAD(&q->old_flows); 
Note: See TracChangeset for help on using the changeset viewer.