java multithreading in virtual Multicore single cpu vs multiple physical core cpus -


here use case of general java multithreading implementation:

  1. i have 1 cpu 4 virtual cores.
  2. i have 4 cpus 4 physical cores.

which hardware should choose efficiently implement multithreaded application. far know, number of cores in cpu(virtual/physical) abstracted jvm operating system , jvm cannot differentiate between virtual/physical cores. however, hardware configuration should more efficient between 2 above mentioned options?


Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -