Labels

hpunix (63) marathi kavita (52) linux (21) solaris11 (11) AWS (5) numerology (5)

Saturday, January 10, 2015

Bound and Unbound CPU - HPUX

Bound and Unbound CPU - HPUX:

In Vpars, there are two types of CPU

1. Bound CPU 2. Unbound CPU

* A bound cpu is assigned to handle I/O interrupts in Vpar. So every Vpar must have atleast 1 bound CPU.

* An unbound cpu is floater cpu. The CPU which is not assinged to any Vpar or which is assigned but do not handle I/O interrupts is "Unbound Cpu"

* All CPU's are initially not assigned to any Vpar so all CPU begin as unbound cpu.

* Using Vpar command we can assign cpu as bound or unbound to Vpar.

* We can dynamically migrate only unbound CPUs.

####################################

consider below cases:
vparname: myvpar
2 bound cpu; 1 unbound cpu

{To create the partition winona2 with two bound CPUs and one unbound CPU
# vparcreate -p myvpar -a cpu::3 -a cpu:::2}

Vparname: urvpar
two bound and two unbound CPUs


1.To add an unbound CPU to an existing partition,
either modify the total number of CPUs (-m cpu::total) or add to the total number of CPUs (-a cpu::total).

myvpar# vparmodify -p myvpar -m cpu::4
or add one to total:

myvpar# vparmodify -p myvpar -a cpu::1


2. To delete one unbound CPU from the partition myvpar, which is having 3 CPUs:

myvpar# vparmodify -p myvpar -m cpu::2

or

myvpar# vparmodify -p myvpar -d cpu::1



3. migrate 1 unbound cpu from myvpar to urvpar

myvpar# vparmodify -p myvpar -d cpu::1; vparmodify -p urvpar -a cpu::1



Thanks...
Kiran Jadhav

**Let's Share our knowledge and keep visiting here**

No comments:

Post a Comment