Details
-
Type:
Task
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Fix Version/s: 10.0.15
-
Component/s: Storage Engine - InnoDB, Storage Engine - XtraDB
-
Labels:None
Description
The following patch is suggested by Stewart Smith:
Define CACHE_LINE_SIZE in ut0counter.h to 128 on POWER Index: mysql-5.6.17/storage/innobase/include/ut0counter.h =================================================================== --- mysql-5.6.17.orig/storage/innobase/include/ut0counter.h +++ mysql-5.6.17/storage/innobase/include/ut0counter.h @@ -32,7 +32,11 @@ Created 2012/04/12 by Sunny Bains #include "os0thread.h" /** CPU cache line size */ +#ifdef __powerpc__ +#define CACHE_LINE_SIZE 128 +#else #define CACHE_LINE_SIZE 64 +#endif /** Default number of slots to use in ib_counter_t */ #define IB_N_SLOTS 64
Gliffy Diagrams
Attachments
Issue Links
- is part of
-
MDEV-6530 Examine and apply Power8 patches suggested by Stewart Smith
-
- Open
-
- links to
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
We need to double check proper way of determining CPU cache line size. Plus XtraDB had one more source file with CACHE_LINE_SIZE definition/