This component is part of the vSched project. The main repository for vSched is located at: https://github.com/vSched/vsched_main
vCapacity uses a cooperative and multi-phase sampling approach to measure the dynamic capacity of vCPUs in a virtual machine. It provides accurate capacity information without requiring hypervisor modifications, enabling better scheduling decisions in vSched.
It is reccomended that you use vCap's default options.
vCapacity can automatically increase and decrease profiling time based on vCPU activity, enabling greater performance. Essentially, each vCPU needs to be some minimum level of active, and there needs to be at least one maximally active vCPU, and if these conditions are met, an accurate view of capacity is likely met.
This can be disabled and reenabled with the -o flag
| Flag | Description | Default Value |
|---|---|---|
| -v | Verbose | False |
| -p | Profiling time (ms) | 100 |
| -d | Decay Length (Number of runs before EMA discounts by 50%) | 2 |
| -c | Context Window (how many runs have data stored) | 5 |
| -s | Sleep time (ms) | 1000 |
| -i | Heavy Profile Interval | 5 |
| -o | Enable Optimizations | True |