<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;">so,</span> <br> <span dir="ltr" style="margin-top:0; margin-bottom:0;">cause eBPF pulls all from the kernel,</span> <br> <span dir="ltr" style="margin-top:0; margin-bottom:0;">yes you can.</span> <br> <span dir="ltr" style="margin-top:0; margin-bottom:0;">but you need to dive into the stuff..</span> <br> <span dir="ltr" style="margin-top:0; margin-bottom:0;">Knowing basics about performance and kernel can help.</span> <br> <span dir="ltr" style="margin-top:0; margin-bottom:0;">but it's possible.</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 19:19:47 Gk Gk <ygk.kmr@gmail.com>:</p>
   </div>
   <blockquote style="margin:0;border-left:3px solid #ccc; padding-left:10px">
    So, can I derive cpu, memory, disk and network stats of the VMs ?<br><br>On Monday, December 26, 2022, Marko Horn <<a href="mailto:weber@zbfmail.de">weber@zbfmail.de</a>> wrote:<br>> Hello,<br>><br>> yes I can :-)<br>><br>> <a href="https://www.brendangregg.com/">https://www.brendangregg.com/</a><br>><br>> on the page you will find a link to his 'Linux Performance' book.<br>> On the page are also further Infos about the topic 'performance'.<br>> you will have to dive into the stuff.<br>> (e)BPF is a "MIGHTY" area.<br>> But you can pull out nearly 'every' meta data from the kernel.<br>><br>> Also for your interest:<br>><br>> <a href="https://www.brendangregg.com/Slides/SREcon2022_ComputingPerformance/">https://www.brendangregg.com/Slides/SREcon2022_ComputingPerformance/</a><br>><br>> Computing Performance 2022 and what is on the horizon!<br>><br>> have fun!<br>><br>> Slainte<br>><br>> ________________________________<br>><br>> 26.12.2022 18:09:39 Gk Gk <<a href="mailto:ygk.kmr@gmail.com">ygk.kmr@gmail.com</a>>:<br>><br>> 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>