Re: [process priority] Questions about re/nice

2005-12-22 Thread Mike McCarty
belbo wrote: Mike McCarty wrote: [...] $ alias mplayer="nice -n -20 /usr/local/bin/mplayer" Or a script. As to whether this may cause prolems with starving other processes, I don't know. Certainly, if possible, another solution is preferable. Mike I've already considered this solution,

Re: [process priority] Questions about re/nice

2005-12-22 Thread Daniel Webb
On Thu, Dec 22, 2005 at 08:53:58PM +0100, belbo wrote: > I've already considered this solution, but it doesn't work, because of root > permissions needed: if I run this command as a normal user, here's the result: > > $ nice -n -20 /usr/local/bin/mplayer > nice: cannot set priority: Permission de

Re: [process priority] Questions about re/nice

2005-12-22 Thread belbo
Mike McCarty wrote: [...] >> >> > > $ alias mplayer="nice -n -20 /usr/local/bin/mplayer" > > Or a script. > > As to whether this may cause prolems with starving other processes, > I don't know. Certainly, if possible, another solution is preferable. > > Mike I've already considered this soluti

[process priority] Questions about re/nice

2005-12-22 Thread belbo
Hi guys, I noticed if I increase process priority of multimedia reader (e.g.: nice -n -20 mplayer) audio doesn't skip any more, but I have 2 questions: 1) how can I increase process priority /permanently/, without retaping every time renice or nice command? 2) is it dangerous for system stability