Bug #81376 | Single page flushing should be removed | ||
---|---|---|---|
Submitted: | 11 May 2016 6:48 | Modified: | 12 May 2016 14:21 |
Reporter: | Laurynas Biveinis (OCA) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S5 (Performance) |
Version: | 5.7 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | flushing, innodb, performance |
[11 May 2016 6:48]
Laurynas Biveinis
[11 May 2016 14:55]
MySQL Verification Team
Hi Laurynas, I do have some additional questions, that were not covered in the articles that you posted. What was the hardware that you were using? 24 core? 64 core? 128 core? What was the mysqld configuration? Were there any additional plugin settings being used? What other information might help in reproducing the bug? Maybe you can update the bug with this additional information. Thanks in advance.
[11 May 2016 18:36]
Mark Callaghan
I prefer this remain. That makes it easier to show how much faster MyRocks is compared to InnoDB for write-heavy workloads.
[12 May 2016 5:49]
Laurynas Biveinis
The configuration is the same as in , and you can find server settings there: innodb_log_file_size=10G innodb_doublewrite=1 innodb_flush_log_at_trx_commit=1 innodb_buffer_pool_instances=8 innodb_change_buffering=none innodb_adaptive_hash_index=OFF innodb_flush_method=O_DIRECT innodb_flush_neighbors=0 innodb_read_io_threads=8 innodb_write_io_threads=8 innodb_lru_scan_depth=8192 innodb_io_capacity=15000 innodb_io_capacity_max=25000 loose-innodb-page-cleaners=4 table_open_cache_instances=64 table_open_cache=5000 loose-innodb-log_checksum-algorithm=crc32 loose-innodb-checksum-algorithm=strict_crc32 max_connections=50000 skip_name_resolve=ON loose-performance_schema=ON loose-performance-schema-instrument='wait/synch/%=ON', I think it was 48 cores, but I am not too sure, will ask Alexey S to confirm.
[12 May 2016 5:50]
Laurynas Biveinis
*as in https://www.percona.com/blog/2016/03/17/percona-server-5-7-performance-improvements/
[12 May 2016 6:12]
Alexey Stroganov
re: reproducibility - workload IO bound sysbench/OLTP_RW, symptoms clearly visible on any type of hardware, 16cores+HT/28cores+HT/etc. There is a metric for single page flushing so it's very easy to see when it starts to affect InnoDB performance.
[12 May 2016 14:20]
MySQL Verification Team
MarkC, Thank you so much for your feedback !!! I never heard about MyRocks, but your words inspired me to push on this subject. We shall be hearing on the subject, yet ....
[12 May 2016 14:21]
MySQL Verification Team
Laurynis, Thank you for your feedback. Verified.
[16 Jul 2018 8:12]
Roel Van de Paar
https://www.percona.com/blog/2018/07/13/on-mysql-and-intel-optane-performance/