All of lore.kernel.org
 help / color / mirror / Atom feed
* Where to find good doc ?
@ 2004-12-15 20:02 Philippe Martinole
  2004-12-16 22:14 ` NOULARD Eric
  0 siblings, 1 reply; 2+ messages in thread
From: Philippe Martinole @ 2004-12-15 20:02 UTC (permalink / raw)
  To: linux-smp

Hello everyone,

I've been looking for a doc on SMP since a while but I can't find what I want.
Do you know some good doc to read ?
To be more precese, I want to put all processes on only one cpu except
nly one real time process on the second cpu.

Thanks,

Philippe



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Where to find good doc ?
  2004-12-15 20:02 Where to find good doc ? Philippe Martinole
@ 2004-12-16 22:14 ` NOULARD Eric
  0 siblings, 0 replies; 2+ messages in thread
From: NOULARD Eric @ 2004-12-16 22:14 UTC (permalink / raw)
  To: Linux SMP

Le mer 15/12/2004 à 21:02, Philippe Martinole a écrit : 
> Hello everyone,
> 
> I've been looking for a doc on SMP since a while but I can't find what I want.
> Do you know some good doc to read ?
> To be more precese, I want to put all processes on only one cpu except
> nly one real time process on the second cpu.

What you want to do is Asymetric multiprocessing using SMP
(Symmetric Multi-Processor) so SMP doc won't help you so much :))

You may have a look to this rthowto:
http://people.mech.kuleuven.ac.be/~bruyninc/rthowto/
which contains valuable information RT and linux including
SMP aspects.

Regarding linux SMP handling and [soft] realtime you
must know that each process may have a processor affinity
which may be set with the sched_setaffinity syscall.
(beware of glibc moving interface regarding this syscal)

Then each interrupt has its smp_affinity which may
be set using /proc/irq/<num>/smp_affinity

As you can see there is NO standard SMP linux feature to
isolate/reserve one (or several) CPU from being used by
processes.

This kind of behavior may be obtained using either 
sub-kernel approach (RTLinux or RTAI
http://www.aero.polimi.it/~rtai/) or using proprietary
extension such as CPU shielding
http://www.linuxdevices.com/articles/AT8610061752.html
http://linuxdevices.com/files/article030/shielded-cpu.pdf

Hope this helps.

> Thanks,
> 
> Philippe
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-smp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Eric NOULARD
E-mail: enoulard@free.fr


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-12-16 22:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-15 20:02 Where to find good doc ? Philippe Martinole
2004-12-16 22:14 ` NOULARD Eric

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.