Re: [vserver] Re: Real Time Priority Process in Guest

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Wed 17 Oct 2007 - 16:11:17 BST
Message-ID: <20071017151117.GE8200@MAIL.13thfloor.at>

On Wed, Oct 17, 2007 at 06:10:14AM -0600, Dennis Muhlestein wrote:
> I did find SYS_NICE, which gets rid of the Operation not permitted and
> allows the program to function properly. I wonder if I should be
> adjusting any scheduler parameters for the context though?

well, if you allow processes to assume realtime
priority (which you do with SYS_NICE) you should
be aware that such a process can lock your kernel
by simply not giving up the CPU anymore ...

as long as you are aware of that, and this behaviour
is considered fine, everything is okay ...

best,
Herbert

> Thanks
> Dennis
>
> On 10/17/07, Dennis Muhlestein <djmuhlestein@gmail.com> wrote:
> > Hi all,
> >
> > I have a process in a guest that is attempting to set it's priority to
> > real time with the system call:
> > sched_setscheduler(0, spolicy, &sp)
> > The operation failes with "Operation not permitted"
> >
> > Is there a way I make this work in the guest? I think I'd need to
> > tweak scheduler parameters for the guest and possibly give some
> > capability to the guest but my searching thus far has failed to yield
> > the answer.
> >
> > Thanks
> > Dennis
> >
>
>
> --
> You can see what's happening at http://muhlesteins.com
Received on Wed Oct 17 16:11:29 2007

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 17 Oct 2007 - 16:11:34 BST by hypermail 2.1.8