English 中文(简体)
使用VsPerfCmd.exe进行信托硬件反貌分析的程度如何?
原标题:How far should one trust hardware counter profiling using VsPerfCmd.exe?
最佳回答

Answering my own question - So, after trying to verify the VsPerfCmd results using Intel VTune Amplifier XE™ (this is no advertising, I just like typing out product names like that because it amuses my how they can be so silly), I can definitely say that they are garbage.

That s just a rough comparison, as I havent found out how to get the number of times a function was called from VTune, but an approximate 900 calls resulted in 1,040,000 Last Level Cache misses, according to VTune. Contrasting that to the ~ 2000 calls profiled with VsPerfCmd and and the reported ~ 700 LLC misses, it s safe to assume that the VTune results are much more reasonable.

当然,我只能说什么比“VsPerfCmd极有可能错”更具体,为什么和这种现象的多少仍然不明确。 如果知道更多人会感到有人会敦促对此进行阐述,向我提出评论!

问题回答

首先,硬件有限责任公司在具体应用中实际上并不算出专有公司。 它把所有有限责任公司都算在内,并将数量与预设门门槛值进行比较(所谓的SAV,即价值后样本,通常为数千甚至数百万美元)。 如果目前的计数等于SAV,就会发现中断,而此时此刻所指明的任何计数都与柜台和时间站相提并论(例如,使痕迹合理)。 如果IP在你的模块中指明一项指示,那么所有这些藏匿点都归于你的模块/功能/结构。 因此,你所看到的情况不是真实的,而是统计上正确的。 我不与VsPerfCmd合作,但可以帮助你检查它为有限责任公司设立的SAV。 如果其数量比VTune设定的要大,那么,你可以把70 000个有限责任公司与1 040 000个采矿公司进行对比,这样就更有意义。

然后是您申请工作量和工作的主题。 3×1024×12B, 仅为36KB, 对8MB 有限公司来说,这并不算。 如果算法一致地 back回,而不是总是向上或向后,那么它就只是经常使用的24种甲基溴的一小部分,这意味着热测试数据很可能也适合专有公司。 此外,邮联只见到被称为“切线”的草库中的记忆,这种记忆很长。 因此,每当你的算法飞跃或翻版进入下一个12条时,有52个邻里的 by被装入L1,这样,如果跳跃后下一个步骤是*(ptr++),就不会造成严重错误。 如果你怀疑为下级水层预定的read子正在做其他也是记忆密集型的东西,这将造成你的数据线被驱离,那么将不会影响海滩的性能。 否则,如果它只是一些协调员在触及少数 by人的背景下取得了进展,那么就不应发生大规模的切除。





相关问题
Performance counters for current threads

I am building a .NET windows service which is using an unmanaged C++ dll. both of my service and the c++ dll are using multi threading. I am running out of memory after some time (hours) while ...

Adding performance counters via my ASP.NET code?

I m trying to add some performance counters to my asp.net website. Now, I know how to increment/decrement some custom counter I make .. but my problem is that if I get my ASP.NET website to create ...

performance counter events associated with false sharing

I am looking at the performance of OpenMP program, specifically cache and memory performance. I have found guidelines while back ago how to analyze performance with Vtune that mentioned which counters ...

Performance Counter maximum during interval?

I have an application that is executing a number of operations. I have some performance counters that measure the average time it takes to execute the operation between intervals. I would like a ...

Can the performance timer "% Time in GC" be wrong?

We found that, since today, the "% Time in GC" (percent time in Garbage Collector) performance timer, steadily stood on 100% with only occasionally a bit lower. Even when at night no visitors were ...

Monitoring dashboard for IIS and SQL Server

We have developed a .NET web application that uses SQL Server as a backend. Now we would like to provide a monitoring dashboard app for the tech support team. The idea is that this monitoring app will ...

热门标签