Skip to content

Comparing the performance of three different approaches of implementation of n-thread mutual exclusion by using tournament-based algorithm, test-and-set instruction and test-test-and-set instruction

License

Notifications You must be signed in to change notification settings

lsmgeb89/mutual_exclusion

Repository files navigation

Mutual Exclusion

Summary

  • Implemented n-thread mutual exclusion by using three different approaches: a tournament-based algorithm, test-and-set instruction and test-test-and-set instruction
  • Implemented a simple model (n thread concurrently adding a shared counter) to test correctness and performance of three implementations with various test input parameters
  • Compared the averaged performance of the three implementations as a function of number of threads (varied from one to the number of logical cores in the machine)

Project Information

  • Course: Introduction to Multicore Programming (CS 6301)
  • Professor: Neeraj Mittal
  • Semester: Fall 2016
  • Programming Language: C++
  • Build Tool: CMake

About

Comparing the performance of three different approaches of implementation of n-thread mutual exclusion by using tournament-based algorithm, test-and-set instruction and test-test-and-set instruction

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published