| Literature DB >> 27652120 |
Muhammad Arif Butt1, Muhammad Akram2.
Abstract
We present a new intuitionistic fuzzy rule-based decision-making system based on intuitionistic fuzzy sets for a process scheduler of a batch operating system. Our proposed intuitionistic fuzzy scheduling algorithm, inputs the nice value and burst time of all available processes in the ready queue, intuitionistically fuzzify the input values, triggers appropriate rules of our intuitionistic fuzzy inference engine and finally calculates the dynamic priority (dp) of all the processes in the ready queue. Once the dp of every process is calculated the ready queue is sorted in decreasing order of dp of every process. The process with maximum dp value is sent to the central processing unit for execution. Finally, we show complete working of our algorithm on two different data sets and give comparisons with some standard non-preemptive process schedulers.Entities:
Keywords: CPU scheduler; Defuzzification; Fuzzy sets; Intuitionistic fuzzy logic; Intuitionistic fuzzy logic controller; Operating system; Scheduling algorithms
Year: 2016 PMID: 27652120 PMCID: PMC5020040 DOI: 10.1186/s40064-016-3216-z
Source DB: PubMed Journal: Springerplus ISSN: 2193-1801
Fig. 1IFDMS for process scheduler
Fig. 2MF for burst time
Fig. 3NMF for burst time
Fig. 4MF for nice value
Fig. 5NMF for nice value
Fig. 6MF for dynamic priority
Fig. 7NMF for dynamic priority
Results: data set-1
| Algorithm | Average waiting time |
|---|---|
| Shortest job first | 6 |
| Priority based | 6 |
| IF scheduler | 6 |
Data set-2
| PID | BT | NV |
|---|---|---|
| P1 | 20 | 5 |
| P2 | 4 | 31 |
| P3 | 18 | 7 |
| P4 | 6 | 25 |
Data set-1
| PID | BT | NV |
|---|---|---|
| P1 | 3 | 2 |
| P2 | 6 | 7 |
| P3 | 4 | 5 |
| P4 | 5 | 6 |
| P5 | 2 | 1 |
P1: Defuzzification of very high dp using TS formula (data set 1)
| x |
|
|
|
|
|
|
|
|---|---|---|---|---|---|---|---|
| 22 | 0 | 0.3 | 0.7 | 0 | 0 | 0 | 0 |
| 23 | 0 | 0.3 | 0.7 | 0 | 0 | 0 | 0 |
| 24 | 0.2 | 0.3 | 0.5 | 0.1 | 0.1 | 0.2 | 4.8 |
| 25 | 0.4 | 0.3 | 0.3 | 0.28 | 0.12 | 0.4 | 10 |
| 26 | 0.6 | 0.3 | 0.1 | 0.54 | 0.06 | 0.6 | 15.6 |
| 27 | 0.625 | 0.166 | 0.208 | 0.495 | 0.130 | 0.625 | 16.87 |
| 28 | 0.625 | 0 | 0.375 | 0.391 | 0.234 | 0.625 | 17.5 |
| 2.45 | 64.775 |
P2: Defuzzification of very high dp using TS formula (data set 1)
| x |
|
|
|
|
|
|
|
|---|---|---|---|---|---|---|---|
| 22 | 0 | 0.6 | 0.4 | 0 | 0 | 0 | 0 |
| 23 | 0 | 0.6 | 0.4 | 0 | 0 | 0 | 0 |
| 24 | 0.2 | 0.6 | 0.2 | 0.16 | 0.04 | 0.2 | 4.8 |
| 25 | 0.25 | 0.5 | 0.25 | 0.187 | 0.0625 | 0.25 | 6.25 |
| 26 | 0.25 | 0.333 | 0.416 | 0.415 | 0.104 | 0.25 | 6.5 |
| 27 | 0.25 | 0.166 | 0.583 | 0.104 | 0.146 | 0.25 | 6.75 |
| 28 | 0.25 | 0 | 0.75 | 0.062 | 0.187 | 0.25 | 7 |
| 1.2 | 31.3 |
P2: Defuzzification of high dp using TS formula (data set 1)
| x |
|
|
|
|
|
|
|
|---|---|---|---|---|---|---|---|
| 22 | 0 | 0.6 | 0.4 | 0 | 0 | 0 | 0 |
| 23 | 0 | 0.6 | 0.4 | 0 | 0 | 0 | 0 |
| 24 | 0.2 | 0.6 | 0.2 | 0.16 | 0.04 | 0.2 | 4.8 |
| 25 | 0.25 | 0.5 | 0.25 | 0.187 | 0.0625 | 0.25 | 6.25 |
| 26 | 0.25 | 0.333 | 0.416 | 0.415 | 0.104 | 0.25 | 6.5 |
| 27 | 0.25 | 0.166 | 0.583 | 0.104 | 0.146 | 0.25 | 6.75 |
| 28 | 0.25 | 0 | 0.75 | 0.062 | 0.187 | 0.25 | 7 |
| 1.2 | 31.3 |
P2: Defuzzification of average dp using TS formula (data set 1)
| x |
|
|
|
|
|
|
|
|---|---|---|---|---|---|---|---|
| 22 | 0 | 0.6 | 0.4 | 0 | 0 | 0 | 0 |
| 23 | 0 | 0.6 | 0.4 | 0 | 0 | 0 | 0 |
| 24 | 0.2 | 0.6 | 0.2 | 0.16 | 0.04 | 0.2 | 4.8 |
| 25 | 0.25 | 0.5 | 0.25 | 0.187 | 0.0625 | 0.25 | 6.25 |
| 26 | 0.25 | 0.333 | 0.416 | 0.415 | 0.104 | 0.25 | 6.5 |
| 27 | 0.25 | 0.166 | 0.583 | 0.104 | 0.146 | 0.25 | 6.75 |
| 28 | 0.25 | 0 | 0.75 | 0.062 | 0.187 | 0.25 | 7 |
| 1.2 | 31.3 |
P2: Defuzzification of average dp using TS formula (data set 1)
| x |
|
|
|
|
|
|
|
|---|---|---|---|---|---|---|---|
| 22 | 0 | 0.6 | 0.4 | 0 | 0 | 0 | 0 |
| 23 | 0 | 0.6 | 0.4 | 0 | 0 | 0 | 0 |
| 24 | 0.2 | 0.6 | 0.2 | 0.16 | 0.04 | 0.2 | 4.8 |
| 25 | 0.25 | 0.5 | 0.25 | 0.187 | 0.0625 | 0.25 | 6.25 |
| 26 | 0.25 | 0.333 | 0.416 | 0.415 | 0.104 | 0.25 | 6.5 |
| 27 | 0.25 | 0.166 | 0.583 | 0.104 | 0.146 | 0.25 | 6.75 |
| 28 | 0.25 | 0 | 0.75 | 0.062 | 0.187 | 0.25 | 7 |
| 1.2 | 31.3 |
Results: data set-2
| Algorithm | Average waiting time |
|---|---|
| Shortest job first | 10.5 |
| Priority based | 25.5 |
| IF scheduler | 10.5 |