-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
"Reuben @ I-Cue" wrote:
> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
>
> Does running JServ on a multiprocessor machine make any difference to its
> performace ?
> Are there any special techniques for running JServ on a MultiProcessor ?
> Someone once told me multithreaded Java apps will only use more than one
> processor
> if the JVM implementation allows this. I currently use the Blackdown 117v3
> JDK.
> Does this one support multiple processors ?
>
Multiprocessor machines will make a difference, assuming that compute time is
what you're maxing out on, in the following two scenarios:
* You run more than one instance of Apache JServ on the same machine,
so that the JVMs can use the processors independently.
* You run a single instance, but are using a JVM that supports native
threads.
On the latter topic, Blackdown 1.1.7v3 supports native threads, but my
understanding is that it's really buggy and that they recommend using green
threads. I've used the IBM JVM (from Alphaworks) on Linux with good success
-- it supports native threads and has a JIT compiler as well, which makes a
*huge* difference on compute-bound servlets.
If your processing is IO bound, though, multiprocessors probably won't make
any difference at all.
>
> Any help appreciated
> Reuben
>
PS: To avoid the confusion that is bound to come up: the Linux "ps" display
lies to you when you are running a native threads JVM -- it makes each thread
look like a process. On the other hand, this is a useful way to determine
how many threads are actually running :-).
Craig McClanahan
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]