Ramesh, I think that Solaris is not shifting CPUs because the 'used' value is not large enough to cause a CPU to shift. With the configuration shown below, a CPU should be shifted automatically when the 'used' value for rwc-uc-sparc1-z1 exceeds 8.8 (0.8 * 11).

Would you run your test program again, and while it runs, in another window run "poolstat -r all" and then "prstat -Z", and send a sample of the output for each? That should allow us to correlate the CPU utilization data against the pool stat's.




Ramesh Mudradi wrote:
Hi Jeff,

I tried the steps you have suggested. Looks like I am still doing some thing 
wrong. Local zone is still unable to get its max assigned cpu  when the load 
hits 100 %..
Here is the output. Thanks.



bash-3.00# poolstat -r all
 id pool                 type rid rset                  min  max size used load
  1 rwc-uc-sparc1-z1     pset   1 rwc-uc-sparc1-z1        4   16   11 0.00  101
  0 pool_default         pset  -1 pset_default            1  66K    8 0.00 0.02
  2 rwc-uc-sparc1-z2     pset   2 rwc-uc-sparc1-z2        6   16   13 0.00  101

bash-3.00# psrset
user processor set 1: processors 13 14 15 16 17 18 19 20 21 22 23
user processor set 2: processors 0 1 2 3 4 5 6 7 8 9 10 11 12
bash-3.00# pooladm

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

        pool rwc-uc-sparc1-z1
                int     pool.sys_id 1
                boolean pool.active true
                boolean pool.default false
                string  pool.scheduler FSS
                int     pool.importance 99
string pool.comment pset rwc-uc-sparc1-z1

        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

        pool rwc-uc-sparc1-z2
                int     pool.sys_id 2
                boolean pool.active true
                boolean pool.default false
                string  pool.scheduler FSS
                int     pool.importance 1
string pool.comment pset rwc-uc-sparc1-z2

        pset rwc-uc-sparc1-z1
                int     pset.sys_id 1
                boolean pset.default false
                uint    pset.min 4
                uint    pset.max 16
                string  pset.units population
                uint    pset.load 102171
                uint    pset.size 11
string pset.comment string pset.poold.objectives locality tight; utilization < 80

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

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

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

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

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

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

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

                cpu
                        int     cpu.sys_id 18
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 15
string cpu.comment string cpu.status on-line

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

        pset rwc-uc-sparc1-z2
                int     pset.sys_id 2
                boolean pset.default false
                uint    pset.min 6
                uint    pset.max 16
                string  pset.units population
                uint    pset.load 102167
                uint    pset.size 13
string pset.comment
                cpu
                        int     cpu.sys_id 5
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 7
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 1
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 3
string cpu.comment string cpu.status on-line

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

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

                cpu
                        int     cpu.sys_id 9
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 11
string cpu.comment string cpu.status on-line

                cpu
                        int     cpu.sys_id 10
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 32
                uint    pset.size 8
string pset.comment
                cpu
                        int     cpu.sys_id 29
string cpu.comment string cpu.status on-line

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

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

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

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

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

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

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

bash-3.00# zoneadm list -cv
ID NAME STATUS PATH 0 global running / 1 rwc-uc-sparc1-z2 running /zones/rwc-uc-sparc1-z2 2 rwc-uc-sparc1-z1 running /zones/rwc-uc-sparc1-z1
bash-3.00# zonecfg -z rwc-uc-sparc1-z1 info
zonename: rwc-uc-sparc1-z1
zonepath: /zones/rwc-uc-sparc1-z1
autoboot: true
pool: rwc-uc-sparc1-z1
limitpriv: fs:
        dir: /u1
        special: /dev/md/dsk/d65
        raw: /dev/md/rdsk/d65
        type: ufs
        options: [logging]
fs:
        dir: /usr/local
        special: /usr/local
        raw not specified
        type: lofs
        options: []
net:
        address: 10.17.49.86
        physical: e1000g1
bash-3.00#
This message posted from opensolaris.org
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

--
--------------------------------------------------------------------------
Jeff VICTOR              Sun Microsystems            jeff.victor @ sun.com
OS Ambassador            Sr. Technical Specialist
Solaris 10 Zones FAQ:    http://www.opensolaris.org/os/community/zones/faq
--------------------------------------------------------------------------
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to