Scheduling priority

2005-02-03 Thread Mark
Say, I start a process as follows (just an example of a daemon): /usr/bin/nice --10 /usr/local/sbin/httpd -DSSL Would this aversely affect overall FreeBSD (4.10) performance when the daemon is idle? Or only when it actually starts doing something? Thanks, - Mark

Re: Scheduling priority

2005-02-03 Thread Dan Nelson
In the last episode (Feb 03), Mark said: Say, I start a process as follows (just an example of a daemon): /usr/bin/nice --10 /usr/local/sbin/httpd -DSSL Would this aversely affect overall FreeBSD (4.10) performance when the daemon is idle? Or only when it actually starts doing something?

Re: scheduling priority not working?

2004-03-01 Thread Sergey 'DoubleF' Zaharchenko
On Sun, 29 Feb 2004 19:07:12 +0800 Zhang Weiwu [EMAIL PROTECTED] probably wrote: nice(1) is just what I learned from school; school books are often not very practical these days. STANDARDS The nice utility conforms to IEEE Std 1003.1-2001 (``POSIX.1''). HISTORY A nice utility

Re: scheduling priority not working?

2004-02-29 Thread Sergey 'DoubleF' Zaharchenko
On Sat, 28 Feb 2004 06:28:24 +0100 Erik Trulsson [EMAIL PROTECTED] probably wrote: Let me guess: You are using [t]csh as your shell, right? That has 'nice' as a built-in command with a slightly different syntax than /usr/bin/nice (which is what is documented in the nice(1) manpage)

Re: scheduling priority not working?

2004-02-29 Thread Zhang Weiwu
Sergey 'DoubleF' Zaharchenko wrote: There's more than nice to change priority; for example, check out rtprio(1) and idprio(1). Just FYI. GREAT TOOL rtprio(1) is. Now I can run 'rtprio 5 mpg321 *.mp3' it produce very smooth sound. Perhaps rtprio is averagely used even more frequently than

Re: scheduling priority not working?

2004-02-29 Thread Sergey 'DoubleF' Zaharchenko
On Sun, 29 Feb 2004 19:07:12 +0800 Zhang Weiwu [EMAIL PROTECTED] probably wrote: Sergey 'DoubleF' Zaharchenko wrote: There's more than nice to change priority; for example, check out rtprio(1) and idprio(1). Just FYI. GREAT TOOL rtprio(1) is. Now I can run 'rtprio 5 mpg321 *.mp3' it

scheduling priority not working?

2004-02-27 Thread Zhang Weiwu
Hello. I thought scheduling priority is the kind of absolute priority, that is only when the higher priority process don't ask for resource, can the lower priority process gets resource. If the higher priority process sucks, the lower priority process starvs. Now I have a old Pentium-mmx 166

Re: scheduling priority not working?

2004-02-27 Thread Erik Trulsson
On Sat, Feb 28, 2004 at 11:37:51AM +0800, Zhang Weiwu wrote: Hello. I thought scheduling priority is the kind of absolute priority, that is only when the higher priority process don't ask for resource, can the lower priority process gets resource. If the higher priority process sucks

Re: scheduling priority not working?

2004-02-27 Thread Zhang Weiwu
Erik Trulsson wrote: On Sat, Feb 28, 2004 at 11:37:51AM +0800, Zhang Weiwu wrote: Hello. I thought scheduling priority is the kind of absolute priority, that is only when the higher priority process don't ask for resource, can the lower priority process gets resource. If the higher priority

Re: scheduling priority not working?

2004-02-27 Thread Erik Trulsson
On Sat, Feb 28, 2004 at 01:06:35PM +0800, Zhang Weiwu wrote: Erik Trulsson wrote: On Sat, Feb 28, 2004 at 11:37:51AM +0800, Zhang Weiwu wrote: Hello. I thought scheduling priority is the kind of absolute priority, that is only when the higher priority process don't ask for resource