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

Provide lock free version of write cache #1610

Closed
laa opened this issue Aug 12, 2013 · 1 comment
Closed

Provide lock free version of write cache #1610

laa opened this issue Aug 12, 2013 · 1 comment
Assignees
Milestone

Comments

@laa
Copy link
Member

laa commented Aug 12, 2013

Currently we use lock manager to prevent consistency corruption of write cache, but write groups are pretty small and we can use transactional memory approaches based on CAS to prevent contention between threads and improve CPU cache reuse.

From previous experience we usually get 1.5-2 times performance speed up in such cases.

@laa
Copy link
Member Author

laa commented Aug 27, 2014

We got 4 times speed up on 8 threads on 8 cores. It is good for beginning but later we should improve scalabilty factor to 0.7 IMHO.

@laa laa closed this as completed Aug 27, 2014
@laa laa removed the In Progress label Aug 27, 2014
@lvca lvca added this to the 2.0rc1 milestone Aug 27, 2014
@lvca lvca assigned laa Aug 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants