diff options
author | Jan Lindström <jplindst@mariadb.org> | 2014-07-04 08:09:27 +0300 |
---|---|---|
committer | Jan Lindström <jplindst@mariadb.org> | 2014-07-04 08:09:27 +0300 |
commit | d2098b964d6c72b009071ac064498cda9e76b9d6 (patch) | |
tree | 2a1f260e9885dfa3b09fcdefae5764db454b13d9 | |
parent | 43c851435fb7da4c707a21797860232889702a4a (diff) | |
download | mariadb-git-d2098b964d6c72b009071ac064498cda9e76b9d6.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.
-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 a75091589c6..1ab71d80829 100644 --- a/storage/xtradb/include/os0file.h +++ b/storage/xtradb/include/os0file.h @@ -168,8 +168,8 @@ enum os_file_create_t { #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 |