qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 614e80: Postcopy: Fix sync count in info migr


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 614e80: Postcopy: Fix sync count in info migrate
Date: Tue, 08 Mar 2016 21:30:04 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 614e8018ed0dfa1b95a2109ae42fd0e5f94b5a91
      
https://github.com/qemu/qemu/commit/614e8018ed0dfa1b95a2109ae42fd0e5f94b5a91
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2016-03-08 (Tue, 08 Mar 2016)

  Changed paths:
    M migration/migration.c

  Log Message:
  -----------
  Postcopy: Fix sync count in info migrate

I'd missed the sync count off in the postcopy case.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: zhanghailiang <address@hidden>
Message-id: address@hidden
Message-Id: <address@hidden>
Signed-off-by: Amit Shah <address@hidden>


  Commit: 99f2dbd34328771b12dee782ebccda1c25b4c23b
      
https://github.com/qemu/qemu/commit/99f2dbd34328771b12dee782ebccda1c25b4c23b
  Author: Liang Li <address@hidden>
  Date:   2016-03-08 (Tue, 08 Mar 2016)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: detect ifunc and avx2 attribute

Detect if the compiler can support the ifun and avx2, if so, set
CONFIG_AVX2_OPT which will be used to turn on the avx2 instruction
optimization.

Suggested-by: Paolo Bonzini <address@hidden>
Suggested-by: Peter Maydell <address@hidden>
Signed-off-by: Liang Li <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Amit Shah <address@hidden>


  Commit: 28b90d9c19d368645f475e36297ca21c53c38799
      
https://github.com/qemu/qemu/commit/28b90d9c19d368645f475e36297ca21c53c38799
  Author: Liang Li <address@hidden>
  Date:   2016-03-08 (Tue, 08 Mar 2016)

  Changed paths:
    M include/qemu-common.h
    M util/cutils.c

  Log Message:
  -----------
  cutils: add avx2 instruction optimization

buffer_find_nonzero_offset() is a hot function during live migration.
Now it use SSE2 instructions for optimization. For platform supports
AVX2 instructions, use AVX2 instructions for optimization can help
to improve the performance of buffer_find_nonzero_offset() about 30%
comparing to SSE2.

Live migration can be faster with this optimization, the test result
shows that for an 8GiB RAM idle guest just boots, this patch can help
to shorten the total live migration time about 6%.

This patch use the ifunc mechanism to select the proper function when
running, for platform supports AVX2, execute the AVX2 instructions,
else, execute the original instructions.

Signed-off-by: Liang Li <address@hidden>
Suggested-by: Paolo Bonzini <address@hidden>
Suggested-by: Richard Henderson <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Amit Shah <address@hidden>


  Commit: 8519c8e0730039e2925ddb7cc8cfa588a1ef9d13
      
https://github.com/qemu/qemu/commit/8519c8e0730039e2925ddb7cc8cfa588a1ef9d13
  Author: Peter Maydell <address@hidden>
  Date:   2016-03-09 (Wed, 09 Mar 2016)

  Changed paths:
    M configure
    M include/qemu-common.h
    M migration/migration.c
    M util/cutils.c

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/amit-migration/tags/migration-for-2.6-6' into staging

migration:
* add avx2 instruction optimization, speeds up zero-page checking on
  compatible architectures and compilers (gcc 4.9+)
* add additional postcopy stats to 'info migrate' output

# gpg: Signature made Tue 08 Mar 2016 11:29:48 GMT using RSA key ID 854083B6
# gpg: Good signature from "Amit Shah <address@hidden>"
# gpg:                 aka "Amit Shah <address@hidden>"
# gpg:                 aka "Amit Shah <address@hidden>"

* remotes/amit-migration/tags/migration-for-2.6-6:
  cutils: add avx2 instruction optimization
  configure: detect ifunc and avx2 attribute
  Postcopy: Fix sync count in info migrate

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/3293680dc79c...8519c8e07300

reply via email to

[Prev in Thread] Current Thread [Next in Thread]