----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------





> 
> Hi,
> 
> Michael asked which kind threads one should prefer;
> 
> we did a very simple experiment using the IBM JIT and the blackdown JDK  in two
> absolutely indentical environments (the same computers and so on). What we
> firgured out was the following:
> 
> it took the blackdown JDK 8000 milis to display the servlet (it did something
> like 100 million multiplications ...), the IBM JIT did the same in 500 milis
> (no, I didnt mess up the zeros ;-)   )
> 
> Well this means the IBM JIT is 16 times faster? At least it's faster. Concerning
> 
> the native thread/green thread thing:
> 
> IBM uses native threads -this could be much faster because the whole
> multithread-thing on linux isn't that perfect like multiprocessing? This means,
> Linux is great in handling lots of processes, only good in handling threads, I
> would think.
> What is even more intresting is the fact that more and more multiprocessor
> machines become available - this could mean, that the 'pseudo processes' IBM JIT
> 
> produces are much more easyer to handle for the OS  than the loadbalancing using
> 
> green threads.
> 
> Well, thats what we found out with 'quick benchmarking' ;-)
> 
> Cheers,
> 
> Rupert


We've been looking at the same compiler. On a P100 it outperformed 
blackdown on a dual P2-450. (not indepth testing though so suss).

However, I`m currently running JServ on the machine and under top 
and ps commands it claims that there are 7 java processes, each 
using the exact same amount of memory. Which obviously worried us
as this was 42 meg combined on a machine with 48 meg mem.

However, the total free memory seems to only change by 6 Meg.
Each process quite nicely links to what threads we expect to 
be existing.

So any idea why ps/top are 'getting it wrong'?

Hen


--
--------------------------------------------------------------
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]

Reply via email to