Opened 5 weeks ago

Last modified 5 weeks ago

#2398 new enhancement

Speedup CoDelBlockingQueue.java

Reported by: jogger Owned by:
Priority: minor Milestone: undecided
Component: router/general Version: 0.9.37
Keywords: Cc:
Parent Tickets:

Description

These queues appear frequently in the stack dumps indicating a bottleneck. So they can be improved by removing the redundant "if (_now >= _drop_next)" that appears twice. The following while loops do it all.

Subtickets (add)

Change History (2)

comment:1 Changed 5 weeks ago by zab

CoDeLQ is slow because of the lock acquire/release operations. See #2271

comment:2 Changed 5 weeks ago by zzz

  • Component changed from unspecified to router/general
Note: See TracTickets for help on using tickets.