Le 2012-08-14 20:29, David Gwynne a écrit :
ill have to fix that.

Oh, and I also realized that CBQ is even worse: it calls microuptime() on every enqueue *and* every dequeue!

If it really was a bug, people would have noticed, no?

Simon

On 15/08/2012, at 3:31 AM, Simon Perreault <sperrea...@openbsd.org> wrote:

Le 2012-08-14 12:12, Ted Unangst a écrit :
Five years ago I removed a once per packet microuptime call which led
to something like a 33% improvement in throughput.  I don't want to
have to do that again. :)

Hey I just realized that hfsc calls microuptime() for every single packet at 
dequeue time.

altq_hfsc_dequeue() --> read_machclk() --> microuptime()

Looks like codel won't be slowing hfsc down at least. :)

Simon

Reply via email to