Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scan multi-threaded code for false sharing #6

Open
MarcusKlik opened this issue Mar 20, 2018 · 0 comments
Open

Scan multi-threaded code for false sharing #6

MarcusKlik opened this issue Mar 20, 2018 · 0 comments
Assignees
Milestone

Comments

@MarcusKlik
Copy link
Collaborator

See for example here. To lower memory requirements, fstlib allocates larger blocks of memory that are written to by several threads. In such cases, cache line pollution must be avoided.

A solution is to make sure each sub-block has a size that is a multiple of the cache line size (64 bytes on most modern Intel processors).

@MarcusKlik MarcusKlik self-assigned this Mar 20, 2018
@MarcusKlik MarcusKlik added this to the v0.8.6 milestone Mar 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant