* Different priorities for different softirqs
@ 2012-03-21 13:04 Christian Meier
2012-03-21 13:08 ` Luis Claudio R. Goncalves
2012-03-21 15:00 ` John Kacur
0 siblings, 2 replies; 4+ messages in thread
From: Christian Meier @ 2012-03-21 13:04 UTC (permalink / raw)
To: linux-rt-users
Hi,
On https://rt.wiki.kernel.org/articles/r/t/_/RT_PREEMPT_HOWTO_6bc9.html I
noticed that there are different softirq kthreads for every softirq. So they
could be prioritized differently.
In my rt-patched kernels 3.2.11-rt20 and 3.0.24-rt42 I can only see one
ksoftirqd instance per cpu.
I did not find any hints in kernel/softirq.c where each of those kthreads is
generated. I only see ksoftirqd.
>From RT_PREEMPT_HOWTO_6bc9.html:
...
2 ? S 0:00 [softirq-high/0]
3 ? S 0:00 [softirq-timer/0]
4 ? S 0:00 [softirq-net-tx/]
5 ? S 0:00 [softirq-net-rx/]
6 ? S 0:00 [softirq-block/0]
7 ? S 0:00 [softirq-tasklet]
8 ? S 0:00 [softirq-hrtreal]
9 ? S 0:00 [softirq-hrtmono]
...
How can I get these softirq different threads? Did I miss a configuration
option?
Thanks
Christian
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Different priorities for different softirqs
2012-03-21 13:04 Different priorities for different softirqs Christian Meier
@ 2012-03-21 13:08 ` Luis Claudio R. Goncalves
2012-03-21 13:59 ` Steven Rostedt
2012-03-21 15:00 ` John Kacur
1 sibling, 1 reply; 4+ messages in thread
From: Luis Claudio R. Goncalves @ 2012-03-21 13:08 UTC (permalink / raw)
To: Christian Meier; +Cc: linux-rt-users
On Wed, Mar 21, 2012 at 02:04:10PM +0100, Christian Meier wrote:
| Hi,
|
| On https://rt.wiki.kernel.org/articles/r/t/_/RT_PREEMPT_HOWTO_6bc9.html I
| noticed that there are different softirq kthreads for every softirq. So they
| could be prioritized differently.
| In my rt-patched kernels 3.2.11-rt20 and 3.0.24-rt42 I can only see one
| ksoftirqd instance per cpu.
|
| I did not find any hints in kernel/softirq.c where each of those kthreads is
| generated. I only see ksoftirqd.
|
| >From RT_PREEMPT_HOWTO_6bc9.html:
| ...
| 2 ? S 0:00 [softirq-high/0]
| 3 ? S 0:00 [softirq-timer/0]
| 4 ? S 0:00 [softirq-net-tx/]
| 5 ? S 0:00 [softirq-net-rx/]
| 6 ? S 0:00 [softirq-block/0]
| 7 ? S 0:00 [softirq-tasklet]
| 8 ? S 0:00 [softirq-hrtreal]
| 9 ? S 0:00 [softirq-hrtmono]
| ...
|
| How can I get these softirq different threads? Did I miss a configuration
| option?
The examples there are from older kernels (probably 2.6.18 and 2.6.23).
Several changes happened since then, to the kernels and even to the general
model of the RT patch. Among these changes, more than once softirqs have
been folded inside ksoftirqd and later unfolded. As of now, they are folded
and it seems to have helped to minimize a performance loss someone (tglx?)
observed in the early 3.0.x-rt days.
Luis
--
[ Luis Claudio R. Goncalves Bass - Gospel - RT ]
[ Fingerprint: 4FDD B8C4 3C59 34BD 8BE9 2696 7203 D980 A448 C8F8 ]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Different priorities for different softirqs
2012-03-21 13:08 ` Luis Claudio R. Goncalves
@ 2012-03-21 13:59 ` Steven Rostedt
0 siblings, 0 replies; 4+ messages in thread
From: Steven Rostedt @ 2012-03-21 13:59 UTC (permalink / raw)
To: Luis Claudio R. Goncalves; +Cc: Christian Meier, linux-rt-users
On Wed, 2012-03-21 at 10:08 -0300, Luis Claudio R. Goncalves wrote:
> he examples there are from older kernels (probably 2.6.18 and 2.6.23).
> Several changes happened since then, to the kernels and even to the general
> model of the RT patch. Among these changes, more than once softirqs have
> been folded inside ksoftirqd and later unfolded. As of now, they are folded
> and it seems to have helped to minimize a performance loss someone (tglx?)
> observed in the early 3.0.x-rt days.
I discussed this in Chemnitz, and will be working to at least pull the
timer softirq out into its own thread.
We need to look at this again and see how we can fix it in a clean
fashion.
-- Steve
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Different priorities for different softirqs
2012-03-21 13:04 Different priorities for different softirqs Christian Meier
2012-03-21 13:08 ` Luis Claudio R. Goncalves
@ 2012-03-21 15:00 ` John Kacur
1 sibling, 0 replies; 4+ messages in thread
From: John Kacur @ 2012-03-21 15:00 UTC (permalink / raw)
To: Christian Meier; +Cc: linux-rt-users, Steven Rostedt
On Wed, Mar 21, 2012 at 2:04 PM, Christian Meier <chmeie@gmx.com> wrote:
> Hi,
>
> On https://rt.wiki.kernel.org/articles/r/t/_/RT_PREEMPT_HOWTO_6bc9.html I
> noticed that there are different softirq kthreads for every softirq. So they
> could be prioritized differently.
> In my rt-patched kernels 3.2.11-rt20 and 3.0.24-rt42 I can only see one
> ksoftirqd instance per cpu.
>
> I did not find any hints in kernel/softirq.c where each of those kthreads is
> generated. I only see ksoftirqd.
>
> From RT_PREEMPT_HOWTO_6bc9.html:
> ...
> 2 ? S 0:00 [softirq-high/0]
> 3 ? S 0:00 [softirq-timer/0]
> 4 ? S 0:00 [softirq-net-tx/]
> 5 ? S 0:00 [softirq-net-rx/]
> 6 ? S 0:00 [softirq-block/0]
> 7 ? S 0:00 [softirq-tasklet]
> 8 ? S 0:00 [softirq-hrtreal]
> 9 ? S 0:00 [softirq-hrtmono]
> ...
>
You can read the section on Software interrupts here too to learn a
bit about the change.
https://lwn.net/Articles/464180/
Thanks
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-03-21 15:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-21 13:04 Different priorities for different softirqs Christian Meier
2012-03-21 13:08 ` Luis Claudio R. Goncalves
2012-03-21 13:59 ` Steven Rostedt
2012-03-21 15:00 ` John Kacur
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.