[MDEV-6318] MariaDB with XtraDB uses times more of IO events than with InnoDB plugin Created: 2014-06-06 Updated: 2014-07-04 Resolved: 2014-07-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.38, 10.0.11 |
| Fix Version/s: | 5.5.39, 10.0.13 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
If MariaDB is started with default options, it uses several times more IO events than if it's started with InnoDB plugin, or than Percona server, or MySQL server. On my machine, if I run the server manually with all default options, the values are: MariaDB 5.5/10.0 with InnoDB plugin, Percona 5.5/5.6, MySQL 5.5/5.6: MariaDB 5.5/10.0 with XtraDB: With MTR the values are somewhat different, possibly due to non-default options, but the problem is still obvious: MariaDB 5.5/10.0 with InnoDB plugin, Percona 5.5/5.6, MySQL 5.5/5.6: MariaDB 5.5/10.0 with XtraDB: Apparently, it has been like that from early versions of MariaDB 5.5. While hitting the maximum is not a fatal problem for MariaDB, it still means that the native AIO will be switched off much earlier than it could have been. MTR test:
|
| Comments |
| Comment by Jan Lindström (Inactive) [ 2014-07-03 ] | ||||||
|
Repeated:
| ||||||
| Comment by Jan Lindström (Inactive) [ 2014-07-04 ] | ||||||
|
This is the difference: === modified file 'storage/xtradb/include/os0file.h' -#define OS_AIO_N_PENDING_IOS_PER_THREAD 256 /*!< Windows might be able to handle | ||||||
| Comment by Jan Lindström (Inactive) [ 2014-07-04 ] | ||||||
|
10.0: revno: 4272 Fix: os0file.h in XtraDB had OS_AIO_N_PENDING_IOS_PER_THREAD 256 | ||||||
| Comment by Jan Lindström (Inactive) [ 2014-07-04 ] | ||||||
|
5.5: revno: 4222 Fix: os0file.h in XtraDB had OS_AIO_N_PENDING_IOS_PER_THREAD 256 |