linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* workqueue realtime priority
@ 2013-10-15 13:04 Frederich, Jens
  2013-10-25 17:59 ` Sebastian Andrzej Siewior
  2013-10-30  9:08 ` Thomas Gleixner
  0 siblings, 2 replies; 3+ messages in thread
From: Frederich, Jens @ 2013-10-15 13:04 UTC (permalink / raw)
  To: linux-rt-users@vger.kernel.org

Hi all,

is there any way to set the global workqueue priority to real
time or setup a workqueue with real time priority on Linux RT
3.x? I want to setup a kernel worker thread with real time
priority. What's the best way? Should I better use tasklets?

Thanks
Jens

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: workqueue realtime priority
  2013-10-15 13:04 workqueue realtime priority Frederich, Jens
@ 2013-10-25 17:59 ` Sebastian Andrzej Siewior
  2013-10-30  9:08 ` Thomas Gleixner
  1 sibling, 0 replies; 3+ messages in thread
From: Sebastian Andrzej Siewior @ 2013-10-25 17:59 UTC (permalink / raw)
  To: Frederich, Jens; +Cc: linux-rt-users@vger.kernel.org

* Frederich, Jens | 2013-10-15 13:04:22 [+0000]:

>Hi all,
Hi Jems,

>is there any way to set the global workqueue priority to real
>time or setup a workqueue with real time priority on Linux RT
>3.x? I want to setup a kernel worker thread with real time
>priority. What's the best way? Should I better use tasklets?

There is the chrt tool to change the priority of a task. But the workers  are
created on demand and shared with others so it won't be good.
Whether it is good to use a tasklet or not depends on what you try to
do. But since you can't alter the priority of the tasklet (and only of
tasklet) it is probably not better.

>Thanks
>Jens

Sebastian

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: workqueue realtime priority
  2013-10-15 13:04 workqueue realtime priority Frederich, Jens
  2013-10-25 17:59 ` Sebastian Andrzej Siewior
@ 2013-10-30  9:08 ` Thomas Gleixner
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Gleixner @ 2013-10-30  9:08 UTC (permalink / raw)
  To: Frederich, Jens; +Cc: linux-rt-users@vger.kernel.org

On Tue, 15 Oct 2013, Frederich, Jens wrote:

> Hi all,
> 
> is there any way to set the global workqueue priority to real
> time or setup a workqueue with real time priority on Linux RT

The global workqueue is used by the world and some more. So you better
not try to fiddle with that.

> 3.x? I want to setup a kernel worker thread with real time
> priority. What's the best way? Should I better use tasklets?

Tasklets are evil, hey should be renamed to craplets. You'll have the
same problem as with the global workqueue, as tasklets run from
softirq context.

Could you describe what you are trying to do?

Thanks,

	tglx

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-30  9:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-15 13:04 workqueue realtime priority Frederich, Jens
2013-10-25 17:59 ` Sebastian Andrzej Siewior
2013-10-30  9:08 ` Thomas Gleixner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).