From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,e3b7bd6b7ce8e178,start X-Google-Attributes: gid1164f8,public From: dan@netrix.lkg.dec.com (Dan Harrington) Subject: Re: alpha 2100 OSF/1 multiprocessors Date: 1995/04/06 Message-ID: <3m1fu7$9bn@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 100924651 distribution: world references: <3lru0b$rje@cherokee.advtech.uswest.com> organization: Digital Equipment Corporation reply-to: dan@netrix.lkg.dec.com (Dan Harrington) newsgroups: comp.sys.dec 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)