Suggestions for testing VAPIC / TPR patching
Hi again,
what is the best way to check if the TPR patching feature of qemu-kvm is working and performs efficiently? I suppose Windows XP guests, e.g.? How to measure this best? I'm about to start porting it to upstream and like to prepare a good test case.
Thanks,
Jan
PS: After the /kvm removal, I'm currently counting a bit more than 7000 LOC difference in qemu-kvm. We are converging.
Signature · 2 lines
Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux
Quoted 7 lines · Jan Kiszka
Hi again,
what is the best way to check if the TPR patching feature of qemu-kvm is working and performs efficiently? I suppose Windows XP guests, e.g.? How to measure this best? I'm about to start porting it to upstream and like to prepare a good test case.
Run WindowsXP on AMD HW without vapic and see number of TPR access exits. Than run it with vapic and check again. Don't forget to check that reboot et al work.
Quoted 13 lines
Thanks,
JanPS: After the /kvm removal, I'm currently counting a bit more than 7000 LOC difference in qemu-kvm. We are converging.
Signature · 6 lines
Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Gleb.
Quoted 11 lines · Gleb Natapov
Quoted 7 lines · Jan Kiszka
Hi again,
what is the best way to check if the TPR patching feature of qemu-kvm is working and performs efficiently? I suppose Windows XP guests, e.g.? How to measure this best? I'm about to start porting it to upstream and like to prepare a good test case.
Run WindowsXP on AMD HW without vapic and see number of TPR access exits. Than run it with vapic and check again. Don't forget to check that reboot et al work.
So is this an optimization only for AMD CPUs or can it be reproduced on Intel as well? Any CPU feature dependencies?
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux
Quoted 9 lines · Jan Kiszka
Quoted 8 lines · Gleb Natapov
Quoted 7 lines · Jan Kiszka
Hi again,
what is the best way to check if the TPR patching feature of qemu-kvm is working and performs efficiently? I suppose Windows XP guests, e.g.? How to measure this best? I'm about to start porting it to upstream and like to prepare a good test case.
Quoted 7 lines
Quoted 3 lines
Run WindowsXP on AMD HW without vapic and see number of TPR access exits. Than run it with vapic and check again. Don't forget to check that reboot et al work.
So is this an optimization only for AMD CPUs or can it be reproduced on Intel as well? Any CPU feature dependencies?
It can be reproduced on Intel as well, but older once. There is flexpriority module option that you can disable on loading, but I think it is not enough and you also need to disable tpr_shadow, but there is not option for that.
--
Gleb.