Skip to main content
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:

TypeFieldsBehaviour
NONENo overhead, as with GPU pass-through. This is the default.
CONSTANTpercentageOverheadA fixed overhead, as a fraction of the capacity. When percentageOverhead is omitted, 0.05 (5%) is used.
SHARE_BASEDAn 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
}