Updated yesterday and now the plugin is using a lot of CPU. Server runs at 100%, mcsMQTT is causing 86% of this:
Announcement
Collapse
No announcement yet.
High CPU-usage (4.1.7.1)
Collapse
X
-
With 4.1.7.1 on my Odroid C2 I am seeing typically 0.5% CPU for mcsMQTT. This version added multiple Broker support so there may be a slight increase due to the generalization, but not expecting anything dramatic.
Look at the Statistics tab to see what the average receive processing time is. Mine is 40 milliseconds. Max receive queue depth is 100.
The debug may include some information to help characterize why your environment is resulting in high CPU.
The prior version without multiple broker support is at http://mcsSprinklers.com/mcsMQTT_4_1_6_1.zip. Only HSPI_mcsMQTT.exe is needed from the zip.
Comment
-
Running on HS3 3.0.0.534 (Linux) testing multiple Intel and ARM and AMD CPU's here - RAM from 2Gb to 32Gb.
Newest testing hardware is:
1 - Intel Beelink BT3 Pro - Intel Atom x5-Z8350, 4Gb RAM, 64Gb eMMC for OS, USB 3.0/2.0, Gb NIC, WiFi and Bluetooth - 10 watts
2 - Intel BCM Skylake Motherboard - Intel Skylake i3 - 32Gb of RAM (updating Intel Haswell Motherboard).
Same Mono version on all of them: Mono JIT compiler version 6.0.0.334 (tarball Thu Sep 12 21:34:14 UTC 2019)
Here do not see much utilization using Homeseer Linux 64 bit on Intel CPU.
Each new Intel box now is running Ubuntu 18.04 HS3, Docker, HA, Node Red, Mosquitto server, Apache server and Oracle Virtual box (Windows 7 embedded).
Migrating slowly to Ubuntu 19.04.
Here it is running on my TVBox (S912 8 core Arm CPU).
- Pete
Auto matorHomeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram
HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant
Comment
-
Originally posted by ZoRaC View PostSeems the problem is that it’s not able to connect to the broker. In statistics, it shows offline. Also noticed the username in settings was blank. Tried to re-enter the username, but it didn’t help.
Running Mosquitto.
I'll try to enable debugging and do some more testing.
- Likes 1
Comment
-
Just noticed here that I am still on version 4.1.5.0 of the plugin. New updated version is there under updates.- Pete
Auto matorHomeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram
HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant
Comment
-
I messed up with the broker username for multiple brokers. It is fixed in http://mcsSprinklers/mcsMQTT_4_1_7_2.zip. Only HSPI_MCSMQTT.exe was updated in the zip.
Comment
-
When will 4.1.7.2 be available as I only see 4.1.7.1?HomeSeer Version: HS3 Standard Edition 3.0.0.548
Linux version: Linux auto 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Number of Devices: 484 | Number of Events: 776
Enabled Plug-Ins: 3.0.0.13: AirplaySpeak | 2.0.61.0: BLBackup
3.0.0.70: EasyTrigger | 1.3.7006.42100: LiftMaster MyQ
4.2.3.0: mcsMQTT | 3.0.0.53: PHLocation2 | 0.0.0.47: Pushover 3P
3.0.0.16: RaspberryIO | 3.0.1.262: Z-Wave
Z-Net version: 1.0.23 for Inclusion Nodes
SmartStick+: 6.04 (ZDK 6.81.3) on Server
Comment
-
I have never applied tor access to the Beta section of the Updater. I upload to the Updater at convenient times with consideration for the workload placed on HST to do the processing.
Typically mcsMQTT updates occur based upon user feedback and requests so most of the activity is working directly with those who made the request. Updates have been pretty frequent since the plugin was released. The latest information is at the sticky at the top of the forum and updater packages are at http://mcsSprinklers.com using convention of mcsMQTT_x_y_z_w.zip for the filename. Currently mcsMQTT_4_1_8_0.zip is the latest version available.
Comment
Comment