1.36.5 higher load vs 1.30.4
Posted: Fri Jul 23, 2021 1:03 pm
HARDWARE:
Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz
MemTotal: 8048476 kB
SOFTWARE:
We have 2 HDD (both WD 4TB Purple)
System A:
Welcome to Ubuntu 16.04.7 LTS (GNU/Linux 4.4.0-210-generic x86_64)
uname -a
Linux ***-*** 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
zoneminder 1.30.4
mysql show variables like '%version%';
| innodb_version | 5.7.33 |
| protocol_version | 10 |
| slave_type_conversions | |
| tls_version | TLSv1,TLSv1.1,TLSv1.2 |
| version | 5.7.33-0ubuntu0.16.04.1 |
| version_comment | (Ubuntu) |
| version_compile_machine | x86_64 |
| version_compile_os | Linux |
+-------------------------+-------------------------+
System B:
Ubuntu 20.04 Server
uname -a
Linux ??-?? 5.4.0-80-generic #90-Ubuntu SMP Fri Jul 9 22:49:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
zoneminder 1.36.5
copied zm database from 1.30.4 and run zmupdate.pl up to 1.36.5
mysql show variables like '%version%';
| admin_tls_version | TLSv1,TLSv1.1,TLSv1.2,TLSv1.3 |
| immediate_server_version | 999999 |
| innodb_version | 8.0.25 |
| original_server_version | 999999 |
| protocol_version | 10 |
| slave_type_conversions | |
| tls_version | TLSv1,TLSv1.1,TLSv1.2,TLSv1.3 |
| version | 8.0.25-0ubuntu0.20.04.1 |
| version_comment | (Ubuntu) |
| version_compile_machine | x86_64 |
| version_compile_os | Linux |
| version_compile_zlib | 1.2.11 |
ISSUES:
- Running system A described above: Load average around 0.8 and around 10% wa. The CPU load occasionally goes up to 1.2 (audit/filters run).
- With the same hardware, running system B shows load average around 1.8 and 20-30% wa.
- WIth System B, mysql command 'show processlist' shows "waiting for handler commit" status for the Insert Logs command.
- WIth System B, running iostat shows typical iowait of 20%.
QUESTIONS:
- Is this normal behaviour for zm 1.36.5?
- If not, what can we do to reduce load on system B?
Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz
MemTotal: 8048476 kB
SOFTWARE:
We have 2 HDD (both WD 4TB Purple)
System A:
Welcome to Ubuntu 16.04.7 LTS (GNU/Linux 4.4.0-210-generic x86_64)
uname -a
Linux ***-*** 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
zoneminder 1.30.4
mysql show variables like '%version%';
| innodb_version | 5.7.33 |
| protocol_version | 10 |
| slave_type_conversions | |
| tls_version | TLSv1,TLSv1.1,TLSv1.2 |
| version | 5.7.33-0ubuntu0.16.04.1 |
| version_comment | (Ubuntu) |
| version_compile_machine | x86_64 |
| version_compile_os | Linux |
+-------------------------+-------------------------+
System B:
Ubuntu 20.04 Server
uname -a
Linux ??-?? 5.4.0-80-generic #90-Ubuntu SMP Fri Jul 9 22:49:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
zoneminder 1.36.5
copied zm database from 1.30.4 and run zmupdate.pl up to 1.36.5
mysql show variables like '%version%';
| admin_tls_version | TLSv1,TLSv1.1,TLSv1.2,TLSv1.3 |
| immediate_server_version | 999999 |
| innodb_version | 8.0.25 |
| original_server_version | 999999 |
| protocol_version | 10 |
| slave_type_conversions | |
| tls_version | TLSv1,TLSv1.1,TLSv1.2,TLSv1.3 |
| version | 8.0.25-0ubuntu0.20.04.1 |
| version_comment | (Ubuntu) |
| version_compile_machine | x86_64 |
| version_compile_os | Linux |
| version_compile_zlib | 1.2.11 |
ISSUES:
- Running system A described above: Load average around 0.8 and around 10% wa. The CPU load occasionally goes up to 1.2 (audit/filters run).
- With the same hardware, running system B shows load average around 1.8 and 20-30% wa.
- WIth System B, mysql command 'show processlist' shows "waiting for handler commit" status for the Insert Logs command.
- WIth System B, running iostat shows typical iowait of 20%.
QUESTIONS:
- Is this normal behaviour for zm 1.36.5?
- If not, what can we do to reduce load on system B?