This content has been marked as final.
Show 3 replies
-
1. Re: jboss can utilize multiple CPUs?
peterj Sep 6, 2006 6:51 PM (in response to lazybeans)JBoss uses multiple threads so it can make use of multiple CPUs (we do it all the time here). In Linux, there is a kernel option that indicates if threads appear as pcoesses or not. It's been a while since I worked with that option so I don't recall what it is off hand.
-
2. Re: jboss can utilize multiple CPUs?
lazybeans Sep 7, 2006 4:50 PM (in response to lazybeans)so your answer is that JBOSS does use multiple CPUs in LINUX by default.
-
3. Re: jboss can utilize multiple CPUs?
gcoleman Sep 8, 2006 9:58 AM (in response to lazybeans)No, that's not what he said.
JBoss uses multiple threads. To illustrate this you could have a look at a thread dump (see the wiki).
The operating system (Windows, Linux, FreeBSD, etc..) will then be able to schedule the threads on as many CPUs as are available.
PeterJ's comment is just how threads appear in the process view (e.g. ps -aux).