Re: SMP & Java



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


--
Robert Heller -- Get the Deepwoods Software FireFox Toolbar!
Deepwoods Software -- Linux Installation and Administration
http://www.deepsoft.com/ -- Web Hosting, with CGI and Database
heller@xxxxxxxxxxxx -- Contract Programming: C/C++, Tcl/Tk

.



Relevant Pages

  • Re: SMP & Java
    ... I tell if the Java app is using more than 1 cpu? ... starts processes or threads and the SMP kernel schedules the processes & ... htop is a good extension of top, and will show you what the threads are ...
    (comp.os.linux.misc)
  • 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)