OpenDC2 is no longer being developed
This page documents OpenDC2. OpenDC3 can still run OpenDC2 experiment files with opendc --legacy run, but new features are only added to OpenDC3. See the OpenDC3 documentation, or Migrating to OpenDC3.
Virtualization overhead
A virtualization overhead model determines how much performance a GPU loses when it is shared by virtual machines. The
overhead lowers the capacity the GPU can supply. It is set with the virtualizationOverHeadModel field of a
GPU. The default is NONE.
The type selects the model:
| Type | Fields | Behaviour |
|---|---|---|
NONE | No overhead, as with GPU pass-through. This is the default. | |
CONSTANT | percentageOverhead | A fixed overhead, as a fraction of the capacity. When percentageOverhead is omitted, 0.05 (5%) is used. |
SHARE_BASED | An overhead that depends on the number of virtual machines sharing the GPU, based on Garg et al., Empirical Analysis of Hardware-Assisted GPU Virtualization. |
Example
"virtualizationOverHeadModel": {
"type": "CONSTANT",
"percentageOverhead": 0.25
}