First post ever here.

这里有第一篇文章。

I wanted to know if there was something similar to the Running Average Power Limit for other processors(Intel i7) that aren't Sandy Bridge or Xeon Processors as the machine im working on in the lab.

我想知道是否有类似于其他处理器(Intel i7)的运行平均功率限制,这些处理器不是Sandy Bridge或Xeon处理器,而是在实验室中使用的机器。

For those who do not know. I pulled this description to bring you up to speed.

对于那些不知道的人。我拉这个描述让你加快速度。

"RAPL(Running Average Power Limit) interface provides platform software with the ability to monitor, control, and get notifications on SOC power consumptions."

“RAPL(运行平均功率限制)接口使平台软件能够监控,控制和获取有关SOC功耗的通知。”

What I am looking for in particular is to acquire energy consumption measurements on a processor's individual cores after running some code like Matrix Multiplication or Vector Addition. Temperature would be excellent too but that's another question for another day(lm-sensors is a bit puzzling to me)

我特别想要的是在运行像Matrix Multiplication或Vector Addition之类的代码之后,在处理器的各个内核上获取能耗测量结果。温度也会很好,但那是另一天的另一个问题(对我而言,传感器有点令人费解)

Thanks and Take Care.

谢谢,保重。

1 个解决方案

#1


1

Late answer on this: There's PowerTOP on Linux, but that works for Laptops only as it needs the battery discharge rate for that. It can display Watts per process, but don't ask me how accurate that is (personally I think there might be some problems with that). IIRC it counts the number of CPU wakeups from a CPU sleep state to calculate the energy consumption per process. Also, for AMD processors there's the fam15h_power driver in the lm-sensors software package. For rather new (2011 and newer) Bulldozer AMD CPUs you can get the energy consumption that way.

对此的回答很晚:Linux上有PowerTOP,但仅适用于笔记本电脑,因为它需要电池放电率。它可以显示每个过程的瓦数,但不要问我有多准确(我个人认为可能存在一些问题)。 IIRC它计算CPU休眠状态从CPU休眠状态计算每个进程的能耗。此外,对于AMD处理器,lm-sensors软件包中还有fam15h_power驱动程序。对于相当新的(2011年和更新的)Bulldozer AMD CPU,您可以通过这种方式获得能耗。

Note that RAPL does not provide energy consumption per core on a multicore CPU, but only for the whole CPU. You can get the energy consumption of core and non-core (like integrated graphics) separately, but per-core is not possible.

请注意,RAPL不会在多核CPU上为每个内核提供能耗,但仅针对整个CPU。您可以分别获得核心和非核心(如集成图形)的能耗,但每核心是不可能的。

更多相关文章

  1. 如何确保我的Linux程序不会产生核心转储?
  2. SQL关键字转换大写核心算法实现
  3. “树”不倒,人不散—数据结构的核心
  4. 跟核心虚拟机Dalvik说再见 Android Runtime(ART)登场
  5. Android核心分析 之十-------Android GWES之基本原理篇
  6. Java注解处理器(编译时注解)
  7. Java核心技术卷I:基础知识(原书第8版):14.10 同步器
  8. Java核心技术 卷一(序言+0-5)
  9. 01500105_MLDN-魔乐科技-李兴华【Java核心技术】_JDBC连接Oracle

随机推荐

  1. Java applet中的drawImage在Safari中闪烁
  2. java笔记之java语言概述
  3. Android开发系列: 电脑端Android模拟器安
  4. java开发实战培训(武汉)
  5. 为什么C和C++牛人多?
  6. 一个Java Application运行后,在系统中是作
  7. Java借助Runtime调用外部程序阻塞的代码
  8. 为泛型类的泛型方法的属性赋值 - Java
  9. Bootstrap3.0学习第二十二轮(JavaScript
  10. 堆排序(最大堆)