Discussions

Performance and scalability: is it possible to bind a JVM to a CPU in multiprocessor machine

  1. hi,
    i want to know is it possible to bind JVM to a CPU
    in a multiprocessor machines
    regards
    jeevan
  2. It is definately possible using NT, via Affinity. Not sure about other OS's.

    Cheers,
    Rick
  3. Under Linux, the JVM supports "Green Thread" which is actually one process running on one CPU. I am not too sure whether Linux will swapt the process between CPUs. Otherwise the JVM should be binded consistently to one CPU.
  4. The latest version of JRockit supports parallel garbage collection, which is needed to take a full advantage of multiprocessor systems.

    Allen
    www.JRockit.com