smp / Momentics eval

Hi all,

I’m running Momentics evaluation on a dual P3.

With a simple memcpy test case, it doesn’t seem like the OS run it on both
CPU (the time to run 2 instances is 2x of 1 instance run).

My questions are:
. does Momentics eval package support SMP by default?
. If it does, how can I know that the OS recognize my 2 CPUs.

Thanks for your ideas.

Phungte

Type ‘pidin in’ in the shell prompt. If you see two lines for CPUs, you have
SMP kernel running. It is a separate kernel, called procnto-smp. You need to
select it when booting (or build your own image using it). Depending on the
version you’re using, it may be a separate ‘TDK’ these days…

“Phungte” <phungte@decru.com> wrote in message
news:cu8vii$ngm$1@inn.qnx.com

Hi all,

I’m running Momentics evaluation on a dual P3.

With a simple memcpy test case, it doesn’t seem like the OS run it on both
CPU (the time to run 2 instances is 2x of 1 instance run).

My questions are:
. does Momentics eval package support SMP by default?
. If it does, how can I know that the OS recognize my 2 CPUs.

Thanks for your ideas.

Phungte

Igor Kovalenko <kovalenko@comcast.net> wrote:

Type ‘pidin in’ in the shell prompt. If you see two lines for CPUs, you have
SMP kernel running. It is a separate kernel, called procnto-smp. You need to
select it when booting (or build your own image using it). Depending on the
version you’re using, it may be a separate ‘TDK’ these days…

You don’t state what release you are using, but there should be a prebuilt
smp image under /x86/boot/fs/ on 6.3.0

/boot/fs/qnxbasesmp.ifs

You could copy this to .boot and reboot your machine. By default the smp
proc is not used.

pidin -p1 should show you if you’re using it or not (look for procnto-smp* as the name)

As Igor stated, smp is not bundled within its own TDK now.

Peter

“Phungte” <> phungte@decru.com> > wrote in message
news:cu8vii$ngm$> 1@inn.qnx.com> …
Hi all,

I’m running Momentics evaluation on a dual P3.

With a simple memcpy test case, it doesn’t seem like the OS run it on both
CPU (the time to run 2 instances is 2x of 1 instance run).

My questions are:
. does Momentics eval package support SMP by default?
. If it does, how can I know that the OS recognize my 2 CPUs.

Thanks for your ideas.

Phungte

peterm@qnx.com wrote:

Igor Kovalenko <> kovalenko@comcast.net> > wrote:
Type ‘pidin in’ in the shell prompt. If you see two lines for CPUs, you have
SMP kernel running. It is a separate kernel, called procnto-smp. You need to
select it when booting (or build your own image using it). Depending on the
version you’re using, it may be a separate ‘TDK’ these days…

You don’t state what release you are using, but there should be a prebuilt
smp image under /x86/boot/fs/ on 6.3.0

/boot/fs/qnxbasesmp.ifs

You could copy this to .boot and reboot your machine. By default the smp
proc is not used.

pidin -p1 should show you if you’re using it or not (look for procnto-smp* as the name)

As Igor stated, smp is not bundled within its own TDK now.

Should read:
As Igor stated, smp is bundled within its own TDK now.

Peter