Eliminating rwlocks and IRQF_DISABLED
Eliminating rwlocks and IRQF_DISABLED
Posted Dec 4, 2009 5:05 UTC (Fri) by naptastic (guest, #60139)Parent article: Eliminating rwlocks and IRQF_DISABLED
It's frustrating for someone like me to watch these decisions keep getting made in favor of throughput (which you could get just as easily by overclocking your processor another half percent) and at the expense of latency, which seems to never go down, especially when the costs and benefits are so lopsided.
Posted Dec 4, 2009 14:19 UTC (Fri)
by corbet (editor, #1)
[Link] (2 responses)
Posted Dec 4, 2009 18:49 UTC (Fri)
by naptastic (guest, #60139)
[Link] (1 responses)
Posted Dec 5, 2009 23:51 UTC (Sat)
by smipi1 (subscriber, #57041)
[Link]
Allowing interrupt handlers to be interrupted actually is far worse: It
If all interrupt handlers simply feed threads (that actually do the
Bear in mind that much of this work is being done by the principal developers behind the realtime preemption tree. I suspect that they're uninterested in increasing latencies...
Eliminating rwlocks and IRQF_DISABLED
Eliminating rwlocks and IRQF_DISABLED
Eliminating rwlocks and IRQF_DISABLED
interrupt context, this approach will not adversely affect latencies.
introduces context switching overhead and screws up overall predictability.
associated work) without interruption, latencies can be tuned by design and
not by accident. Balancing throughput and latency simply becomes a question
of educating your scheduler.