On 2017/5/22 20:26, Paolo Bonzini wrote:
>
>
> On 20/05/2017 02:46, Yang Hongyang wrote:
How about do O(1) for stopping stage of live migration?
Because the cpu is stopped in this phase, it wouldn't cause
side effects IMHO, right?
>>> O(1) update is probably not quite possible,
On 20/05/2017 02:46, Yang Hongyang wrote:
>>> How about do O(1) for stopping stage of live migration?
>>> Because the cpu is stopped in this phase, it wouldn't cause
>>> side effects IMHO, right?
>> O(1) update is probably not quite possible, but it's possible to do one
>> O(n) update. We trie
On 2017/5/20 0:46, Paolo Bonzini wrote:
>
>
> On 19/05/2017 14:17, Gonglei (Arei) wrote:
>>> It would. Right now memory_region_transaction_commit() is roughly
>>> O(n^2) (n devices * n BARs), and there are n of them.
>>>
>>> Reducing memory_region_transaction_commit to O(n) would be a large
>>
Oops, forgot to CC qemu-devel, add it.
> -Original Message-
> From: Gonglei (Arei)
> Sent: Friday, May 19, 2017 8:17 PM
> To: 'Paolo Bonzini'; yanghongyang; m...@redhat.com
> Cc: quint...@redhat.com; Dr. David Alan Gilbert; Huangzhichao
> Subject: RE: Migration downtime more than 5s when