MultiThreadedProofOfWorkProcessor doesn't use all cores
Closed this issue · 2 comments
Dissem commented
From https://developer.android.com/training/multiple-threads/create-threadpool.html
Runtime.getRuntime().availableProcessors();
This number may not reflect the number of physical cores in the device; some devices have CPUs that deactivate one or more cores depending on the system load. For these devices, availableProcessors() returns the number of active cores, which may be less than the total number of cores.
Dissem commented
Dissem commented
Cannot reproduce, on a Galaxy Nexus (Android 4.4) as well as a Moto X (6.0) all cores are used.