• No results found

Comparative Study:

In document Full Print Journal Copy (Page 168-175)

A COMPARATIVE STUDY OF FUZZIFIED CPU SCHEDULING POLICIES IN REAL TIME SYSTEM

Section 3 : Fuzzy triangular and trapezoidal membership function.

4. Comparative Study:

Priority scheduling algorithms, First come First serve (FCFS) and Shortest Job First (SJF) have been implemented and the comparative study is made and in this paper we have discussed the benchmarks among these algorithms and the concluding benchmarks are made on these basis. The results obtained after comparison of these algorithms are shown in the Tables 6-8.The analysis are done for both triangular and trapezoidal membership functions for the defuzzified values of the burst time.

Table 6: Comparison of Average Waiting & Turnaround Time in Triangular Fuzzy Environment Total Processes=12(ASCENDING SORTED CPU BURST)

A Comparative study of Fuzzified CPU Scheduling Policies in Real Time System

-169-

Graph4:Average Turnaround Time for triangular in ascending order

Table 7: Comparison of Average Waiting & Turnaround Time in Triangular Fuzzy Environment Total Processes=12(RANDOM SORTED CPU BURST)

Jaspreet Kaur ,Silky Miglani ,T.P. Singh 

-170-

Graph6:Average Turnaround Time for triangular in random order

Table 8: Comparison of Average Waiting & Turnaround Time in Triangular Fuzzy Environment Total Processes=12(DESCENDING SORTED CPU BURST)

Graph7:Average Waiting Time for triangular in descending order

Graph 8 :Average Turnaround Time for triangular in descending order

A Comparative study of Fuzzified CPU Scheduling Policies in Real Time System

-171-

Total Processes=12(ASCENDING SORTED CPU BURST)

Graph9:Average waiting Time for trapezoidal in ascending order

Graph10:Average Turnaround Time for trapezoidal in ascending order

Table 10: Comparison of Average Waiting & Turnaround Time in Trapezoidal Fuzzy Environment Total Processes=12(RANDOM SORTED CPU BURST)

Jaspreet Kaur ,Silky Miglani ,T.P. Singh 

-172-

Table 11: Comparison of Average Waiting & Turnaround Time in Trapezoidal Fuzzy system

Graph 12:Average waiting Time for trapezoidal in random order

Graph 13:Average Turnaround Time for trapezoidal in random order

Table11:Comparison of Average waiting time and turn around time in trapezoidal fuzzy system Total Processes=12(DESCENDING SORTED CPU BURST)

A Comparative study of Fuzzified CPU Scheduling Policies in Real Time System

-173-

Graph13:Average waiting Time for trapezoidal in descending order

Graph14:Average Turnaround Time for trapezoidal in descending order 5. Result Analysis:

First come First serve(FCFS),SJF,Priority,Round Robin have been calculated for the 12 processes. These scheduling algorithms have been implemented through graphs. The results obtained after comparative study have been presented in tables 6-11 taking variable time quanta for round robin algorithm.The analytical study has been made for both triangular and trapezoidal functions for the defuzzified value of burst time.We have shown the output of different scheduling policies through Bar Diagram.The fuzzy model design for comparative study of CPU Scheduling policies has also been depicted through Bar Diagram.

6. Conclusion and Further Scope

The analytical study for various policies through Bar graph shows that the average waiting time as well as average turnaround time of scheduling policies from FCFS, SJF, Priority and Round Robin gradually increases as depicted . It is because FCFS algorithm depends upon the order of the Burst Time of Processes lined up in a Queue. This further applies that if special hardware is attached to the CPU to sort the process in order of their Burst time

Jaspreet Kaur ,Silky Miglani ,T.P. Singh 

-174-

whether in ascending order, descending order or random selection, the SJF policy gives almost a constant value of average waiting time and turnaround time in both triangular and trapezoidal cases which is minimum than other policies. It also maximize the CPU throughput. We conclude that SJF is best policy while Round Robin takes more time than other policies.

The work can be extended by taking multi processor on dividing the ready Queue into parts.Further work can be done by considering time quanta in Fuzzy logics.

References:

1. Johnson S.M. [1954],”Optimal two-and three-stage production schedules with setup times included”, Naval

Research Logistics Quaterly 1,pp(61-68).

2. Zadah L.A. [1965],”Fuzzy sets and Systems”, System theory Brooklyn N.Y.pp(29-37).

3. C.L Liu and J.Layland [1973] “Scheduling algorithm for multiprogramming in a real-time

enviroment”,J.Amer. Compt.Mach.Vol.20 No. 1, pp 4M1.

4. Chen S.H & Hseih, C.J [1999],”Graded Mean Integration Representation of Generalized Fuzzy Numbers”,

Journal of Chinese Fuzzy System,Vol.5(2),pp 1-7.

5. Yashuwanth. C, Dr. R. Ramesh, [2010]”Design Of Real Time scheduler simulator and development of

modified Round Robin architecture”, IJCSNS International Journal Of Computer Science and Network Security,VOL.10 NO.3.

6. Garg, Rajesh Kumar & Singh, Vikram, [2010]”Simulator for performance evaluation of process scheduling

policies for embedded real-time operating systems”, AryaBhatta Journal of Mathematics & Informatics VOL.2,No.2.

7. Raheja Supriya et al[2012]” An Optimal time quantum using linguistic synthesis for Round-Robin CPU

Scheduling algorithm”,International Journal on soft computing (IJSC) VOL.3,No.1,February 2012.

8. Mehdi Nishat et al [2012]” The new method of adaptive CPU Scheduling using Fonseca and Fleming’s

genetic algorithm”, Journal of Theoretical and Applied Information Technology 2012. VOL.37, No.1.

9. Singh T.P, Meenu Mittal and D.Gupta [2013],”A Heuristic algorithm for general weightage job scheduling

under uncertain environment including transportation time ”,Aryabhatta Journal of Mathematics & Informatics VOL. 5 No. 2,pp 381-388.

10. Sachin, Silky and Singh T. P.[2014]”Comparative study of CPU Scheduling Algorithms for Real-Time

Operating System in Uncertainity”,Aryabhatta Journal of Mathematics & Information Vol.6 No. 1,pp 149- 158.

-175-

Aryabhatta Journal of Mathematics & Informatics Vol. 7, No. 1, Jan-June, 2015 ISSN : 0975-7139

Scientific Journal Impact Factor SJIF (2014) : 4.1

RELIABILITY AND PROFIT ANALYSIS OF A WATER PROCESS

In document Full Print Journal Copy (Page 168-175)