A few other ways to find the same sort of information:
mpstat -p
poolstat -c info -d
Interestingly on my home server mpstat -p shows:
$mpstat -p
CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt
idl set
0 420 0 169 382 160 571 25 169 33 0 2054 14 6 0
81 0
1 211 0 142 270 123 382 24 115 28 0 1703 14 4 0
83 0
2 151 0 145 349 204 333 26 85 28 0 1637 14 3 0
83 0
3 481 0 182 902 365 1186 37 194 42 1 2570 16 6 0
78 0
So all CPU's are in set 0....
But its also psrset of -1 !
$ /usr/sbin/psrset -- -1
user processor set -1: processors 3 0 1 2
The Joys of 'default' :>
And for the 'full' list
[After I enabled pools ;>]
$poolcfg -d -c info
system default
string system.comment
int system.version 1
boolean system.bind-default true
string system.poold.objectives wt-load
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_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 428
uint pset.size 4
string pset.comment
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
-Stuart
On 21/02/2014 8:00 AM, Chris Wells wrote:
ok - slightly misleading title.
When we use zones, we have processor sets tied to zones via pools.
But how do you find what processors are in the global zone processor
set, except by process of elimination.
Well, I've found that the default processor set appears to be "-1".
(You would have thought it was 0).
Can this be relied upon? Why on Earth can't "psrset" show all the
processors?
eg:
root@XXXXXXXX-dom # psrset
user processor set 1: processors 60 61 62 63 354 355 356 357
user processor set 2: processors 32 33 34 35 36 38 40 41
user processor set 3: processors 14 15 16 17 18 19 20 21 22 23 24 25
26 27 49 51 52 55 58 59
user processor set 4: empty
user processor set 5: processors 368 369 372 373 374 375
user processor set 6: processors 8 9 10 11 37 39 42 43 44 45 47 48
user processor set 7: processors 4 5 352 353 363 370
user processor set 8: processors 6 7
user processor set 9: processors 2 3
user processor set 10: processors 379 411 388 396
user processor set 11: processors 382 358 403 415 367
user processor set 12: processors 395 377 384 409
user processor set 13: processors 53 57
user processor set 14: processors 28 29 30 31 46 50 54 56 376 378 380
381 383 385
user processor set 15: processors 359 360 361 362 364 365 366 371
user processor set 16: processors 0 1 12 13
root@XXXXXXXX-dom # psrset -- -1
user processor set -1: processors 404 402 392 389 399 405 391 397 407
408 412 414 393 410 390 398 387 400 394 386 406 413 401
Now was that so hard?
--
Regards,
Chris
_______________________________________________
msosug mailing list
[email protected]
http://mexico.purplecow.org/m/listinfo/msosug
_______________________________________________
msosug mailing list
[email protected]
http://mexico.purplecow.org/m/listinfo/msosug