On 08/15/2012 09:07 AM, Henning Brauer wrote: > * Simon Perreault <[email protected]> [2012-08-15 14:38]: >> 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? > altq being slow has and is being noticed. > To make a commercial version of altq work usefully on FreeBSD, the simplest and most effective solution was to increase HZ to something like 1000 and remove almost all calls to xxxuptime().
On slowish (under 1GHz) Pentium boards, the idle interrupt time was 1-2%. That was deemed acceptable. Slow interrupt processing for Ethernet interfaces was far more painful and important to fix. Geoff Steckel
