processor threads - Ubuntu 14.04 LTS Guest
Posted: 30. Nov 2015, 22:24
I have a 6700K with
4 cores
and
8 threads/logical processors
Each thread is seen as a logical processor by the windows 10 64 bit host. Virtualbox shows that I can assign 8 total "cpu's" I am given a warning if I assign more than 4 logical processors (from the host perspective). I have read in the documentation that I should not assign more "cpu's" than I have physical cores if i go against that rule of thumb I get the warning. It may also be helpful to know that i have vt-x turned on.
I have 2 questions:
1. Is there a way to statically asign specific threads to the Virtual?
2. If I choose to configure virtual box to use 4 cpu's how do I know what threads/logical processors the virtual box will use from the host? For example, if I configure Virtualbox to use 4 cores will threads 1,2, 3, 4 be used or will it be threads 1,3,5,7? see diagram below.
3. Also, once a thread is chosen at boot will it ever change while the host is up running?
Consider this layout
CPU core 1
Thread 1 & 2
CPU core 2
Thread 3 & 4
CPU core 3
Thread 5 & 6
CPU core 4
Thread 7 & 8
4 cores
and
8 threads/logical processors
Each thread is seen as a logical processor by the windows 10 64 bit host. Virtualbox shows that I can assign 8 total "cpu's" I am given a warning if I assign more than 4 logical processors (from the host perspective). I have read in the documentation that I should not assign more "cpu's" than I have physical cores if i go against that rule of thumb I get the warning. It may also be helpful to know that i have vt-x turned on.
I have 2 questions:
1. Is there a way to statically asign specific threads to the Virtual?
2. If I choose to configure virtual box to use 4 cpu's how do I know what threads/logical processors the virtual box will use from the host? For example, if I configure Virtualbox to use 4 cores will threads 1,2, 3, 4 be used or will it be threads 1,3,5,7? see diagram below.
3. Also, once a thread is chosen at boot will it ever change while the host is up running?
Consider this layout
CPU core 1
Thread 1 & 2
CPU core 2
Thread 3 & 4
CPU core 3
Thread 5 & 6
CPU core 4
Thread 7 & 8