System Administration Guide: Resource Management and Network Services

How to Associate a Pool With a Scheduling Class

You can associate a pool with a scheduling class so that all processes that are bound to the pool use this scheduler. Set the pool.scheduler property to the name of the scheduler class. This example shows how to associate the pool batch with the FSS.

  1. Become superuser.

  2. Modify pool batch to be associated with the FSS.


    # poolcfg -c 'modify pool batch (string pool.scheduler="FSS")'
    
  3. Display the edited configuration.


    # poolcfg -c info
    system tester
            int system.version 1
            boolean system.bind-default true
            string system.comment
    
            pool batch
                    boolean pool.default false
                    boolean pool.active true
                    int pool.importance 1
                    string pool.comment
                    string pool.scheduler FSS
                    pset batch
    
            pset batch
                    int pset.sys_id -2
                    string pset.units population
                    boolean pset.default true
                    uint pset.max 10
                    uint pset.min 2
                    string pset.comment
                    boolean pset.escapable false
                    uint pset.load 0
                    uint pset.size 0