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

Lock Performance #44

Open
twood02 opened this issue Feb 2, 2015 · 3 comments
Open

Lock Performance #44

twood02 opened this issue Feb 2, 2015 · 3 comments

Comments

@twood02
Copy link
Member

twood02 commented Feb 2, 2015

Write a program that measures the performance cost of using locks. Measure the overhead of calling lock and unlock depending on the level of contention (i.e., the number of threads) in the system. You will need a finer grained timing system than gettimeofday.

@wenhuizhang
Copy link
Member

Prof. do you mind if assign this issue to us ?
@huyang1988 @pradeep-k @wenhuizhang

@wenhuizhang
Copy link
Member

Prof. Tim, it is interesting that the time overhead per thread changes with the num_threads, yet the time is counting only the overhead of calling mutex, which should be about the same regardless of num_threads, do you mind if explain why this happened ? and the same thing happened to output of issue #48 as well.

@wenhuizhang
Copy link
Member

Just updated, pls check out

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

2 participants