2 ms·
Thanks, looks interesting. Does it cover measuring memory bandwidth consumption? This is something I feel there is a lack of good tooling for.
by anonymousDan 2y ago
Thanks, looks interesting. Does it cover measuring memory bandwidth consumption? This is something I feel there is a lack of good tooling for.
- crissaegrim 2y agoWhat are you precisely trying to measure? Theoretically if you know the performance counters you want to measure, you can replace the IPC counter in the kernel module. I believe Dick has a different version of the kernel module which measure LLC misses instead of CPU cycles. Does that answer your question?
- anonymousDan 2y agoHey, thanks for the response. Is it just a matter of measuring the LLC miss rate and then figuring out the max DRAM bandwidth somehow? What about in a multicore setting? NUMA? It would be nice to have a library or tool that works this out - always surprises me there isn't something off the shelf.
- crissaegrim 2y agoYou might be interested to use Intel VTune then if you have an Intel CPU. I believe it has a profiling option that shows memory bandwidth over time [1]. [1]: https://www.intel.com/content/www/us/en/docs/vtune-profiler/user-guide/2023-0/memory-usage-view.html https://www.intel.com/content/www/us/en/docs/vtune-profiler/...