News for hackers. Stuff that matters.
Re:KUtrace: Low-overhead Linux kernel tracing facility by anonymousDan on Tuesday July 16, 2024 @10:13AM (#40976829)
Thanks, looks interesting. Does it cover measuring memory bandwidth consumption? This is something I feel there is a lack of good tooling for.
Re:KUtrace: Low-overhead Linux kernel tracing facility by crissaegrim on Tuesday July 16, 2024 @08:58PM (#40981704)
What 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?
Re:KUtrace: Low-overhead Linux kernel tracing facility by anonymousDan on Thursday July 18, 2024 @05:58PM (#41000148)
Hey, 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.
Re:KUtrace: Low-overhead Linux kernel tracing facility by crissaegrim on Saturday July 20, 2024 @05:28AM (#41015223)
You 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/...