logo       

Re: Multiple spread daemons on the same machine &real-time scheduling?: msg#00004

network.spread.user

Subject: Re: Multiple spread daemons on the same machine &real-time scheduling?

Matt Garman wrote:
> At least on Linux, you have to run as root to get real-time priority.

That's not completely accurate, but it does take some tweaking and a recent
version of PAM (I know Fedora 5/6 support this): you can allow normal users to
put their own processes into the realtime scheduling class via
/etc/security/limits.conf
Add a line like this:
username - rtprio 70
or this:
@groupname - rtprio 70

Replace 70 with whatever limit you actually want. And then log out and log
back in (capabilities are set at login time).

It's better than giving general 'sudo' access IMHO.

Matt


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise