[MDEV-20613] wordpress benchmark shows very unstable with mariadb 10.4.x Created: 2019-09-18 Updated: 2021-09-16 Resolved: 2021-09-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server |
| Affects Version/s: | 10.4.7, 10.4.8 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | yuma | Assignee: | Axel Schwenke |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | need_feedback | ||
| Environment: |
ubuntu 19.04 |
||
| Description |
|
when running wordpress benchmark with https://gitlab.devtools.intel.com/DCSP/HHVM/oss-performance-php, the result is fluctuating from 200 to 4600, this problem does not exist on 10.3.17. Details:
Env: Steps: else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" And get result as below, Siege RPS: } |
| Comments |
| Comment by Axel Schwenke [ 2019-09-18 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
I could not even clone the repository:
and indeed:
Also: did you use any my.cnf or was MariaDB running with defaults? | |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by yuma [ 2019-09-18 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
update the workload link from github
| |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Marko Mäkelä [ 2019-09-18 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
mayujsw, could you please post some profiler output that highlights the new bottlenecks in 10.4? Myself, I would use sudo perf record during the workload, and then analyze sudo perf report. Alternatively, one could check the live output of sudo perf top when the workload is in a steady state for a longer period. | |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Axel Schwenke [ 2019-09-24 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
I reproduced a performance regression from MariaDB 10.3 (tested: 10.3.18) to MariaDB 10.4 (tested: 10.4.6, 10.4.8). The overall RPS (HTTP requests per second) was ~1000 for MariaDB 10.3 and dropped to ~420 for MariaDB 10.4. This is the average for the 1 minute benchmark duration. More research is needed. | |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Axel Schwenke [ 2019-09-24 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
'perf top' during the benchmark shows heavy activity of __pthread_mutex_lock from libpthread.so for 10.4.18 where no such activity can be seen for 10.3.18. | |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by yuma [ 2019-10-18 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
Thanks Axel, so is there any more progress on this issue | |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Axel Schwenke [ 2021-09-16 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
10.4 is very old. If this problem still exists with a newer version, please open a new Jira issue. |