|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] virtio-serial-pci very expensive during live migration |
Date: | Wed, 07 May 2014 08:39:00 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
Il 06/05/2014 22:01, Chris Friesen ha scritto:
It seems like the main problem is that we loop over all the queues, calling virtio_pci_set_host_notifier_internal() on each of them. That in turn calls memory_region_add_eventfd(), which calls memory_region_transaction_commit(), which scans over all the address spaces, which seems to take the vast majority of the time.
Yes, you can wrap the entire loop with memory_region_transaction_begin and memory_region_transaction_commit. Can you try that?
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |