Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Nov 1997 12:03:02 +0100 (CET)
From:      Andrzej Bialecki <abial@korin.warman.org.pl>
To:        freebsd-current@freebsd.org
Subject:   SMP: binding process to CPU
Message-ID:  <Pine.NEB.3.95.971126114638.9875A-100000@korin.warman.org.pl>

next in thread | raw e-mail | index | archive | help
Hi!

I have a question concerning current implementation of SMP. Is it possible
to assign specific process (or thread) to specific CPU-thing (not
necessarily the actual CPU, perhaps other cpu-kind resource)? Something
like Sun's LWP... 

Also, I have very vague understanding of how the scheduler assigns time
slices of both processors to different processes. I think I saw (using
'top') that the same process was being scheduled to run on CPU0 as well as 
CPU1 during consecutive runnable periods...

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
low-priority task). So I'd be glad to monopolize one CPU full-time when I
need it, and run the rest of the OS on the other one. Is it possible? Will
it be possible? :-)

Thanks.

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.971126114638.9875A-100000>