Ring Buffer Queue Size vs Deadlock Rate
by: Mike S (over 10 years ago)



Project #128

1238 Views
Description

Given a shared ring buffer with 1 producer and 5 consumers, alter the size of the shared data queue to try to find a 50% deadlock rate on the consumers.  Each deadlock percentage was found by running a shell script that executes 1 producer and 5 consumers, determines if a deadlock occurred or not, and repeats the process 20 times before receiving an average.

For the University of Massachusetts Lowell 91.308 Operation Systems course.

Data Sets
94d5ae3c826adc7aa99c66cdec0db522
Fa44381715b8dada5616d559d860a184
Fields
Name Units Type
Queue Size
#
Number
Deadlock
%
Number
Formula Fields
Contribute Data
Please log in to contribute data
Media

Ring Buffer Queue Size vs Deadlock Rate

Project #128 on iSENSEProject.org


Description

Given a shared ring buffer with 1 producer and 5 consumers, alter the size of the shared data queue to try to find a 50% deadlock rate on the consumers.  Each deadlock percentage was found by running a shell script that executes 1 producer and 5 consumers, determines if a deadlock occurred or not, and repeats the process 20 times before receiving an average.

For the University of Massachusetts Lowell 91.308 Operation Systems course.


Fields
Name Units Type of Data
Queue Size
#
Number
Deadlock
%
Number

Our Data
Name(s): ______________________________________
Date: _________________________________________

Queue Size Deadlock