On Windows, you can change the number of cores that an application can use with some simple properties. In virtualized environments, you can also restrict the kernels to a virtual machine so that you only see the kernels that the VM sees. And on Linux / Unix, you can set the kernel proximity so that applications or users cannot use all the kernels, so it is possible that you may have more kernels than they are visible to the JVM.
Note. This is useful for machines that run several tasks, where you do not need a high resource conflict, and you want to underestimate (or even reassign) resources.
Jesus ramos
source share