Re: Network performance forwarding tests on RT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On Tue, Nov 11, 2008 at 3:13 PM, Clark Williams <williams@xxxxxxxxxx> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
>
> On Tue, 11 Nov 2008 14:37:46 +0100
> "Tobias Knutsson" <tobias.knutsson@xxxxxxxxx> wrote:
>
>> Ok well that assumption is probably not right. I am quite sure that both the
>> soft and hard irqs are assigned priority 50. But you probably should raise
>> the priority of the irqs related to your implementation.
>>
>> I am writing my master's thesis on real-time Linux and I found that the
>> worst-case latency dropped from about 2000us to 250us just by changing some
>> priorities of the relevant tasks. This was on an XScale based system running
>> at 520Mhz.
>>
>
> Yeah, they default to 50 and then most RT distros adjust them from there. We generally push the hard IRQ threads up to 85 and keep the soft irq threads down around 75, on the assumption that actual IRQs need to be serviced immediately, with the hope that the service routine runs quicky and then defers further work to a lower priority entity (tasklet, softirq, workqueue, etc.).
>

Hope is not what you should count on :-)

When you start deferred work from an interrupt handler, it runs at
equal priority to the interrupt handler thread.
This is actually a regression in most cases (as this might cause
interrupts to be delayed by deferred work).

Under 2.6.24 I had to come up with a patch that allowed to set work
priority. I posted it to linux-rt-users@xxxxxxxxxxxxxxx, just search
for my name.

Regards,
-- 
Leon
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux