I'm looking for a way of measuring performance impact/gain, in case of using huge pages. For example, I have 192GB RAM server, with 140GB allocated by huge pages. I run Postgres, with shared buffers in huge pages.
Is there any way to check performance in kernel or libc sides using perf or eBPF? Ideally, it would be better to see the changing of the latency (or spent time during execution) of particular functions. But problem is, I don't know what functions or probes I need to profile.