Operating System - HP-UX
1752544 Members
4704 Online
108788 Solutions
New Discussion юеВ

Re: Green Power using HP-UX v3

 
AZayed
Super Advisor

Green Power using HP-UX v3

Hi,
Recently I upgrade a box to HP-UX11i v3. I want to check if I can save power when my system is idle.

I have HP rx7640 with "8 Intel(R) Itanium 2 9100 series processors dual core"

I changed pwr_idle_ctl to 1 and changed process power to dynamic using pstatectl.

How can I check if the system power-off the idle CPUs??

Thanks
Success seems to be connected with action. Successful people keep moving. They make mistakes, but they don't quit.
7 REPLIES 7
Dennis Handly
Acclaimed Contributor

Re: Green Power using HP-UX v3

You can't power off idle CPUs, you can only set them to a low power state.
You can of course disable the CPU but you would have to boot them to use them.

Re: Green Power using HP-UX v3

The most information you're going to be able to get out of HPUX is what P-state any given processor is in at the moment. Take a look at the "pstatectl" command, e.g. "pstatectl -v status"

HTH

Duncan

I am an HPE Employee
Accept or Kudo
AZayed
Super Advisor

Re: Green Power using HP-UX v3

Hi,

Thanks a lot. I need to know, why HP-UX didn't turn-off the CPUs ?

CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 0.00 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
1 0.00 1.0% 0.0% 0.0% 99.0% 0.0% 0.0% 0.0% 0.0%
2 0.00 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
3 0.00 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
4 0.00 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
5 0.00 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
6 0.00 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
7 0.00 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
8 0.00 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
9 0.00 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
10 0.00 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
11 0.00 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
12 0.00 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
13 0.00 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
14 0.00 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
15 0.00 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 0.00 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%


Thanks
Success seems to be connected with action. Successful people keep moving. They make mistakes, but they don't quit.

Re: Green Power using HP-UX v3

>> Thanks a lot. I need to know, why HP-UX didn't turn-off the CPUs ?

Did you read what Dennis said? Setting pwr_idle_ctl to 1 won't "turn off" or "power off" idle CPUs, it will simply cause them to be moved to a lower power state when idle at the cost of a little performance (as the processor has to be moved back to max perf mode as its usage is ramped up)

So did you run "pstatectl -v info" ? What was the output?

Also, take a look at the following slide deck:

http://h20338.www2.hp.com/hpux11i/downloads/power%20mgt%20slides.pdf

HTH

Duncan

I am an HPE Employee
Accept or Kudo
AZayed
Super Advisor

Re: Green Power using HP-UX v3

Hi Duncan,

Thanks for replay, actually I didn't notice Denis reply. However, this is the output of pstatectl :

# pstatectl -v status
Highest hardware supported P-state: P2
CPU Active P-State Selected Range
--- -------------- --------------
0 P2 P0-P2
1 P2 P0-P2
2 P2 P0-P2
3 P2 P0-P2
4 P2 P0-P2
5 P2 P0-P2
6 P2 P0-P2
7 P2 P0-P2
8 P2 P0-P2
9 P2 P0-P2
10 P2 P0-P2
11 P2 P0-P2
12 P2 P0-P2
13 P2 P0-P2
14 P2 P0-P2
15 P2 P0-P2
P-state control is active
#
# pstatectl -v info
P-state Power Consumption Relative Performance
------- ----------------- --------------------
P0 97300 mW 100
P1 93500 mW 94
P2 89500 mW 88
#

Success seems to be connected with action. Successful people keep moving. They make mistakes, but they don't quit.

Re: Green Power using HP-UX v3

Well that looks good to me - as you can see each core is currently in state P2 rather than P0, which means its consuming less power (the "pstatectl info" command is telling you how much in mW).

HTH

Duncan

I am an HPE Employee
Accept or Kudo
AZayed
Super Advisor

Re: Green Power using HP-UX v3

Hi Duncan,
How are you doing ?

Thanks a lot for your reply. One of the things we are trying to achieve is to upgrade to HP-UX 11i v3, to get 30% better performance & to save used power. So, I'm now testing this on rx7640 and hope to get some useful information to make a decision about this.

Thanks a lot.
Success seems to be connected with action. Successful people keep moving. They make mistakes, but they don't quit.