Alec Effrat wrote:
 > I was looking at the SMF service and I see a gap in functionality as 
a systems administrator.  It would be nice if there was a way to setup 
prioctl and prset right from my SMF manifest.  So it would be nice if I 
could specify a processor set and/or a process class/priority level 
right from within svccfg.
 >
 > Perhaps:
 >
 > startd/psrset= Processor Set Number
 > startd/psrset-onerror= ignore | fail
 > startd/priocntl-class= Scheduling Class, eg. FX
 > startd/priocntl-priority= Priority Level, eg. 59
 > startd/priocntl-tqntm= Time Quantum, eg. 1000
 >
 > I'm curious if anyone else sees a need for this or if it's already 
there and I missed it?

   It is there, but in a different form.  You can specify in a method
   context the name of the resource pool to run the service in.

   A resource pool is a named entity that encapsulates the above
   details, and is persistently maintained by the system (i.e. you don't
   need to manually/script recreate them on boot).  In addition to
   providing precise control over which processors/processor sets a pool
   uses, they also let you construct sets anonymously -- e.g. "pool
   George contains 2 cpus" -- or dynamically to meet objectives -- e.g.
   "adjust the size of the processor set used, within the following
   bounds, so that the load is close to .8".

   See pooladm(1M)/poolcfg(1M)/libpool(3LIB) for more details.

   Dave


Reply via email to