Deprecated: Function libxml_disable_entity_loader() is deprecated since 8.0, as external entity loading is disabled by default in /application/src/init.php on line 167

Deprecated: Return type of Qrequest::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/lib/qrequest.php on line 22

Deprecated: Return type of & Qrequest::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/lib/qrequest.php on line 25

Deprecated: Return type of Qrequest::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/lib/qrequest.php on line 31

Deprecated: Return type of Qrequest::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/lib/qrequest.php on line 35

Deprecated: Return type of Qrequest::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/lib/qrequest.php on line 38

Deprecated: Return type of Qrequest::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/lib/qrequest.php on line 88

Deprecated: Return type of Qrequest::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/lib/qrequest.php on line 91

Deprecated: Creation of dynamic property Qrequest::$cap is deprecated in /application/lib/qrequest.php on line 42

Warning: Cannot modify header information - headers already sent by (output started at /application/src/init.php:167) in /application/src/initweb.php on line 45

Warning: session_name(): Session name cannot be changed after headers have already been sent in /application/lib/redirect.php on line 46

Warning: session_cache_limiter(): Session cache limiter cannot be changed after headers have already been sent in /application/lib/redirect.php on line 47

Warning: session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent in /application/lib/redirect.php on line 60

Warning: session_start(): Session cannot be started after headers have already been sent in /application/lib/redirect.php on line 75

Deprecated: Creation of dynamic property Qrequest::$p is deprecated in /application/lib/qrequest.php on line 42

Deprecated: Creation of dynamic property Qrequest::$paperId is deprecated in /application/lib/qrequest.php on line 42

Deprecated: Return type of PaperInfoSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/src/paperinfo.php on line 225

Deprecated: Creation of dynamic property PaperInfo::$timeFinalSubmitted is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$timeModified is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$sha1 is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$blind is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$leadContactId is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$shepherdContactId is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$capVersion is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$size is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$mimetype is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$timestamp is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$pdfFormatStatus is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$withdrawReason is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$conflictType is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$myReviewPermissions is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$topicIds is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$optionIds is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$paperTags is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$leadContactId is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$conflictType is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$paperTags is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$myReviewPermissions is deprecated in /application/src/paperinfo.php on line 303
#11 - Netdev 0x18

Deprecated: Return type of TagAnno::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/lib/tagger.php on line 130

Deprecated: Return type of TagMap::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/lib/tagger.php on line 299
More

PC conflicts

Jason Gunthorpe

Michael S. Tsirkin

Shannon Nelson

Submitted

Abstract

This talk explores our ongoing efforts to reduce the vDPA-net live migration downtime. Downtime in live migration represents the periods in which a device is not able to process packets due to the switchover procedure of live migration. This can cause large disturbances for applications running inside a virtual machine (timeouts, dropped packets, etc). Furthermore, the downtime can vary depending on the device characteristics, like the number of devices and queues.

First, concepts like VirtIO, vDPA and live migration are defined. Next, the vDPA device characteristics, the challenges they cause for live migration, and the solutions we developed are explored. Finally, future optimizations that are expected to considerably reduce live migration downtime are discussed.

vDPA is an abstraction layer that allows using the standardized VirtIO hardware datapath with a flexible software implementation of the control path. This enables vendors to use the existing control path implementation by simply writing an adaptation layer for the hardware configuration, while achieving full bandwidth for the dataplane.

The majority of the downtime is spent in two areas of the device initialization: dealing with memory maps and device configuration. We will show how we reduced or moved them out of the downtime window. On the source side we reduced the time for configuring the device to track the dirty memory [1]. On the destination side QEMU pre-warms the IOMMU [2] and configures the virtio-net features while the VM is still running at the source [3] [4]. The first changes already reduce the downtime from about 20 seconds to 200 milliseconds for a 128G VM with 2 net devices each with 2 combined queues [5].

It is expected to have a round table with vendors to discuss what is missing from VirtIO / vDPA after the talk.

[1] vq descriptor mapping (https://lore.kernel.org/lkml/20230928164550.980832-2-dtatulea@nvidia.com/T) [2] map memory ahead of downtime (Eugenio, (https://lists.nongnu.org/archive/html/qemu-devel/2024-01/msg02136.html) [3] Sending the device state ahead of time RFC (Yajun Wu, https://lore.kernel.org/qemu-devel/6c8ebb97-d546-3f1c-4cdd-54e23a566f61@nvidia.com/T/ ) [4] VQ suspend/resume (https://lore.kernel.org/virtualization/20231225151203.152687-1-dtatulea@nvidia.com) [5] qemu LM improvements RFC (Si-Wei, https://lore.kernel.org/qemu-devel/1701970793-6865-1-git-send-email-si-wei.liu@oracle.com)

Authors (blind)

Eugenio Perez Martin (RedHat) <eperezma@redhat.com>

Dragos Tatulea (NVIDIA) <dtatulea@nvidia.com>

Si-Wei Liu (Oracle) <si-wei.liu@oracle.com>


Deprecated: Return type of DocumentInfo::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/src/documentinfo.php on line 951

Deprecated: Return type of ReviewField::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/src/review.php on line 161

Deprecated: Return type of ReviewForm::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/src/review.php on line 512
Submission Type
Talk
Submission Label
Nuts and Bolts
Estimated Length Of Time For Presentation (in minutes)
40
Attendance
Physically

To edit this submission, sign in using your email and password.