diff options
author | Jan Lindström <jplindst@mariadb.org> | 2014-07-04 08:16:45 +0300 |
---|---|---|
committer | Jan Lindström <jplindst@mariadb.org> | 2014-07-04 08:16:45 +0300 |
commit | 838977e54d0a631b679620ce3d1b0adf3eeff5d3 (patch) | |
tree | 4d0321eeb2aa4630a68a506c7d2f863ea70dc50f /storage | |
parent | 6cc5e00586dece4a3f6b3b1ad9d2d12a6ac0378f (diff) | |
download | mariadb-git-838977e54d0a631b679620ce3d1b0adf3eeff5d3.tar.gz |
MDEV-6318: MariaDB with XtraDB uses times more of IO events
than with InnoDB plugin
Fix: os0file.h in XtraDB had OS_AIO_N_PENDING_IOS_PER_THREAD 256
when on InnoDB it is OS_AIO_N_PENDING_IOS_PER_THREAD 32. Changed
XtraDB also to use 32.
Diffstat (limited to 'storage')
-rw-r--r-- | storage/xtradb/include/os0file.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/xtradb/include/os0file.h b/storage/xtradb/include/os0file.h index e6c70edbd8f..a7b74c83f39 100644 --- a/storage/xtradb/include/os0file.h +++ b/storage/xtradb/include/os0file.h @@ -151,8 +151,8 @@ log. */ #define OS_FILE_LOG 256 /* This can be ORed to type */ /* @} */ -#define OS_AIO_N_PENDING_IOS_PER_THREAD 256 /*!< Windows might be able to handle -more */ +#define OS_AIO_N_PENDING_IOS_PER_THREAD 32 /*!< Win NT does not allow more + than 64 */ /** Modes for aio operations @{ */ #define OS_AIO_NORMAL 21 /*!< Normal asynchronous i/o not for ibuf |