[MDEV-6533] MySQL Bug#72718 - CACHE_LINE_SIZE in innodb should be 128 on POWER Created: 2014-08-05 Updated: 2016-04-01 Resolved: 2014-10-03 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB, Storage Engine - XtraDB |
| Fix Version/s: | 10.0.15 |
| Type: | Task | Priority: | Major |
| Reporter: | Sergey Vojtovich | Assignee: | Sergey Vojtovich |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
The following patch is suggested by Stewart Smith:
|
| Comments |
| Comment by Sergey Vojtovich [ 2014-08-05 ] | |||||||||||
|
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/ | |||||||||||
| Comment by Michael Widenius [ 2014-08-05 ] | |||||||||||
|
ok to push for now | |||||||||||
| Comment by Michael Widenius [ 2014-08-05 ] | |||||||||||
|
ok to push after comment change | |||||||||||
| Comment by Sergey Vojtovich [ 2014-08-28 ] | |||||||||||
|
Adjusting cache line size is the right thing in theory. But in practice we didn't see any noteworthy throughput increase with this patch. We'll get back to this patch when we have proof that smaller cache line size negatively affects performance. | |||||||||||
| Comment by Sergey Vojtovich [ 2014-10-03 ] | |||||||||||
|
Axel reported that this patch gives ~5% throughput increase @ 20cores. | |||||||||||
| Comment by Sergey Vojtovich [ 2014-10-03 ] | |||||||||||
|
| |||||||||||
| Comment by Daniel Black [ 2016-01-12 ] | |||||||||||
|
similar: https://github.com/mysql/mysql-server/pull/37 for aarch64 too |