Re: [PATCH v2 1/2] Update AVX512 support for xbzrle_encode_buffer function

2022-08-05 Thread Daniel P . Berrangé
it actually needs to use. > > -Original Message- > From: Daniel P. Berrangé > Sent: Friday, August 5, 2022 4:33 PM > To: Xu, Ling1 > Cc: qemu-devel@nongnu.org; quint...@redhat.com; dgilb...@redhat.com; Zhao, > Zhou ; Jin, Jun I > Subject: Re: [PATCH v2 1/2] Update AV

RE: [PATCH v2 1/2] Update AVX512 support for xbzrle_encode_buffer function

2022-08-05 Thread Zhao, Zhou
st 5, 2022 4:33 PM To: Xu, Ling1 Cc: qemu-devel@nongnu.org; quint...@redhat.com; dgilb...@redhat.com; Zhao, Zhou ; Jin, Jun I Subject: Re: [PATCH v2 1/2] Update AVX512 support for xbzrle_encode_buffer function On Fri, Aug 05, 2022 at 12:25:07PM +0800, ling xu wrote: > This commit adds

Re: [PATCH v2 1/2] Update AVX512 support for xbzrle_encode_buffer function

2022-08-05 Thread Daniel P . Berrangé
On Fri, Aug 05, 2022 at 12:25:07PM +0800, ling xu wrote: > This commit adds runtime check of AVX512 on running machine, and implements > AVX512 of > xbzrle_encode_buffer function to accelerate xbzrle encoding speed. > Compared with C version of xbzrle_encode_buffer function, AVX512 version > can

[PATCH v2 1/2] Update AVX512 support for xbzrle_encode_buffer function

2022-08-04 Thread ling xu
This commit adds runtime check of AVX512 on running machine, and implements AVX512 of xbzrle_encode_buffer function to accelerate xbzrle encoding speed. Compared with C version of xbzrle_encode_buffer function, AVX512 version can achieve almost 60%-70% performance improvement on unit test