[rabbitmq-discuss] another performance question

Matthias Radestock matthias at rabbitmq.com
Wed Jul 17 22:36:27 BST 2013


Mark,

On 17/07/13 22:14, Geib, Mark wrote:
> OK, built erlang R16B from source, then rabbitmq 3.1.3 from source as
> well. Still no joy.

I'm not surprised, but it was worth a try.

> top - 15:09:38 up 23 days,  3:13,  4 users,  load average: 1.32, 1.18, 0.86
> Tasks: 151 total,   2 running, 149 sleeping,   0 stopped,   0 zombie
> %Cpu(s): 23.3 us,  9.8 sy,  0.0 ni, 64.8 id,  0.0 wa,  0.0 hi,  2.1 si,  0.0 st
> KiB Mem:  33019144 total,  2277464 used, 30741680 free,   136004 buffers
> KiB Swap: 47313916 total,        0 used, 47313916 free,  1586932 cached
>
>    PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND
> 30714 root      20   0  256m  54m 2756 S 181.5  0.2   6:23.19 beam.smp
> 30990 geib      20   0 8476m 151m  10m S 100.7  0.5   0:46.45 java

The Java sender is maxed out! That's unusual. The Java client can 
normally outpace the broker.

Here's the output from my machine for comparison...

top - 22:32:18 up 2 days, 12:21, 10 users,  load average: 2.61, 1.30, 0.61
Tasks: 199 total,   2 running, 197 sleeping,   0 stopped,   0 zombie
Cpu(s): 30.5%us,  4.9%sy,  0.0%ni, 64.1%id,  0.2%wa,  0.0%hi,  0.4%si, 
0.0%st
Mem:  12301968k total,  4618104k used,  7683864k free,   583968k buffers
Swap: 19803132k total,        0k used, 19803132k free,  1331576k cached

   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND 

22511 matthias  20   0 1080m  49m 2672 S  197  0.4   5:36.66 beam.smp 

23873 matthias  20   0 4598m 384m 9624 S   53  3.2   1:23.18 java 


$ java -version
java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.5) (6b27-1.12.5-0ubuntu0.12.04.1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)


Matthias.


More information about the rabbitmq-discuss mailing list