![]() Most systems only have 1 but a "dual socket" system would have 2, etc. Package refers to the entire CPU, i.e., what you buy in a in a box or what you see if you look at your motherboard. Those are two different ways of doing the same thing.Ībout turbostat, PkgWatt is "package watts". Also, those instructions might not work for you depending on your distro (AFAIK, the systemd changes affected this - look up for your distro how to change kernel boot options: I did it in my GRUB configuration).īTW, chmod 777ing your nf file is probably a huge security problem, don't do that.Įcho 0 | sudo tee /proc/sys/kernel/nmi_watchdog ![]() Does this mean they are in idle state and they do not consume active power? Is PkgWatt referring only to the active power or it includes the idle power as well? If it represents both active and idle power, h ow can I get power measurements for missing cores as well?Ĭore CPU Avg_MHz Busy% Bzy_MHz TSC_MHz SMI CPU%c1 CPU%c3 CPU%c6 CPU%c7 CoreTmp PkgTmp PkgWatt CorWatt GFXWattĪbout the NMI thing, you'll have to restart if you do it the /etc/nf way, you have to restart. I see there are some cores missing in the output below. What is the meaning of CorWatt column? Is it the power consumed by all cores part of a cpu or it is the power consumed by a specific core? If is is the power of a specific core, why there is no record in the last four column for all cores?ģ. If PkgWatt refers to a single cpu, why there is no record for other cpus besides (cpu 0, core 0) in the columns PkgWatt and CorWatt ?Ģ. Does PkgWatt column mean the cpu power consumption of a single cpu or the overall cpu power consumption? As you can see in the output below, there are no records except for cpu 0 for the last four columns. Turbostat works for me on ivy bridge but, after reading the specification, I am not sure of the meaning of PkgWatt column.ġ. Sudo echo 'kernel.nmi_watchdog=0' > /etc/nfĪnd then, I run again the pcm-power command, but the output of pcm-power is the same.Ĭan you please help or recommend another PCM tool to get the cpu power consumption? So, I run the commands indicated in the output of pcm-power command: You may load the 'msr' module with 'modprobe msr'. You need to be root and loaded 'msr' Linux kernel module to execute the program. Or to disable it permanently: echo 'kernel.nmi_watchdog=0' > /etc/nf To disable NMI watchdog please run under root: echo 0 > /proc/sys/kernel/nmi_watchdog Processor Counter Monitor ($Format:%ci ID=%h$)Įrror: NMI watchdog is enabled. Anyway, on ivy bridge I have another output (compared to sandy bridge): On a ivy bridge processor and it still doesn't work. You can still get power info from RAPL from some of the other PCM tools or turbostat. Is there any way to generate a report for the cpu power consumption for 15 minutes with a sample rate of 1 second? My CPU type is Intel Atom (Silvermont) processor.īut the values are constant. I think I activated likwid-bench and it accepts also stream_avx because I get the following output: Is there anything else to do besides above to activate MarkerAPI? I set to true FORTRAN_INTERFACE and INSTRUMENT_BENCH in config.mk, t hen I used: (The -m switch on the command line activates the MarkerAPI, some simple code instrumentation calls, but you have to activate the support for the MarkerAPI for likwid-bench in config.mk before compilation)ĭoes likwid-powermeter print anything at all? If you used the standard make & sudo make install way, you should be able to run it as user: Are you using a package provided by your distribution or built it yourself? The first Intel CPU supporting AVX and power readings is Intel SandyBridge.Ĭommonly, you don't need to run LIKWID with sudo. With this information it is easy to say whether your system supports AVX and power readings. CPU name: Intel(R) Core(TM) i7-4770 CPU 3.40GHz Which CPU architecture is it? If you don't know, try likwid-topology and look at the header. Illegal instruction sounds as your architecture is not supporting AVX (try stream instead of stream_avx).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |