[fpc-pascal]OT: Linux SMP question

md md at realmwireless.com
Fri Nov 10 21:18:09 CET 2000


Marco is correct if you want realtime aspects considered.

But if you must lock down a single cpu, then you must
edit/recompile/test/debug kernel source.  That may
be more of a burden that it is worth.

Better to use the realtime queue to approximate your scheduling needs
with little debug than to 
alter the scheduler for whatever it is you are seeking to do?

In a very abstract way, what are you trying to do that requires CPU
lockdown?

Mark


Marco van de Voort wrote:
> 
> > > you know some pointers to information (I couldn't find the thing I was
> > > trying to search for ...).
> > >
> > > So does someone know whether there is a library or system calls or whatever
> > > which allow assignment of particular threads or processes to a specific
> > > processor on an SMP machine ? Does not matter which language as long as it
> > > can be used with FPC... I'm currently desperately looking at such stuff but
> > > can't find a thing. :(
> >
> > I have SMP Linux, and as far as I know, you cannot influence the CPU a particular
> > process/thread is running.
> 
> IIRC in 2.4 there will be a realtime queue. Putting the process in that
> queue might have that effect.
> 
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal




More information about the fpc-pascal mailing list