Skip to content

net_sched: allow use of hrtimer slack

Eric Dumazet netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v13 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net_sched: add qdisc_watchdog_schedule_range_ns()include/net/pkt_sched.h net/sched/sch_api.c+16 -60 replies
2/3net_sched: do not reprogram a timer about to expirenet/sched/sch_api.c+7 -20 replies
3/3net_sched: sch_fq: enable use of hrtimer slackinclude/uapi/linux/pkt_sched.h net/sched/sch_fq.c+19 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 net-next 0/3] net_sched: allow use of hrtimer slack

Packet schedulers have used hrtimers with exact expiry times.

Some of them can afford having a slack, in order to reduce the number of timer interrupts and feed bigger batches to increase efficiency.

FQ for example does not care if throttled packets are sent with an additional (small) delay.

Original observation of having maybe too many interrupts was made by Willem de Bruijn.

v2: added strict netlink checking (Jakub Kicinski)

Eric Dumazet (3):
net_sched: add qdisc_watchdog_schedule_range_ns()
net_sched: do not reprogram a timer about to expire
net_sched: sch_fq: enable use of hrtimer slack

 include/net/pkt_sched.h        | 10 +++++++++-
 include/uapi/linux/pkt_sched.h |  2 ++
 net/sched/sch_api.c            | 21 ++++++++++++++-------
 net/sched/sch_fq.c             | 21 +++++++++++++++++----
 4 files changed, 42 insertions(+), 12 deletions(-)
Signature · 1 line
2.25.1.481.gfbce0eb801-goog