* Re: alpha 2100 OSF/1 multiprocessors
[not found] <3lru0b$rje@cherokee.advtech.uswest.com>
@ 1995-04-06 4:00 ` Dan Harrington
0 siblings, 0 replies; only message in thread
From: Dan Harrington @ 1995-04-06 4:00 UTC (permalink / raw)
In article <3lru0b$rje@cherokee.advtech.uswest.com>,
crohrer@advtech.uswest.com (Chris Rohrer) writes:
|>Hi DEC specialists, I'm considering going to alpha 2100s with OSF/1 and
|>several processors. I am new to the symmetric multiprocessing world and
|>I'd like to know you have to know or worry about in such a system. Does
|>the user interface change? Are there extensions to the UNIX commands to
|>allow individual user use of each of the processors? Are processes merely
|>allocated to the least-loaded processor in a totally transparent fashion?
You can let the scheduler deal with additional CPUs in an opaque
manner, or you can set up processor sets and explicitly assign
processes yourself. We don't use the latter technique on our
system, so I can't give any gory details. I've included one of the
man pages below, as a starter... Have fun!
Dan Harrington
============================================================================
runon(1) runon(1)
NAME
runon - Runs a command on a specific CPU or processor set
SYNOPSIS
/usr/sbin/runon cpu_num command [argument ...]
/usr/sbin/runon -p pset_id [-x] command [argument ...]
DESCRIPTION
The runon utility runs the specified command (command) on the specified CPU
(cpu_num). The argument variable specifies any flags or arguments for the
specified command. All the threads created by the command inherit the CPU
binding to the specified CPU (cpu_num), including threads created as the
result of a fork.
If the -p flag is used, the specified command is bound to a processor set
rather than to a specific processor. Because a processor set can contain
more than one processor, the -p flag is useful for multi-threaded applica-
tions. In addition, you can use the -x flag to specify exclusive access to
a processor set.
FLAGS
-p Binds to a processor set instead of a processor. You must
specify the processor set identification number (pset_id), which
is a unique integer that identifies the processor set and is
returned by the pset_create command.
-x Specifies exclusive use of a processor set.
RELATED INFORMATION
pset_create, psradm(1), pset_info(1), pset_assign_pid(1),
pset_assign_cpu(1), processor_sets(4)
^ permalink raw reply [flat|nested] only message in thread