HomeGenie Forum

General Category => General Discussion => Topic started by: Wibo on February 27, 2015, 08:52:10 PM

Title: Rpi2 vs RpiB+ Benchmark
Post by: Wibo on February 27, 2015, 08:52:10 PM


Hi all,

bench marking is a hobby of me.
I like to know what hardware is capable of.

Already did a crappy test with rendering HG to a browser.
It learned us that RPi2 is about 3 times faster than RPiB+ doing that.

Since all hardware is working now and I'm waiting for an order from China...

If you've read this thread: http://www.homegenie.it/forum/index.php?topic=680.0 (http://www.homegenie.it/forum/index.php?topic=680.0)

You know that RPiB+ handles 450 mqqt msg/sec max and CPU load is about 100%.

Now for RPi2...

===================================
Interval:1000ms
SensorCount:500
Qos:BestEfforts     

RPi2: 22%
Msg/sec: 495

Total messages: 135000

===================================
Interval:1000ms
SensorCount:1000
Qos:BestEfforts     

RPi2: 38%
Msg/sec: 990

Total messages: 80000

===================================
Interval:1000ms
SensorCount:10000
Qos:BestEfforts     

RPi2: 190%
Msg/sec: ~5900

Total messages: 580000

UI totally unresponsive, but it's stable.

===================================
Interval:50ms
SensorCount:500
Qos:BestEfforts     

RPi2: 160-198%
Msg/sec: 5500

Total messages: 900000

UI responded very well, everything stable.

RPi2 is 13 times faster (5900/450) than RPiB+ when it concerns network using mqtt.
In my case that's MqttDotnet, that's not the library HG is using.

Regards,
Wibo.