Re: [PATCH v2] migration/ram: Yield periodically to the main loop

2020-01-08 Thread Juan Quintela
Juan Quintela wrote: > Yury Kotov wrote: >> Usually, incoming migration coroutine yields to the main loop >> while its IO-channel is waiting for data to receive. But there is a case >> when RAM migration and data receive have the same speed: VM with huge >> zeroed RAM. In this case, IO-channel wo

Re: [PATCH v2] migration/ram: Yield periodically to the main loop

2020-01-08 Thread Juan Quintela
Yury Kotov wrote: > Usually, incoming migration coroutine yields to the main loop > while its IO-channel is waiting for data to receive. But there is a case > when RAM migration and data receive have the same speed: VM with huge > zeroed RAM. In this case, IO-channel won't read and thus the main l

[PATCH v2] migration/ram: Yield periodically to the main loop

2019-11-25 Thread Yury Kotov
Usually, incoming migration coroutine yields to the main loop while its IO-channel is waiting for data to receive. But there is a case when RAM migration and data receive have the same speed: VM with huge zeroed RAM. In this case, IO-channel won't read and thus the main loop is stuck and for instan