Re: SMP & Java



On Thu, 29 Nov 2007 20:58:02 +0100, Robert Heller wrote:

At Thu, 29 Nov 2007 20:05:11 +0100 "A.ISS" <ais@xxxxxxxxxxxx> wrote:


Hi,

I'm using Jboss 4.0.5.GA on a RED Hat 4 (kernel 2.6.9-55.Elmsp) server
with 4 cpu's. The Java version is 1.5.0_12-b04. My question is how can
I tell if the Java app is using more than 1 cpu? I have been browsing
through the web but i've not find an answer. Thanks in advance.

ps and top will show this information (given the right options or
commands).

man ps
man top

I suspect that Jboss does not do anything special for SMP. It just
starts processes or threads and the SMP kernel schedules the processes &
threads to run on whatever processors are available.


kind regards,

Ivan


htop is a good extension of top, and will show you what the threads are
doing.
.



Relevant Pages

  • Re: SMP & Java
    ... My question is how can I tell if the Java app is using more than 1 cpu? ... starts processes or threads and the SMP kernel schedules the processes ... http://www.deepsoft.com/ -- Web Hosting, with CGI and Database ...
    (comp.os.linux.misc)
  • Re: FIle Viewer?
    ... filter files by extension, name, size, last mod date, last access ... ideally just down arrow with some sort of ... I'm using windows,but a Java app would be nice, especially one I can ...
    (comp.lang.java.softwaretools)
  • Re: Wintel outperforms V880 ?
    ... If you have a simple java app this result actually is quite ... favorable to sun. 4x250=1GHz. ... The 250 CPU only has 1MB of cache and a ...
    (comp.unix.solaris)