1 | | I understand that this would be a large effort. But for completeness of this ticket, I include this information since it would at some time be helpful to use 6 of my 8 logical cores in as optimal a manner as possible. The only reason I use Ubuntu on VirtualBox is to run buildroot and Xilinx tools which are compute intensive and use multithreading. |
2 | | |
3 | | To be clear, the request is to change the code such that when using a 4 physical core / 8 logical core CPU (e.g. the i7-4790K) that the guest is setup as N CPUs x (2 threads per CPU). Currently it gets setup as 2*N CPUs x (1 thread per CPU). Here N is 1,2,3, or 4. |
4 | | |
5 | | https://software.intel.com/en-us/articles/intel-64-architecture-processor-topology-enumeration/ |
6 | | |
7 | | http://developer.amd.com/resources/documentation-articles/articles-whitepapers/processor-and-core-enumeration-using-cpuid/ |
8 | | |
9 | | http://stackoverflow.com/questions/2901694/programatically-detect-number-of-physical-processors-cores-or-if-hyper-threading |
| 1 | You're right. I was confused about this. |