From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZX0mT-0008GF-1c for qemu-devel@nongnu.org; Wed, 02 Sep 2015 01:40:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZX0mO-0007rb-39 for qemu-devel@nongnu.org; Wed, 02 Sep 2015 01:40:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50936) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZX0mN-0007rU-VU for qemu-devel@nongnu.org; Wed, 02 Sep 2015 01:40:16 -0400 Date: Wed, 2 Sep 2015 11:10:09 +0530 From: Amit Shah Message-ID: <20150902054009.GF13778@grmbl.mre> References: <1440752053-16961-1-git-send-email-liang.z.li@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1440752053-16961-1-git-send-email-liang.z.li@intel.com> Subject: Re: [Qemu-devel] [PATCH 0/2] Optimization with AVX2 instruction List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Liang Li Cc: yang.z.zhang@intel.com, pbonzini@redhat.com, qemu-devel@nongnu.org, "Dr. David Alan Gilbert" , quintela@redhat.com On (Fri) 28 Aug 2015 [16:54:11], Liang Li wrote: > The buffer_find_nonzero_offset() will be called to check the zero page > during live migration, it's a hot function. buffer_find_nonzero_offset() > has already been optimized with SSE2 instructions, for platform that > supports AVX2, we can optimize this function with AVX2 instructions and > achieve about 25% performance gain. This should be a good improvement. I recall Dave and I had a chat about this in the past too. I've not yet reviewed the patchset, but I doubt anyone will have objections. I'll review this shortly. Thanks, Amit