Skip to content

Performance Test on Ubuntu 12.04

bulldog2011 edited this page Apr 19, 2013 · 2 revisions

#Performance Test on CentOS 6.3

Tests on single machine

In the following tests, one producer process, one consumer process and one broker process all run on my notebook(Ubuntu 12.04 LTS, HD with ext4 filesystem), and there is only one active topic on broker for testing in each round. These tests are performed to check the pure performance of Luxun messaging system on a normal desktop PC with default JVM setting. See full hardware spec for benchmark here.

JVM setting: default

###Test Suite 1 - Standalone Async Producing(batch size = 200, flush disabled on broker)

Test Case messge size(bytes) thread number nMsgs sent throughput(MB/s) speed(nMsg/s)
TC11 100 1 2000000 87.2529 914913.0833
TC12 1024 1 2000000 68.8982 70551.7144
TC13 2048 1 2000000 52.5946 26928.4108
TC14 4096 1 2000000 45.7401 11709.4648
TC15 100 10 2000000 61.9068 649139.8896
TC16 1024 10 2000000 59.6119 61042.6077
TC17 2048 10 2000000 46.5512 23834.2092
TC18 4096 10 2000000 42.4318 10862.5400

###Test Suite 2 - Standalone Sync Producing(flush disabled on broker)

Test Case messge size(bytes) thread number nMsgs sent throughput(MB/s) speed(nMsg/s)
TC21 100 1 2000000 13.0739 137089.5880
TC22 1024 1 2000000 53.1347 54409.9244
TC23 2048 1 2000000 54.3040 27803.6506
TC24 4096 1 2000000 50.7292 12986.6757
TC25 100 10 2000000 14.5599 152671.7557
TC26 1024 10 2000000 64.9980 66557.9553
TC27 2048 10 2000000 51.4001 26316.8283
TC28 4096 10 2000000 46.0141 11779.6036

###Test Suite 3 - Standalone Consuming(fetch size = 1024 * 1024bytes)

Test Case messge size(bytes) thread number nMsgs fetched throughput(MB/s) speed(nMsg/s)
TC31 100 1 2000000 48.8563 512295.0820
TC32 1024 1 2000000 48.8538 50026.2638
TC33 2048 1 2000000 47.4757 24307.5390
TC34 4096 1 2000000 46.7842 11976.7651
TC35 100 10 2000000 48.7938 511639.8056
TC36 1024 10 2000000 57.0789 58448.7697
TC37 2048 10 2000000 53.4707 27377.0088
TC38 4096 10 2000000 47.5589 12175.0776