> I am developing a network performance benchmarking program with java. I
>have resently intalled jdk1.1.7 in my redhat5.1but i am getting very slow
>prefrormance. i.e. a for loop from 0 to 3x10^7 takes about 10 secs while
>when using vcafe in windows95 itneeds about 1 sec on the same machine. I am
Your running with a JIT in winblows aren't you (if you don't know, then
yes, you are; and in vcafe it's one of the fastest in the industry) but
not in Linux (if you don't know then you _ARE_NOT_). Disable it in winblows
and I'll bet you see the performance equal out on that tight loop. Compile
with jikes and I'll bet you see a slim improvement as well. If you're running
serious multi- threaded stuff you might find that linux and native therads
will edge out winblows due to the overall inferiority of the Redmond OS.
>doing something wrong ? What cani do to maximize the performace of my linux
>when running java?
Find a jit for linux that you like, use it, contribute to it and/or it's
developers. There are a couple different jit projects out there.
!NEW!-=> <*> cabbey at home dot net http://members.home.net/cabbey/ <*>
"What can Microsoft do? They certainly can't program around us." - Linus
-----BEGIN GEEK CODE BLOCK----- Version:3.12 http://www.geekcode.com
GCS$/IT/PA$ d(-) s++:+ a-- C+++$ UL++++ UA++$ P++ L++ E- W++ N+ o? K? !P
w---(+)$ O- M-- V-- Y+ PGP+ t--- 5++ X+ R tv b+ DI+++ D G e++ h(+) r@ y?
------END GEEK CODE BLOCK------
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]