660-fq_codel_defaults.patch 417 B

1234567891011121314
  1. --- a/net/sched/sch_fq_codel.c
  2. +++ b/net/sched/sch_fq_codel.c
  3. @@ -394,9 +394,9 @@ static int fq_codel_init(struct Qdisc *s
  4. struct fq_codel_sched_data *q = qdisc_priv(sch);
  5. int i;
  6. - sch->limit = 10*1024;
  7. + sch->limit = 1024;
  8. q->flows_cnt = 1024;
  9. - q->quantum = psched_mtu(qdisc_dev(sch));
  10. + q->quantum = 300;
  11. q->perturbation = prandom_u32();
  12. INIT_LIST_HEAD(&q->new_flows);
  13. INIT_LIST_HEAD(&q->old_flows);