2 Replies Latest reply: Dec 30, 2011 10:08 AM by 826510 RSS

    Help for using the pooladm.conf

    826510
      Hi everyone,

      I need your help because I am trying to use CPU Bind on my Solaris Box.

      My goal is to create a pool with a pset, then using the /etc/project file to link to process of one user to this new pool/pset.

      On a solaris test box (one CPU with 4 cores) I launch:

      poolcfg -c 'create pset pset_vinz (uint pset.min = 1; uint pset.max = 1)'

      poolcfg -c 'create pool pool_vinz'

      poolcfg -c 'associate pool pool_vinz (pset pset_vinz)'

      poolcfg -c "transfer to pset pset_vinz (cpu 0)"

      pooladm -c

      then the output of "pooladm" is :

      -----
      system default
      string system.comment
      int system.version 1
      boolean system.bind-default true
      string system.poold.objectives wt-load

      pool pool_vinz
      int pool.sys_id 1
      boolean pool.active true
      boolean pool.default false
      int pool.importance 1
      string pool.comment
      pset pset_vinz

      pool pool_default
      int pool.sys_id 0
      boolean pool.active true
      boolean pool.default true
      int pool.importance 1
      string pool.comment
      pset pset_default

      pset pset_vinz
      int pset.sys_id 1
      boolean pset.default false
      uint pset.min 1
      uint pset.max 1
      string pset.units population
      uint pset.load 0
      uint pset.size 1
      string pset.comment

      cpu
      int cpu.sys_id 0
      string cpu.comment
      string cpu.status on-line

      pset pset_default
      int pset.sys_id -1
      boolean pset.default true
      uint pset.min 1
      uint pset.max 65536
      string pset.units population
      uint pset.load 14
      uint pset.size 3
      string pset.comment

      cpu
      int cpu.sys_id 1
      string cpu.comment
      string cpu.status on-line

      cpu
      int cpu.sys_id 3
      string cpu.comment
      string cpu.status on-line

      cpu
      int cpu.sys_id 2
      string cpu.comment
      string cpu.status on-line
      -----

      Then I add this line in the /etc/project file:

      user.vinz:1000::::project.pool=pool_vinz

      And with the user "vinz" I check that I can use this new pool with:

      poolbind -q $$

      --> pool_vinz

      So it's ok.



      Now on my production Solaris box (2x8 cores with hyperthreads), I use the same procedure, but it don't work:

      Here is the output of "pooladm" after I apply my configuration:

      -----

      system default
      string system.comment
      int system.version 1
      boolean system.bind-default true
      string system.poold.objectives wt-load

      pool pool_vinz
      int pool.sys_id 3
      boolean pool.active true
      boolean pool.default false
      int pool.importance 1
      string pool.comment
      pset pset_vinz

      pool pool_default
      int pool.sys_id 0
      boolean pool.active true
      boolean pool.default true
      int pool.importance 1
      string pool.comment
      pset pset_default

      pset pset_vinz
      int pset.sys_id 1
      boolean pset.default false
      uint pset.min 8
      uint pset.max 8
      string pset.units population
      uint pset.load 0
      uint pset.size 8
      string pset.comment

      cpu
      int cpu.sys_id 12
      string cpu.comment
      string cpu.status on-line

      cpu
      int cpu.sys_id 7
      string cpu.comment
      string cpu.status on-line

      cpu
      int cpu.sys_id 4
      string cpu.comment
      string cpu.status on-line

      cpu
      int cpu.sys_id 14
      string cpu.comment
      string cpu.status on-line

      cpu
      int cpu.sys_id 6
      string cpu.comment
      string cpu.status on-line

      cpu
      int cpu.sys_id 13
      string cpu.comment
      string cpu.status on-line

      cpu
      int cpu.sys_id 5
      string cpu.comment
      string cpu.status on-line

      cpu
      int cpu.sys_id 15
      string cpu.comment
      string cpu.status on-line

      pset pset_default
      int pset.sys_id -1
      boolean pset.default true
      uint pset.min 1
      uint pset.max 65536
      string pset.units population
      uint pset.load 24
      uint pset.size 8
      string pset.comment

      cpu
      int cpu.sys_id 9
      string cpu.comment
      string cpu.status on-line

      cpu
      int cpu.sys_id 1
      string cpu.comment
      string cpu.status on-line

      cpu
      int cpu.sys_id 11
      string cpu.comment
      string cpu.status on-line

      cpu
      int cpu.sys_id 3
      string cpu.comment
      string cpu.status on-line

      cpu
      int cpu.sys_id 0
      string cpu.comment
      string cpu.status on-line

      cpu
      int cpu.sys_id 10
      string cpu.comment
      string cpu.status on-line

      cpu
      int cpu.sys_id 8
      string cpu.comment
      string cpu.status on-line

      cpu
      int cpu.sys_id 2
      string cpu.comment
      string cpu.status on-line

      -----

      I have the same line in /etc/project, but with my user the output of " poolbind -q $$ " is still:

      pool_default

      I become crazy with this I really don't understand.

      Any help would be very appreciate. (if you want I can post the content of my /etc/pooladm.conf)

      Thanks a lot in advance