Windows13 is an operating system designed to manage processes schedule and theri memory management. It takes as an input a list of all processes and the program simulate how an operating system manage the schedule and memory of these process. The user can choose which algorithm to use in process scheduling and memory management.
- First Come First Serve (FCFS)
- Shortest Job First (SJF)
- Preemptive Highest Priority First (HPF)
- Shortest Remaining Time Next (SRTN)
- Round Robin (RR)
- First Fit
- Next Fit
- Best Fit
- Buddy System Allocation
to run the project, open makefile and set your parameters in line 21 "./abbas processes.txt 1 30 1"
- First parameter represents number of process scheduling algorithm used.
- Second parameter represents the quanta of the Round Robin Algorithm. (if RR is not chosen, put any number. DONOT leave the number)
- Third parameter represents the memory management algorithm used. After setting the parameters, open cmd from project directory and type:
make abbas
Wait untill the simulation end and notice the output:
- scheduler.log: some details about each process. (start time, end time, any stops or continues, waiting time,..etc).
- scheduler.perf: CPU utilization, average waiting time, and average turnaround time.
- memory.log: memory allocation and de-allocating of each process.