3 Replies Latest reply on Jul 30, 2005 1:04 PM by treespace

    Setting Processor Affinity

    treespace Novice

      We are running multiple JVMs on a dual CPU box. Each is running the same application under JBoss so they are sharing the same code and within a JVM sharing a lot of application data.

      Best practice seems to indicate that multi-threaded applications should set processor affinity to keep the threads for a given JVM pinned down to one processor and also to ensure that each machine (load balanced) is pinned to its own CPU (or two virtual CPUs in the case of a hyperthreaded Intel chip).


      Can anybody confirm or deny whether this is a good or bad idea running JBoss. Again, many threads, two JVMs, same code, same data, all running in parallel.