Opened 9 months ago

Closed 6 months ago

#2398 closed enhancement (fixed)

Speedup CoDelBlockingQueue.java

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

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

Change History (3)

comment:1 Changed 9 months ago by Zlatin Balevsky

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

comment:2 Changed 9 months ago by zzz

Component: unspecifiedrouter/general

comment:3 Changed 6 months ago by zzz

Milestone: undecided0.9.40
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.