On Wed, Jun 29, 2016 at 12:24 PM, Kumar, Vijaya <vijaya.ku...@cavium.com> wrote: > > > > ________________________________ > From: Peter Maydell <peter.mayd...@linaro.org> > Sent: Tuesday, June 28, 2016 1:46 PM > To: qemu-arm; QEMU Developers > Cc: Paolo Bonzini; Kumar, Vijaya; Patch Tracking > Subject: Re: [Qemu-arm] [PATCH v2 0/6] Runtime pagesize computation > > On 21 June 2016 at 18:09, Peter Maydell <peter.mayd...@linaro.org> wrote: >> This set of patches is a development based on the ones from Vijaya: >> the general idea is similar but I have tried to improve the interface >> for defining the page size a bit. I've also tweaked patches 2 and 3 >> to address code review comments. > >> NB: I have only very lightly tested these and haven't attempted >> to measure performance at all. There is an assert() in the >> definition of TARGET_PAGE_BITS which is good for making sure >> it isn't used before it's valid but not so good for speed. > > Vijaya, are you in a position to test this patchset for > performance? Presumably you have a test case benchmark you're > looking to improve here?
I have tested the patches and the test case that I was trying was Live migration of Idle VM on arm64 platform. VM migrated is with 4 VCPUS and 8GB RAM running CentOS. With page bits 10 (1K), the live migration time is 5.8 sec capabilities: xbzrle: off rdma-pin-all: off auto-converge: off zero-blocks: off compress: off events: off x-postcopy-ram: off Migration status: completed total time: 5857 milliseconds downtime: 102 milliseconds setup: 14 milliseconds transferred ram: 336081 kbytes throughput: 470.21 mbps remaining ram: 0 kbytes total ram: 8519872 kbytes duplicate: 8271539 pages skipped: 0 pages normal: 261340 pages normal bytes: 261340 kbytes dirty sync count: 3 With page bits 12 (4K), live migration time is 2.9 sec capabilities: xbzrle: off rdma-pin-all: off auto-converge: off zero-blocks: off compress: off events: off x-postcopy-ram: off Migration status: completed total time: 2974 milliseconds downtime: 76 milliseconds setup: 5 milliseconds transferred ram: 301327 kbytes throughput: 830.30 mbps remaining ram: 0 kbytes total ram: 8519872 kbytes duplicate: 2062398 pages skipped: 0 pages normal: 70662 pages normal bytes: 282648 kbytes dirty sync count: 3 Regards Vijay > > thanks > -- PMM