Quote:
When do you use pbind & when do you use resource manager?
well, pbind is a traditional unix/solaris tool which is, on my opinion, one of the basic tools which should come with an OS....
the resource management is a control layer which comes from sun. in solaris 8 you had to pay for it, since solaris9 it is included. the basic idea of resource management is allocate computing resources, such as processor time, monitor how the allocations are being used, then adjust the allocations as necessary, restrict access to a specific resource, offer resources to workloads on a preferential basis or isolate workloads from each another.... you could deny resources or prefer one application over another for a larger set of allocations than otherwise permitted or prevent an application from consuming resources indiscriminately.
a very nice implementation was done in solaris 10 and the solaris-containers. you can bind these virtual OS instances to processor sets and to a preconfigured value of memory. zone1 only works on CPU0 and CPU1 with 2G RAM, zone2 zone3 and zone4 have to share CPU2 - CPU7 and the rest of memory. one thing my costumers really like is the "fair scheduling" rule. e.g: every zone could have as much resources as my machine is able provide but if zone1 needs more power, the other instances "have to give" the resources back, controlled by the kernel, preconfigured by rule-sets, no interaction needed..... anyhow, you are able to change this allocation live. this could be very important e.g if one process hangs and eat up the whole CPUs or memory, no problem with RM....
just try it, it works great. i found a very nice tutorial with
zones and resource management for solaris 10 from Brendan Gregg...
regards PRESSY