QNX SMP

Hi,

I am looking for SMP environment for my project, and happy to know QNX is
supporting it.
For my project, I have some questions I have to resolve.

  1. Is QNX supporting SMP with more than 4 processors? What is the maximum
    number of CPU QNX supports?

  2. Does QNX provides some library for assigning each thread to each
    processor in the way that I want? For example, I want Task1 to run on CPU1
    and Task2 to run on CPU2. Sometime, I want T1 to migrate from CPU1 to CPU2
    and T2 from CPU2 to CPU1, etc.

  3. Could you recommend a SMP machine(more than 4 CPUs) which is VERY stable
    with QNX? As you know, I don’t want to waste much time to configure it.

Any of your help will be appreciated.

Best Regards,
H. Cho

Hyeonjoong Cho <hjcho@vt.edu> wrote:

Hi,

Not sure about 1 or 3.

  1. Does QNX provides some library for assigning each thread to each
    processor in the way that I want? For example, I want Task1 to run on CPU1
    and Task2 to run on CPU2. Sometime, I want T1 to migrate from CPU1 to CPU2
    and T2 from CPU2 to CPU1, etc.

Yes. ThreadCtl( _NTO_TCTL_RUNMASK, mask ), where mask is a bit field
for which processors the calling thread is allowed to run on.

-David

QNX Training Services
http://www.qnx.com/services/training/
Please followup in this newsgroup if you have further questions.

I seem to recall that 8 cpus are supported, but not really sure about it.
As of machine model, i never had one with more than 4 so can’t really tell.
I doubt that QNX had one in house either.

These days you can get a 4-way dual Opteron for reasonable amount fo money,
giving you 8-way configuration. Before this, the price tag was far beyond
‘experimentation budget’ - if someone was getting such a machine, they were
not about to run QNX on it. They’d rather run something that officially
supported the hardware and was supported by the software packages making use
of those cpus…

“Hyeonjoong Cho” <hjcho@vt.edu> wrote in message
news:d848o2$2sk$1@inn.qnx.com

Hi,

I am looking for SMP environment for my project, and happy to know QNX is
supporting it.
For my project, I have some questions I have to resolve.

  1. Is QNX supporting SMP with more than 4 processors? What is the maximum
    number of CPU QNX supports?

  2. Does QNX provides some library for assigning each thread to each
    processor in the way that I want? For example, I want Task1 to run on CPU1
    and Task2 to run on CPU2. Sometime, I want T1 to migrate from CPU1 to CPU2
    and T2 from CPU2 to CPU1, etc.

  3. Could you recommend a SMP machine(more than 4 CPUs) which is VERY
    stable with QNX? As you know, I don’t want to waste much time to configure
    it.

Any of your help will be appreciated.

Best Regards,
H. Cho