Re: [dpdk-dev] [PATCH] vhost: avoid concurrency when logging dirty pages

2018-03-30 Thread Maxime Coquelin
On 03/21/2018 04:44 PM, Maxime Coquelin wrote: This patch aims at fixing a migration performance regression faced since atomic operation is used to log pages as dirty when doing live migration. Instead of setting a single bit by doing an atomic read-modify-write operation to log a page as dirt

Re: [dpdk-dev] [PATCH] vhost: avoid concurrency when logging dirty pages

2018-03-27 Thread Maxime Coquelin
On 03/27/2018 03:15 AM, Tan, Jianfeng wrote: -Original Message- From: Maxime Coquelin [mailto:maxime.coque...@redhat.com] Sent: Wednesday, March 21, 2018 11:44 PM To: dev@dpdk.org; Tan, Jianfeng; Bie, Tiwei; jfreim...@redhat.com Cc: sta...@dpdk.org; Maxime Coquelin Subject: [PATCH] v

Re: [dpdk-dev] [PATCH] vhost: avoid concurrency when logging dirty pages

2018-03-26 Thread Tan, Jianfeng
> -Original Message- > From: Maxime Coquelin [mailto:maxime.coque...@redhat.com] > Sent: Wednesday, March 21, 2018 11:44 PM > To: dev@dpdk.org; Tan, Jianfeng; Bie, Tiwei; jfreim...@redhat.com > Cc: sta...@dpdk.org; Maxime Coquelin > Subject: [PATCH] vhost: avoid concurrency when logging d

[dpdk-dev] [PATCH] vhost: avoid concurrency when logging dirty pages

2018-03-21 Thread Maxime Coquelin
This patch aims at fixing a migration performance regression faced since atomic operation is used to log pages as dirty when doing live migration. Instead of setting a single bit by doing an atomic read-modify-write operation to log a page as dirty, this patch write 0xFF to the corresponding byte,