You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by tran302 <91...@ing-life.co.jp> on 2013/03/04 09:29:46 UTC

32-bit JSW on 64-bit Java and performance

Hi,

I'm using ActiveMQ 5.4.3 on 32-bit Java, and want to upgrade to 64-bit Java.
I notice that in this version, 64-bit wrapper is not provided yet. Are there
any issues, bugs, or performance related problems reported on using 32-bit
wrapper for AMQ on 64-bit Java? I'm currently getting below message from the
wrapper when I start it on 64-bit Java:

STATUS | wrapper  | 2013/02/16 09:39:39 | --> Wrapper Started as Service
STATUS | wrapper  | 2013/02/16 09:39:39 | Launching a JVM...
INFO   | jvm 1    | 2013/02/16 09:39:40 | Wrapper (Version 3.2.3)
http://wrapper.tanukisoftware.org
INFO   | jvm 1    | 2013/02/16 09:39:40 |   Copyright 1999-2006 Tanuki
Software, Inc.  All Rights Reserved.
INFO   | jvm 1    | 2013/02/16 09:39:40 | 
INFO   | jvm 1    | 2013/02/16 09:39:40 | 
INFO   | jvm 1    | 2013/02/16 09:39:40 | WARNING - Unable to load the
Wrapper's native library 'wrapper.dll'.
INFO   | jvm 1    | 2013/02/16 09:39:40 |           The file is located on
the path at the following location but
INFO   | jvm 1    | 2013/02/16 09:39:40 |           could not be loaded:
INFO   | jvm 1    | 2013/02/16 09:39:40 |            
O:\ActiveMQ-Broker-5.4.3\bin\win32\..\..\bin\win32\wrapper.dll
INFO   | jvm 1    | 2013/02/16 09:39:40 |           Please verify that the
file is readable by the current user
INFO   | jvm 1    | 2013/02/16 09:39:40 |           and that the file has
not been corrupted in any way.
INFO   | jvm 1    | 2013/02/16 09:39:40 |           One common cause of this
problem is running a 32-bit version
INFO   | jvm 1    | 2013/02/16 09:39:40 |           of the Wrapper with a
64-bit version of Java, or vica versa.
INFO   | jvm 1    | 2013/02/16 09:39:40 |           This is a 64-bit JVM.
INFO   | jvm 1    | 2013/02/16 09:39:40 |           Reported cause:
INFO   | jvm 1    | 2013/02/16 09:39:40 |            
O:\ActiveMQ-Broker-5.4.3\bin\win32\wrapper.dll: Can't load IA 32-bit .dll on
a AMD 64-bit platform
INFO   | jvm 1    | 2013/02/16 09:39:40 |           System signals will not
be handled correctly.
INFO   | jvm 1    | 2013/02/16 09:39:40 | 
INFO   | jvm 1    | 2013/02/16 09:39:40 | Java Runtime: Sun Microsystems
Inc. 1.6.0_38 O:\Program Files\Java\jre6
INFO   | jvm 1    | 2013/02/16 09:39:40 |   Heap sizes: current=188352k 
free=180477k  max=466048k

Running Environment:
JRE 64-bit build 1.6.0_38-b05
Windows Server 2003 x64
12GB RAM

Also, is there any performance difference between 32-bit and 64-bit JVM in
general? Basically, I'm seeing slower performance in enqueing/dequeing
messages on 64-bit Java during testing, but I am not sure if this is because
I'm using 32-bit wrapper or 64-bit JVM is just slower. If neither, are there
any settings that we could adjust? Thank you in advance!



--
View this message in context: http://activemq.2283324.n4.nabble.com/32-bit-JSW-on-64-bit-Java-and-performance-tp4664337.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Re:32-bit JSW on 64-bit Java and performance

Posted by tran302 <91...@ing-life.co.jp>.
Thanks. How about running 32-bit wrapper with 64-bit Java? I'd think it
should be okay as the OS has compatibility with 32-bit application, but I'm
just worried about the warning message (ie. Unable to load the Wrapper's
native library 'wrapper.dll'). How would this affect the AMQ broker?



--
View this message in context: http://activemq.2283324.n4.nabble.com/32-bit-JSW-on-64-bit-Java-and-performance-tp4664337p4664373.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re:32-bit JSW on 64-bit Java and performance

