SCHED_DEADLINE as user

5 messages, 3 authors, 2018-08-17 · open the first message on its own page

SCHED_DEADLINE as user

From: Tim Blechmann <hidden>
Date: 2018-08-15 08:59:20

hi all,

i wonder, what's the preferred way to obtain SCHED_DEADLINE privileges
as non-root user?
for SCHED_RR/SCHED_FIFO i'm typically using pam_limits/limits.conf, but
i haven't found any resources on how SCHED_DEADLINE can be obtained ...

thanks in advance,
tim

Re: SCHED_DEADLINE as user

From: Daniel Bristot de Oliveira <hidden>
Date: 2018-08-15 11:18:50


On 08/15/2018 08:08 AM, Tim Blechmann wrote:
hi all,

i wonder, what's the preferred way to obtain SCHED_DEADLINE privileges
as non-root user?
Hi Tim,

It is still not possible to use sched deadline as a non-root user :-(.

Thanks
-- Daniel
for SCHED_RR/SCHED_FIFO i'm typically using pam_limits/limits.conf, but
i haven't found any resources on how SCHED_DEADLINE can be obtained ...

thanks in advance,
tim

Re: SCHED_DEADLINE as user

From: Juri Lelli <hidden>
Date: 2018-08-17 12:53:56

Hi Tim,

On 15/08/18 10:21, Daniel Bristot de Oliveira wrote:

On 08/15/2018 08:08 AM, Tim Blechmann wrote:
quoted
hi all,

i wonder, what's the preferred way to obtain SCHED_DEADLINE privileges
as non-root user?
Hi Tim,

It is still not possible to use sched deadline as a non-root user :-(.
Indeed, but Tim, is this hindering you from experimenting/using
DEADLINE?

Asking because we might want to have a look at how to relax the current
privileges requirement.

Best,

- Juri

Re: SCHED_DEADLINE as user

From: Tim Blechmann <hidden>
Date: 2018-08-17 13:17:13

hi juri,
quoted
quoted
i wonder, what's the preferred way to obtain SCHED_DEADLINE privileges
as non-root user?
Hi Tim,

It is still not possible to use sched deadline as a non-root user :-(.
Indeed, but Tim, is this hindering you from experimenting/using
DEADLINE?
it's a showstopper for using it in audio applications, which are running
as user.
audio applications typically use SCHED_FIFO. however they are
rate-monotonic by design, so i wanted to evaluate how SCHED_DEADLINE
behaves here.
Asking because we might want to have a look at how to relax the current
privileges requirement.
please :)

cheers,
tim

Re: SCHED_DEADLINE as user

From: Juri Lelli <hidden>
Date: 2018-08-17 13:31:08

On 17/08/18 18:08, Tim Blechmann wrote:
hi juri,
quoted
quoted
quoted
i wonder, what's the preferred way to obtain SCHED_DEADLINE privileges
as non-root user?
Hi Tim,

It is still not possible to use sched deadline as a non-root user :-(.
Indeed, but Tim, is this hindering you from experimenting/using
DEADLINE?
it's a showstopper for using it in audio applications, which are running
as user.
audio applications typically use SCHED_FIFO. however they are
rate-monotonic by design, so i wanted to evaluate how SCHED_DEADLINE
behaves here.
Right. Exactly what I started to think about lately as well.
quoted
Asking because we might want to have a look at how to relax the current
privileges requirement.
please :)
Anything to try attracting new users. :-P

More seriously, could you please describe in a bit more details your
specific use case? Based on JACK I guess? Is it the application you are
interested into public available somewhere?

Thanks,

- Juri
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help