Find Jobs
Hire Freelancers

Banker's algorith

₹600-1500 INR

Geschlossen
Veröffentlicht vor mehr als 6 Jahren

₹600-1500 INR

Bezahlt bei Lieferung
In this assignment, you implement a multi-threaded program to simulate the Banker's Algorithm (pseudo code in Textbook). There are 10 threads in the system with a maximum possible requests for a common resource. Each thread keeps requests some random number of resources (between 1 to maximum) from the system. A thread sleeps some time between requests to simulate the execution of tasks after acquiring all the necessary resources. Use Banker's Algorithm to make sure the system is always in safe state. Parameters: MAX units: the total number of unit is 8. MAX claims: each thread can request up to 6 units of the resource. Report: you should write a 2-3 page report that includes The basic structure of your program Some curves for the performance of the program. For example, relationship between throughput (#jobs completed) and sleeping time, relationship between throughput (#jobs completed) over time, etc. Justification of your results. Submission: Should zip everything into one file, including source code, report, and README README should detail operating system, version of C++ or thread library, comand to compile/run your program. BONUS: 10% for including 2 resources in the system or 15% for including 5 resources in the system 10% for implementing Lock Ordering with 5 resources.
Projekt-ID: 15669038

Über das Projekt

4 Vorschläge
Remote Projekt
Aktiv vor 6 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
4 Freelancer bieten im Durchschnitt ₹1.350 INR für diesen Auftrag
Avatar des Nutzers
A proposal has not yet been provided
₹1.550 INR in 1 Tag
5,0 (3 Bewertungen)
2,5
2,5
Avatar des Nutzers
I remember performing the bankers algorithm by hand in university. I never got to program it but would enjoy the chance to. I will write a generic program that can scale to an arbitrary number of resources and threads. It will be able to read in the resource configuration from a file and record the results it produces.
₹1.250 INR in 2 Tagen
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
A proposal has not yet been provided
₹1.300 INR in 4 Tagen
0,0 (0 Bewertungen)
0,0
0,0

Über den Kunden

Flagge von INDIA
Jalandhar, India
0,0
0
Mitglied seit Sept. 8, 2015

Kundenüberprüfung

Andere Aufträge von diesem Kunden

C program of the below problem
₹600-1500 INR
Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.