Thanks for the link to sysinternals.com ... i'll give it a go. :)

-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Miller, Raul D
Sent: Fri 2/16/2007 9:07 PM
To: General forum
Subject: RE: [Jgeneral] J use of Multi CPU servers
 
Alex Rufon wrote:
> I am wondering how J is allocated a CPU. Does each instance of J runs
> only on one CPU? How does the OS identify which CPU to run on? Is J
> taking advantage of the multiple processors? Is there a way to help
this
> along like calling an API?

A J instance runs on only one CPU at a time.

The rest of these issues (for example, when a J instance gets moved from
one CPU to another) are controlled by the OS and are tunable.

As for APIs... personally, on windows, I like to use sysinternals.com
process explorer (it's a free download -- it works like task manager
but gives you more insight into the system and greater control of the
system).  On a multi-CPU system, process explorer can let you inspect
how a process is using the CPUs, let you set the CPU affinity
(basically:
whether it sticks to a CPU), and so on.

There are other ways of dealing with these issues, but hopefully this
will get you started.

-- 
Raul

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to