Re: Dropping Packets in 2.6.17

From: Brian F. G. Bidulock
Date: Fri Jun 23 2006 - 03:30:09 EST


Robert,

On Thu, 22 Jun 2006, Robert Hancock wrote:
>
> If you want to give more priority to processing network packets at the
> expense of user processes then you likely need to increase the priority
> of the ksoftirqd thread(s). These compete for CPU time like any other
> processes.
>

I don't think that's a fair statement:

- "any other process" does not execute when returning from an interrupt
as do softirq threads

- "any other process" does not execute upon local_bh_enable().

- "any other process" is blockable (which at softirq is a big BUG()).

Under moderate to heavy load, throttling (or disabling) hard interrupts
effectively reduces the priority of ksoftirqd threads (they have less
opportunity to run because interrupts are returning less often).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/