Find Jobs
Hire Freelancers

Banker's algorith

₹600-1500 INR

Kapalı
İlan edilme: 6 yıldan fazla önce

₹600-1500 INR

Teslimde ödenir
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.
Proje No: 15669038

Proje hakkında

4 teklif
Uzaktan proje
Son aktiviteden bu yana geçen zaman 6 yıl önce

Biraz para mı kazanmak istiyorsunuz?

Freelancer'da teklif vermenin faydaları

Bütçenizi ve zaman çerçevenizi belirleyin
Çalışmanız için ödeme alın
Teklifinizin ana hatlarını belirleyin
Kaydolmak ve işlere teklif vermek ücretsizdir
4 freelancer bu proje için ortalama ₹1.350 INR teklif veriyor
Kullanıcı Avatarı
A proposal has not yet been provided
₹1.550 INR 1 gün içinde
5,0 (3 değerlendirme)
2,5
2,5
Kullanıcı Avatarı
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 2 gün içinde
0,0 (0 değerlendirme)
0,0
0,0
Kullanıcı Avatarı
A proposal has not yet been provided
₹1.300 INR 4 gün içinde
0,0 (0 değerlendirme)
0,0
0,0

Müşteri hakkında

   INDIA bayrağı
Jalandhar, India
0,0
0
Eyl 8, 2015 tarihinden bu yana üye

Müşteri Doğrulaması

Teşekkürler! Ücretsiz kredinizi talep etmeniz için size bir bağlantı gönderdik.
E-postanız gönderilirken bir şeyler yanlış gitti. Lütfen tekrar deneyin.
Kayıtlı Kullanıcı İlan Edlien Toplam İş
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ön izleme yükleniyor
Coğrafik konum için izin verildi.
Giriş oturumunuzun süresi doldu ve çıkış yaptınız. Lütfen tekrar giriş yapın.