[Quote=引用 8 楼 shelly_30 的回复:]
VTUNE有大量的BUS事件,分为External Bus Events 与Frontside Bus Events,它们的区别是什么?
事件Bus Utilization=BUS_TRANS_ANY_ALL_AGENTS*2/CPU_CLK_UNHALTED.BUS,请问BUS_TRANS_ANY_ALL_AGENTS*2 为什么?而且它的单位为事件个数,
CPU_CLK_UNHALTED.BUS的单位为CYCLE, 两者的商似乎不能简单的等于百分比。
[/Quote]
For Intel(R) Core(TM) 2 processors - please use External Bus Events (Frontside Bus Events are mainly for Itanium(TM) 2 measurement), the tool also doesn't provide Internal Bus Events.
前两天看了大师的几个贴子,感觉受益良多。今天测了下BUS DATA Utilization,VTUNE显示测的事件是BUS_DRDY_CLOCKS.ALL_AGENTS.与我看的帮助文档不符。帮助文件中显示的是Bus Utilization=BUS_TRANS_ANY_ALL_AGENTS*2/CPU_CLK_UNHALTED.BUS。
我们的配置是Intel Xeon 5110,现安装的VTUNE 9.1 update 2,我们现在想取得程序运行过程中访存消耗的CYCLES。看了VTUNE的帮助,有关CYCLES的事件不多,有几个关于L2的,但只看帮助搞不清楚它们的具体用法,现请教您:
L2_NO_REQ_SELF:cycles no L2 cache requests are pending.是否指L2 命中的访问时间?
L2_DBUS_BUSY_RD.SELF: cycles the L2 transfers data to the core.看起来也是指L2命中的访问时间?
L2_DBUS_BUSY.SELF:cycles the L2 cache data bus is busy.它与上个事件L2_DBUS_BUSY_RD.SELF的区别具体表现在什么地方?
多谢!
您是指这三个事件吗?L2_ADS.SELF(Cycles L2 address bus is in use.)、L2_DBUS_BUSY.SELF(Cycles the L2 cache data bus is busy.)与L2_DBUS_BUSY_RD.SELF(Cycles the L2 transfers data to the core.)
这三个事件中L2_DBUS_BUSY.SELF+L2_ADS.SELF是否等于stall cycles due to accesses to the secondary cache and due to accesses to main memory?请指教。