<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div style="font-family:monospace">
<span dir="ltr" style="margin-top:0; margin-bottom:0;">Hello,</span> <br> <br> <span dir="ltr" style="margin-top:0; margin-bottom:0;">yes I can :-)</span> <br> <br> <span dir="ltr" style="margin-top:0; margin-bottom:0;">https://www.brendangregg.com/</span> <br> <br> <span dir="ltr" style="margin-top:0; margin-bottom:0;">on the page you will find a link to his 'Linux Performance' book.</span> <br> <span dir="ltr" style="margin-top:0; margin-bottom:0;">On the page are also further Infos about the topic 'performance'.</span> <br> <span dir="ltr" style="margin-top:0; margin-bottom:0;">you will have to dive into the stuff.</span> <br> <span dir="ltr" style="margin-top:0; margin-bottom:0;">(e)BPF is a "MIGHTY" area.</span> <br> <span dir="ltr" style="margin-top:0; margin-bottom:0;">But you can pull out nearly 'every' meta data from the kernel.</span> <br> <br> <span dir="ltr" style="margin-top:0; margin-bottom:0;">Also for your interest:</span> <br> <br> <span dir="ltr" style="margin-top:0; margin-bottom:0;">https://www.brendangregg.com/Slides/SREcon2022_ComputingPerformance/</span> <br> <br> <span dir="ltr" style="margin-top:0; margin-bottom:0;">Computing Performance 2022 and what is on the horizon!</span> <br> <br> <span dir="ltr" style="margin-top:0; margin-bottom:0;">have fun!</span> <br> <br> <span dir="ltr" style="margin-top:0; margin-bottom:0;">Slainte</span> <br>
</div>
<div><br>
<div>
<hr>
<p>26.12.2022 18:09:39 Gk Gk <ygk.kmr@gmail.com>:</p>
</div>
<blockquote style="margin:0;border-left:3px solid #ccc; padding-left:10px">
Thanks Marco for the response. Is it possible to collect these vm stats from the host KVM hypervisor ? Also can u give the link for this book ?<br><br>Thanks<br>Happy holidays <br><br>On Monday, December 26, 2022, Marko Horn <<a href="mailto:weber@zbfmail.de">weber@zbfmail.de</a>> wrote:<br>> Hi,<br>><br>> I think best way is to use BPF to collect stats. I did this in past in combination with 'perf'.<br>> Theres a nice book of Brandon Greg from Netflix Networks where he describe how to do this and how to write own scripts.<br>><br>> merry Xmas<br>><br>> marko<br>><br>> ________________________________<br>><br>> 26.12.2022 11:34:20 Gk Gk <<a href="mailto:ygk.kmr@gmail.com">ygk.kmr@gmail.com</a>>:<br>><br>> Hi All,<br>> I am trying to collect memory, disk and network stats for a VM on kvm host. It seems that the statistics are not matching what the OS inside the VM is reporting. Why is this discrepancy ?<br>> Is this a known bug of libvirt ? Also I heard that libvirt shows cumulative figures for these measures ever since the VM was created. Also I tested by creating a new vm and comparing the stats without a reboot . Even in this case, the stats dont agree. Can someone help me here please ?<br>><br>> Thanks<br>> Kumar<br>>
</blockquote>
</div>
</body>
</html>