[SERVER-24219] Make AlignedLockStats alignment respect platform specific cache lines Created: 19/May/16 Updated: 06/Dec/17 Resolved: 29/Jun/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Portability |
| Affects Version/s: | 3.3.6 |
| Fix Version/s: | 3.5.10 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mark Benvenuto | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | platforms-re-triaged | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Platforms 2017-07-10 | ||||||||
| Participants: | |||||||||
| Description |
|
Cache line sizes vary by platform, and specific processors.
For PowerPC64, I am considering POWER8 instead of older processors. An case where we try to align to cache line size: https://github.com/mongodb/mongo/blob/master/src/mongo/db/concurrency/lock_state.cpp#L90 |
| Comments |
| Comment by Githook User [ 29/Jun/17 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}Message: |