Posted by SuoNayi <su...@163.com>.
for the same Java program 32-bit VM always performs faster than 64-bit VM.
take a peek at
http://www.oracle.com/technetwork/java/hotspotfaq-138619.html#64bit_performance


At 2013-03-04 16:29:46,tran302 <91...@ing-life.co.jp> wrote:
>Hi,
>
>I'm using ActiveMQ 5.4.3 on 32-bit Java, and want to upgrade to 64-bit Java.
>I notice that in this version, 64-bit wrapper is not provided yet. Are there
>any issues, bugs, or performance related problems reported on using 32-bit
>wrapper for AMQ on 64-bit Java? I'm currently getting below message from the
>wrapper when I start it on 64-bit Java:
>
>STATUS | wrapper  | 2013/02/16 09:39:39 | --> Wrapper Started as Service
>STATUS | wrapper  | 2013/02/16 09:39:39 | Launching a JVM...
>INFO   | jvm 1    | 2013/02/16 09:39:40 | Wrapper (Version 3.2.3)
>http://wrapper.tanukisoftware.org
>INFO   | jvm 1    | 2013/02/16 09:39:40 |   Copyright 1999-2006 Tanuki
>Software, Inc.  All Rights Reserved.
>INFO   | jvm 1    | 2013/02/16 09:39:40 | 
>INFO   | jvm 1    | 2013/02/16 09:39:40 | 
>INFO   | jvm 1    | 2013/02/16 09:39:40 | WARNING - Unable to load the
>Wrapper's native library 'wrapper.dll'.
>INFO   | jvm 1    | 2013/02/16 09:39:40 |           The file is located on
>the path at the following location but
>INFO   | jvm 1    | 2013/02/16 09:39:40 |           could not be loaded:
>INFO   | jvm 1    | 2013/02/16 09:39:40 |            
>O:\ActiveMQ-Broker-5.4.3\bin\win32\..\..\bin\win32\wrapper.dll
>INFO   | jvm 1    | 2013/02/16 09:39:40 |           Please verify that the
>file is readable by the current user
>INFO   | jvm 1    | 2013/02/16 09:39:40 |           and that the file has
>not been corrupted in any way.
>INFO   | jvm 1    | 2013/02/16 09:39:40 |           One common cause of this
>problem is running a 32-bit version
>INFO   | jvm 1    | 2013/02/16 09:39:40 |           of the Wrapper with a
>64-bit version of Java, or vica versa.
>INFO   | jvm 1    | 2013/02/16 09:39:40 |           This is a 64-bit JVM.
>INFO   | jvm 1    | 2013/02/16 09:39:40 |           Reported cause:
>INFO   | jvm 1    | 2013/02/16 09:39:40 |            
>O:\ActiveMQ-Broker-5.4.3\bin\win32\wrapper.dll: Can't load IA 32-bit .dll on
>a AMD 64-bit platform
>INFO   | jvm 1    | 2013/02/16 09:39:40 |           System signals will not
>be handled correctly.
>INFO   | jvm 1    | 2013/02/16 09:39:40 | 
>INFO   | jvm 1    | 2013/02/16 09:39:40 | Java Runtime: Sun Microsystems
>Inc. 1.6.0_38 O:\Program Files\Java\jre6
>INFO   | jvm 1    | 2013/02/16 09:39:40 |   Heap sizes: current=188352k 
>free=180477k  max=466048k
>
>Running Environment:
>JRE 64-bit build 1.6.0_38-b05
>Windows Server 2003 x64
>12GB RAM
>
>Also, is there any performance difference between 32-bit and 64-bit JVM in
>general? Basically, I'm seeing slower performance in enqueing/dequeing
>messages on 64-bit Java during testing, but I am not sure if this is because
>I'm using 32-bit wrapper or 64-bit JVM is just slower. If neither, are there
>any settings that we could adjust? Thank you in advance!
>
>
>
>--
>View this message in context: http://activemq.2283324.n4.nabble.com/32-bit-JSW-on-64-bit-Java-and-performance-tp4664337.html
>Sent from the ActiveMQ - User mailing list archive at Nabble.com.