public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] pkt_sched: allow scheduling points
@ 2014-03-11  0:11 Eric Dumazet
  2014-03-11  0:11 ` [PATCH net-next 1/2] pkt_sched: do not use rcu in tc_dump_qdisc() Eric Dumazet
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Eric Dumazet @ 2014-03-11  0:11 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev, Eric Dumazet

We have seen delays of more than 50ms in class or qdisc dumps, in case
device is under high TX stress, even with the prior 4KB per skb limit.

With the new 16KB limit, this could translate to 200ms delays.

Add cond_resched() to give a chance to higher prio tasks to get cpu.

But before doing so, we need to remove the rcu locking from tc_dump_qdisc()
as David spotted.

Eric Dumazet (2):
  pkt_sched: do not use rcu in tc_dump_qdisc()
  pkt_sched: add cond_resched() to class and qdisc dump

 net/sched/sch_api.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

-- 
1.9.0.279.gdc9e3eb

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-03-12  3:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-11  0:11 [PATCH net-next 0/2] pkt_sched: allow scheduling points Eric Dumazet
2014-03-11  0:11 ` [PATCH net-next 1/2] pkt_sched: do not use rcu in tc_dump_qdisc() Eric Dumazet
2014-03-11  0:11 ` [PATCH net-next 2/2] pkt_sched: add cond_resched() to class and qdisc dump Eric Dumazet
2014-03-11  0:30   ` Eric Dumazet
2014-03-12  3:55 ` [PATCH net-next 0/2] pkt_sched: allow scheduling points David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox