Are they the same box?
Which versions of OS/jdk on each?
I believe XP/Windows 2000 is faster than unix/linux on the same spec box.
windows VM is better AFAIK
could be wrong
Windows JVMs are way better than Linux ones
Sun sees Linux as a 2 sided knife :
_ A potential treat to Win
_ A potential treat to solaris
They haven't make up their minds yet.
This is probably the good reason Linux VM development should get back to Blackdown & nowhere else !
I was led to believe that Tomcat on *NIX boxes doesn't 'thread' as well as on Windows. (excuse my technical ignorance, still new to this field.)
Friend of mine was explaining this to me and recomends Jetty for your web needs on *NIXs.
Hope this helps.
I don't think that SUN cares if Linux is win32 competition, perhaps for Solaris, but not win32.
Some reasons that the Linux vms have issues could be due to the support libs (libc et all) & kernel versions vary so much.
It could also be that they don't care much to put in the effort for Linux perf optimizations, though I have no real evidence of this. I have noticed that the Solaris vms are a little more stable than the Linux versions, but are not really that much faster.
It it's really too bad that the win32 versions are faster... as that os platform is a dead end for managment, scalabilty and cost... not to mention soul.
Have a look at IBM if you need a faster vm on Linux... avoid win32 like the plauge. Don't let the appearence of speed trick you into eating the poision.
I run application in JBoss 2.4.4 with Catalina 4.0.3 on Solaris and WindowsNT. They run with comparable speed on both. You should tweak yours TCP/IP settings on Unix, perhaps.
I use SUN Ultra 10 333Mhz,512M ram, Solaris8 and SUN jdk 1.4.0 and Pentium II/350 Mhz, 512M ram, WinNT4(SP6a), SUN jdk 1.4.0
Same application running on PentiumIII/933(my development box) runs 3 time faster than on Ultra10.
Solaris VM is quiet reasonnable !
I believed most the discussion was on Linux VM instead !
I too have the same issue. When I use to speed example, my 440 UNIX box returns an average time of ~.3 - .4 ms. However, when I run the same example on a 799 notebook, the times drop to below .1 ms (actually .07 ms).
~300% difference in performance! Yikes!
Is this a JVM issue? Tomcat? Jboss? Java1.4?
Is there any hope of this improving?
Thank you in advance
If you're running on a Linux box, you might want to try the IBM VM. From everything I've heard (and our experience here bears this out) the IBM VM is much faster than the Sun VM on Linux boxes.
I've got next results from speed example:
NonOptimized 1000 iteration - Avg. time/call(ms):1.142
Optimized 1000 iteration - Avg. time/call(ms):0.211
NonOptimized 1000 iteration - Avg. time/call(ms):1.211
Optimized 1000 iteration - Avg. time/call(ms):0.161
NonOptimized 1000 iteration - Avg. time/call(ms):0.471
Optimized 1000 iteration - Avg. time/call(ms):0.07
I tweak file /etc/system for TCP/IP optimization.
I did a quick and non-comprehensive comparison of the IBM 1.3 VM and SUN's 1.3 VM. I am running JBoss 3.0 (built about a week ago), Jetty, & MySQL on Linux. I compared the time it took to serve web pages from my web app using both VMs. Overall, the IBM 1.3 VM was faster. Web pages were being served anywhere from twice as fast to about the same speed. Does anyone know if the IBM 1.3 VM is as reliable as SUN's 1.3 VM?
What teaks? explain....TS
Sorry, I thought I was posting to the above mentioned /etc/system file mods. TS
The IBM VM is very stable and is the fastest VM that I've tested so far... I compared linux to windows with the IBM VM and there was no real difference except the cost of windows :)