Friday, July 1, 2011

Create psrset

Here is how you can create a processor set with two cores (32 threads)

  • psrset -c 0-31
if you get :
  • An  "Operation not supported" error indicates that pool facility is active.
Disable the pool facility as under:
  • svcs *pool*
  • STATE          STIME    FMRI
  • disabled       Feb_17   svc:/system/pools/dynamic:default
  • online         Feb_17   svc:/system/pools:default
  • you have mail
  • # svcadm disable svc:/system/pools:default
  • # svcs *pool*
  • STATE          STIME    FMRI
  • disabled       Feb_17   svc:/system/pools/dynamic:default
  • disabled       11:44:04 svc:/system/pools:default
Create psrset with first 32 processors and verify that the processor set was successfully created
psrset 0-31
 psrset -i
user processor set 1: processors 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
The output indicates that process set named 1 has processors from id 0 to 31.

No comments:

Post a Comment