mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-11 12:46:49 +00:00
feat(instances): auto converge is on by default for a live migration
A VM that changes its memory faster than the network carries it does not finish a live migration without auto converge (measured: a guest rewriting about 1.2 GB/s did not finish in 90 s over an 8.5 Gbit/s link, and finished in 16-18 s with it). Auto converge only slows the VM's CPUs while the migration cannot keep up, so a calm VM is not affected. The migrate form ticks it for a running VM. The API already documented it as on by default but read a left-out option as off; the serializer now has the defaults (auto converge on, compress and unsafe off) for JSON and form-encoded requests, and the schema shows them.
This commit is contained in:
parent
043c24a208
commit
98bb6ebdb5
3 changed files with 69 additions and 1 deletions
|
|
@ -626,7 +626,7 @@
|
|||
<div class="row">
|
||||
<div class="col-sm-6 offset-3">
|
||||
<div class="form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" name="autoconverge" value="true" id="autoconverge" {% if instance.status != 1 %}disabled{% endif %}>
|
||||
<input class="form-check-input" type="checkbox" name="autoconverge" value="true" id="autoconverge" {% if instance.status != 1 %}disabled{% else %}checked{% endif %}>
|
||||
<label class="form-check-label" for="autoconverge" title="{% trans 'Forces CPU convergence during live migration' %}">{% trans "Auto converge" %}</label>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue