Date: Mon, 1 Dec 1997 12:02:59 +0100 (CET) From: Andrzej Bialecki <abial@korin.warman.org.pl> To: Tom <tom@uniserve.com> Cc: freebsd-current@FreeBSD.ORG Subject: Re: SMP: binding process to CPU Message-ID: <Pine.NEB.3.95.971201120020.8098D-100000@korin.warman.org.pl> In-Reply-To: <Pine.BSF.3.96.971129154536.14983E-100000@shell.uniserve.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 29 Nov 1997, Tom wrote:
>
> On Sat, 29 Nov 1997, Andrzej Bialecki wrote:
>
> > Here's why I'm asking: I have one process which must be as near real-time
> > as possible, and the second process processes it's output (which is
>
> Use rtprio on that process. If the priority is high enough, the process
> will pretty much hog a CPU. This can be dangerous, as other processes
> may not run at all, but on SMP there is at least one more CPU for other
> processes to run on.
Well, yes... But I'm pretty sure that the same process gets scheduled on
BOTH processors (I don't know how actually the scheduler does it,
though). So I think that if I bounce rtprio high enough, the process in
question will monopolize BOTH CPU's. Am I right?
Andrzej Bialecki
---------------------+---------------------------------------------------------
abial@warman.org.pl | if(halt_per_mth > 0) { fetch("http://www.freebsd.org") }
Research & Academic | "Be open-minded, but don't let your brains to fall out."
Network in Poland | All of the above (and more) is just my personal opinion.
---------------------+---------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.971201120020.8098D-100000>
