simulate a multiprocessor operating system that
utilizes two central processing units (CPU) within a single computer system. Each processor uses a
different scheduling algorithm (one preemptive and another non-preemptive), but both schedule from
a single ready queue. The OS maintains a shared list of integer elements and all processes perform
some task on the shared list of integer elements. The simulation should allow the user the option to
specify how many processes must be used; the minimum is ten (10) and the maximum is thirty (30).
This option must be accepted on the command line before the simulation is started.
Each group can implement the multiprocessor OS in any programming language of choice.
A process can be executing any of the following tasks:
i. Adding a new record to the list
ii. Removing a record from the list
iii. Sort the records in ascending order
iv. Retrieve a record from the list (Search)
v. Calculate the total of all integer elements in the list
Multiple processes can generate the same task.
For tasks i-iii only a single process can access the list of integer elements, whilst tasks iv-v can have
multiple processes accessing the list of integer elements. Adding and removing record has priority
over sort, while sorting has a priority over record retrieval and tallying.
Your system has 200MB in RAM available for user processes and each process takes up 40MB of
memory. The process data structure should have the following characteristics:
1) PID (a unique randomized integer)
2) Task (a randomly select option of the five above)
3) Base Address (location of process while in ready queue)
4) Start time (system time)
5) End time (system time)
6) Attempts (count of tries to lock the list of integer elements)
7) Sleep time (randomized number between 1 to 5 seconds)
The data structure representing the integer element is defined as follows:
i. Value for integer
ii. Key for the integer
16 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön
Hi, I am experienced programmer and have previous experience with this type of tasks. I can implement this scheduling simulation for you. Please let me know if you are interested in cooperation.
I have well experienced in doing such kind of jobs...................................................................and i will do my level best...............................................................
We have gone through the requirements that you have mentioned and we will help you in this. Message us for further discussion. Feel Free to contact us. Thank you!
Hi, I am an experienced firmware engineer with more than 6 years of experience in firmware development. I can code this multiprocessing cpu code for you. Looking forward working with you.