Monday, February 10, 2020

Found a bug for Multilevel Queue (Preemptive)

( STATUS UPDATE - 11 Feb 2020 : This bug has been fixed. Will be included for the next release, Beta 1.2)


I just found a bug in version 1.1 for Multilevel Queue (Preemptive).

The following test data and options produced the incorrect result for the algorithm.

Process details (data file 'test.csv'):

process id, burst time, arrival at, priority no., start at, waiting time, completion at,turnaraound time
A,11,15,0,-1,-1,-1,-1
B,1,1,1,-1,-1,-1,-1
C,11,0,1,-1,-1,-1,-1
D,1,19,0,-1,-1,-1,-1
E,20,10,1,-1,-1,-1,-1


Set the options for Multilevel Queue

Range by : Priority no.

Level 1 : Round-Robin, min: 0 max: 0 quantum:10
Level 2 : SJF,  min: 1 max: 1
Level 3 : FCFS,  min: 2 max: 2


Simulation will produce the results of this bug (the turnaround time are incorrect.)
Still fixing it.




No comments:

Post a Comment

Announcing the release of ALExSim-USAS version 1.0 (full version)

This is the announcement for the release of the new version of ALExSIM (USAS) ver 1.0 (full version) The release can be downloaded from ...