Re: [Qemu-devel] [PATCH] memory: Don't update all memory region when ioeventfd changed

2014-05-08 Thread Gonglei (Arei)
Hi, > -Original Message- > From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Thursday, May 08, 2014 8:49 PM > To: Gonglei (Arei); qemu-devel@nongnu.org > Cc: r...@twiddle.net; peter.mayd...@linaro.org; m...@redhat.com; > chris.frie...@windriver.com; Huangweidong (C); Herongguang (St

Re: [Qemu-devel] [PATCH] memory: Don't update all memory region when ioeventfd changed

2014-05-08 Thread Paolo Bonzini
Il 08/05/2014 05:47, arei.gong...@huawei.com ha scritto: From: Gonglei memory mappings don't rely on ioeventfds, there is no need to destroy and rebuild them when manipulating ioeventfds, otherwise it scarifies performance. according to testing result, each ioeventfd deleing needs about 5ms, w

[Qemu-devel] [PATCH] memory: Don't update all memory region when ioeventfd changed

2014-05-07 Thread arei.gonglei
From: Gonglei memory mappings don't rely on ioeventfds, there is no need to destroy and rebuild them when manipulating ioeventfds, otherwise it scarifies performance. according to testing result, each ioeventfd deleing needs about 5ms, within which memory mapping rebuilding needs about 4ms. With