Hi Folks

Looking at the 2 collection plugins in collectd for Host and VM (from the 
hypervisor) CPU usage - I'm proposing the following.

We follow the methodology here: 
https://www.intel.com/content/dam/www/public/us/en/documents/white-papers/ia-32-ia-64-benchmark-code-execution-paper.pdf
 to instrument the read function around the calls to measure the CPU usage 
(using CPUID, RDTSC and RDTSCP). We report out the value We collect as another 
metric. We will also calculate the measurement overhead of the measurement 
calls themselves and take that away from the cycle count values we are 
reporting. 

- Run a 1 min, 5 min and 15 min test. Measure the cost every 10 seconds (or 1 
second - but then reduce the test time based on the frequency of reading)?
- Based on the reported cycle count calculate the time it takes to complete a 
reading
- Run on an idle system
- Run on a system under load
- Run for 1 VM and 5 VMs...
- Run on a platform that doesn't have hyper threading enabled. 

All feedback welcome.

BR
Maryam

_______________________________________________
opnfv-tech-discuss mailing list
opnfv-tech-discuss@lists.opnfv.org
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss

Reply via email to