[Powertop] powertop query

Hafiz Muhammad Shafiq <hafiz.shafiq at kics.edu.pk>
Newsgroups dev.linux.lists.powertop
Message-ID <CAK96rjK20CUiNSwmymsz5fxvf0Wkj_PWR7V8BOfAS7QqZyf2dQ@mail.gmail.com>
Sir,
I am working on power consumption anaysis of different machines we have in
our lab ( servers, power pcs). I came to know about powertop for power
analysis. till now, I have used it on my laptop only and analyse power when
laptop is on battery and connected to power also(plugged). Now I have to
move on servers etc. There are some questions in my mind and searched a lot
but stilled confused. Please guide me about these questions.
1. Can powertop be used on PCs and servers ( having backups or not) 2. I
experiment it and it worked on servers but watts etc colunm is not appeared
that's what I main problem.
3. How watts etc can be appeared on powertop when running on servers.
4.If I  sum all the power usage (watts etc colunm) on my laptop when
plugged.
Is that value total power comsumed on my system.
5. How much accurate powertop is(%).
6. What is working principle of powertop i.e.  from where it get
informations about power usage.Is it read some specific registers? If you
donot want to give  the answer of this question then just inform me a
littlebit. I am a student and not belong to a big company.
7. I want to know can I use powertop for mips( octeon) linux system. I have
tried to install. It is completed but when I launch It, it shows nothing
but says following

No detailed statistics available; please enable the CONFIG_TIMER_STATS
kernel option This option is located in the Kernel Debugging section of
menuconfig (which is CONFIG_DEBUG_KERNEL=y in the config file)
Note: this is only available in 2.6.21 and later kernels

Suggestion: Enable the CONFIG_NO_HZ kernel configuration option.
This option is required to get any kind of longer sleep times in the CPU.

How to solve it. what is this

Please reply
Regards
Shafiq
attachment.html (text/html, 1.8 KB)
<div dir="ltr">Sir,<br>
I am working on power consumption anaysis of different machines we have 
in our lab ( servers, power pcs). I came to know about powertop for 
power analysis. till now, I have used it on my laptop only and analyse 
power when laptop is on battery and connected to power also(plugged). 
Now I have to move on servers etc. There are some questions in my mind 
and searched a lot but stilled confused. Please guide me about these 
questions.<br>
1. Can powertop be used on PCs and servers ( having backups or not) 2. I
 experiment it and it worked on servers but watts etc colunm is not 
appeared that&#39;s what I main problem.<br>
3. How watts etc can be appeared on powertop when running on servers.<br>
4.If I  sum all the power usage (watts etc colunm) on my laptop when plugged.<br>
Is that value total power comsumed on my system.<br>
5. How much accurate powertop is(%).<br>
6. What is working principle of powertop i.e.  from where it get 
informations about power usage.Is it read some specific registers? If 
you donot want to give  the answer of this question then just inform me a
 littlebit. I am a student and not belong to a big company.<br>7. I want to know can I use powertop for mips( octeon) linux system. I have
 tried to install. It is completed but when I launch It, it shows nothing  but says following<br>
<br>
No detailed statistics available; please enable the CONFIG_TIMER_STATS 
kernel option This option is located in the Kernel Debugging section of 
menuconfig (which is CONFIG_DEBUG_KERNEL=y in the config file)<br>
Note: this is only available in 2.6.21 and later kernels<br>
<br>
Suggestion: Enable the CONFIG_NO_HZ kernel configuration option.<br>
This option is required to get any kind of longer sleep times in the CPU.<br>
<br>
How to solve it. what is this<br>
<br>
Please reply<br>
Regards<br>
Shafiq
</div>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.