* Daniel Hartmeier <[EMAIL PROTECTED]> [2006-05-14 20:15]: > As I understand it, priq only affects things at all when a queue is > exceeding its bandwidth limit. As long as a queue is below the limit, it > does ABSOLUTELY NOTHING. Only when the limit is exceeded, priq drops > packets instead of sending them out, picking which packets to drop based > on the priorities.
that is not entirely true. priq changes the order packets are sent out in, so that packets with a higher priority are sent out first. > It DOES NOT send out packets in an order (based on priorities) other > than the one they were queued in, while the bandwidth limit is not > reached. actually, it does - but of course that only kicks in when you have some packets queued. when your link is not saturated, there isn't much queued at all, so there is little to no effect from priq. check sys/altq/altq_priq.c:priq_dequeue() to see how packets are sent out - just by walking the queues (there likely is more than one outbound queue per interface when altq is in use) from highest to lowest priority. -- BS Web Services, http://www.bsws.de/ OpenBSD-based Webhosting, Mail Services, Managed Servers, ... Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)