I'm trying to run code which has been compiled for AVX instructions, but this cpu capability isn't visible to my Xen guest or the host itself. How can I enable AVX on Xenserver?
This simple test code: https://gist.github.com/mikesart/6832418 works fine when compiled and run on a physical box, but fails with 'illegal instruction' under XenServer:
I have seen other reports show avx available in host-cpu-info (eg here: http://discussions.c...ools-xenserver/). How can I enable AVX on Xenserver? Please let me know if you need any more info.
Question
Luke Sudbery
Hello,
Appologies for cross posting - I've posted here: http://discussions.citrix.com/topic/356958-avx-processor-instruction-support/ but got little response other than from a citrix employee saying to post here as well. So:
I'm trying to run code which has been compiled for AVX instructions, but this cpu capability isn't visible to my Xen guest or the host itself. How can I enable AVX on Xenserver?
Specially, the code in question is the 'Generic Mapping Tools': http://gmt.soest.hawaii.edu/
This simple test code: https://gist.github.com/mikesart/6832418 works fine when compiled and run on a physical box, but fails with 'illegal instruction' under XenServer:
The servers are Dell R520, running the 6.2 with all the patest updates. They have 2x Xeon E5-2440, which should support AVX:
http://ark.intel.com...0-GTs-Intel-QPI
This is the output of host-cpu-info:
/proc/cpuinfo from the host:
/proc/cpuinfo from the guest:
And /proc/cpuinfo from the same physical server booted with a live CD - confirming AVX is available on this server:
I have seen other reports show avx available in host-cpu-info (eg here: http://discussions.c...ools-xenserver/). How can I enable AVX on Xenserver? Please let me know if you need any more info.
Link to comment
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now