Unfortunately, I noticed that the CPU load is constantly increasing, just like in 4.1.0.
CPU load of z-way-server in 3.2.3: 5.9%, in 4.1.2 at the moment:38.5%.
In my opinion it's caused by zway/core, which takes in 3.2.3 about 45 percent of the z-way-server cpu, and in 4.1.2 about 87 percent.
CPU load in 4.1.2:
Code: Select all
COMMAND %CPU TIME SECONDS PERCENT
z-way-server 38.5 3224:29 193469 100.00
*******
z-way-server 0.0 0:18 18 0.01
OptimizingCompi 0.0 0:16 16 0.01
v8:SweeperThrea 0.0 0:49 49 0.03
v8:SweeperThrea 0.0 0:35 35 0.02
v8:SweeperThrea 0.0 0:21 21 0.01
v8:SweeperThrea 0.0 0:10 10 0.01
zway/core 33.5 2811:38 168698 87.20 !!!!!!!!!!!!!
zway/webserver 0.7 61:13 3673 1.90
zway/timers 0.2 18:07 1087 0.56
zway/dev/ttyAMA 3.8 325:50 19550 10.10
zway/sockets 0.0 0:59 59 0.03
zway/http/async 0.0 0:00 0 0
Code: Select all
COMMAND %CPU TIME SECONDS PERCENT
z-way-server 5.9 215:09 12909 100.00
*******
z-way-server 0.0 0:08 8 0.06
OptimizingCompi 0.0 0:12 12 0.09
v8:SweeperThrea 0.0 0:20 20 0.15
v8:SweeperThrea 0.0 0:12 12 0.09
v8:SweeperThrea 0.0 0:06 6 0.05
v8:SweeperThrea 0.0 0:03 3 0.02
zway/core 2.6 97:34 5854 45.35 !!!!!!!!!!!!!!
zway/webserver 0.5 21:08 1268 9.82
zway/timers 0.2 7:14 434 3.36
zway/dev/ttyAMA 2.3 86:33 5193 40.23
zway/sockets 0.0 0:26 26 0.20