Re: [PATCH 2/3] KVM: selftests: Collect memory access latency samples

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ricardo Koller <ricarkol@xxxxxxxxxx> writes:


nit: reservoir


Will fix


Didn't see this before my previous comment. But, I guess it still
applies: isn't it possible to know the number of events to store?  to
avoid the "100" obtained via trial and error.


That's what I thought I was calculating with sample_pages =
sizeof(latency_samples) / pta->guest_page_size. Both values are in bytes
so that should give the number of guest pages I need to allocate to hold
latency_samples. The 100 is a fudge factor added to the calculation
after encountering crashes. Any idea why the math above is incorrect?


reservoir


Will fix.



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux