SlideShare ist ein Scribd-Unternehmen logo
1 von 7
Downloaden Sie, um offline zu lesen
International Journal of Modern Engineering Research (IJMER)
              www.ijmer.com         Vol.2, Issue.6, Nov-Dec. 2012 pp-4484-4490       ISSN: 2249-6645

     A Novel CPU Scheduling Algorithm–Preemptive & Non-Preemptive
                    Sukumar Babu Bandarupalli1, Neelima Priyanka Nutulapati2,
                                  Prof. Dr. P.Suresh Varma3
                       1
                           (Computer Science & Engg, Vijaya Institute of Technology for Women, India)
                                    2
                                      (MCA & CSE Dept, SRK Institute of Technology, India)
                                3
                                  (Computer Science & Dean, Adikavi Nannaya University, India

ABSTRACT: The main objective of this paper is to introduce a new CPU algorithm called A Novel CPU Scheduling
Algorithm which acts as both preemptive and non-preemptive based on the arrival time. The prosed algorithm helps to
improve the CPU efficiency in real time uni-processor-multi programming operating system. CPU Scheduling is the basis of
multi-programmed operating system. The scheduler is responsible for multiplexing processes on the CPU. There are many
scheduling algorithms available for a multi-programmed operating system like FCFS, SJF, Priority, Round Robin etc. In
this paper, the results of the existing algorithms (FCFS, SJF, Priority and Round Robin) are compared with the proposed
algorithm.

Keyword: Operating System, uni-processor, uni programming, multi-programming, Resource utilization, Scheduling,
FCFS, SJF, Priority, Round Robin, ERR etc.

                                                   I. INTRODUCTION
         Operating system performs variety of tasks in which scheduling is one of the basic task. Scheduling is heart of any
computer system since it contains decision of giving resources between possible processes. Sharing of computer resources
between multiple processes is also called scheduling [1]. Process is a smallest work unit of a program which requires a set of
resources for its execution that are allocated to it by the CPU. These processes are many in number and keep coming in a
particular fashion, different scheduling techniques are employed that enable faster and efficient process execution thereby
reducing the waiting time faced by each process and increasing CPU utilization. A process has five basic states namely
NEW, Ready, Running, Waiting and Terminate [1] [2].
         Throughout its lifetime a process migrates between various scheduling queues by different schedulers until it gets
terminated. These queues mainly contain the ready queue which contains set of processes ready for CPU response. The
second queue is the device or the I/O queue which contains all the processes that are waiting for I/O response [1]. The
operating system must select processes for scheduling from these queues in a specific manner. This selection process using a
particular scheduling technique is carried out by schedulers. Schedulers in general try to maximize the average performance
of a system according to the given criterion [3]. Scheduling algorithms are broadly classified into preemptive and non-
preemptive scheduling disciplines.
         The algorithm proposed in this article is both preemptive and non-preemptive in nature and attempts to give fair
CPU execution time by focusing on average waiting time and turnaround time of a process.
         This article comprises of the following sections: Section 2 presents scheduling parameters, which will decide
against which parameters the new CPU algorithm will be tested. Section 3 introduces existing scheduling algorithms.
Section 4 explains the proposed Algorithm – A Novel CPU Scheduling algorithm. Section 5 contains pseudo code of the
proposed algorithm. Section 6 explains the two basic elements that make up the simulation and provide an interactive user
interface. Section 7 presents a graphical comparison of the new algorithm with existing algorithms. Section 8 will provide
conclusion of the work.

                                           II. SCHEDULING PARAMETERS
         THERE ARE DIFFERENT SCHEDULING ALGORITHMS WITH DIFFERENT CHARACTERISTICS WHICH DECIDE SELECTION OF
PROCESS USING DIFFERENT CRITERIA FOR EXECUTION BY CPU. THE CRITERIA FOR A GOOD SCHEDULING ALGORITHM DEPEND,
AMONG OTHERS, ON THE FOLLOWING MEASURES [1].
A. CPU Utilization: It is the average fraction of time, during which the processor is busy [2, 4].
B. Throughput: It refers to the amount of work completed in a unit of time. The number of processes the system can
    execute in a period of time. The higher the number, the more work is done by the system [4].
C. Waiting Time: The average period of time a process spends waiting. Waiting time may be expressed as turnaround time
    less the actual execution time [4].
D. Turnaround time: The interval from the time of submission of a process to the time of completion is the turnaround
    time [4].
E. Response time: Response time is the time from submission of a request until the first response is produced [4].
F. Priority: give preferential treatment to processes with higher priorities [4].
G. Fairness: Avoid the process from starvation. All the processes must be given equal opportunity to execute [4].




                                                          www.ijmer.com                                           4484 | Page
International Journal of Modern Engineering Research (IJMER)
               www.ijmer.com         Vol.2, Issue.6, Nov-Dec. 2012 pp-4484-4490       ISSN: 2249-6645
                    III. OVERVIEW OF EXISTING CPU SCHEDULING ALGORITHMS.

A. FIRST COME FIRST SERVED (FCFS) Scheduling.
          It is the simplest CPU Scheduling algorithm. The criteria of this algorithm is „the process that requests first, holds
the CPU first‟ or which process enter the ready queue first is served first [3]. The workload is processed in the order of
arrival time, with no preemption [2]. Once a process has been submitted to the CPU, it runs into completion without being
interrupted. Such a technique is fair in the case of smaller processes but is quite unfair for long an unimportant job [5]. Since
FCFS does not involve context switching therefore it has minimal overhead. It has low throughput since long processes can
keep processor occupied for a long time making small processes suffer. As a result waiting time, turnaround time and
response time can be low [6].

B. Shortest Job First (SJF) Scheduling.
          The criteria of this algorithm are which process having the smallest CPU burst, CPU is assigned to that process
next. If two process having the same CPU burst time FCFS is used to break up the tie [3]. SJF can be worked as preemptive
and non–preemptive in nature based on the arrival time and burst time of the processes. SJF reduces average waiting time of
the processes as compared to FCFS. SJF favors shorter processes over longer ones which is an overhead as compared to
FCFS. It selects the job with the smallest burst time ensuing CPU availability for other processes as soon as the current
process reaches its completion. This prevents smaller processes from suffering behind larger processes in the ready queue for
a longer time [5] [7].

C. Priority Based Scheduling.
          In this algorithm, priority is associated with each process and on the basis of that priority CPU is allocated to the
processes. Higher priority processes are executed first and lower priority processes are executed at the end. If multiple
processes having the same priorities are ready to execute, control of CPU is assigned to these processes on the basis of FCFS
[1]. Priority Scheduling can be preemptive and non-preemptive in nature.

D. Round Robin (RR) Scheduling.
          It is a preemptive scheduling algorithm. It is designed especially for time sharing systems. In this algorithm, a small
unit of time called time quantum or time slice is assigned to each process [2]. When the time quantum expired, the CPU is
switched to another process. Performance of Round Robin totally depends on the size of the time quantum.

                           IV. PROPOSED WORK: NOVEL CPU SCHEDULING ALGORITHM
         The proposed algorithm A Novel CPU Scheduling algorithm is both preemptive and non-preemptive in nature. In
this algorithm a new factor called condition factor (F) is calculated by the addition of burst time and arrival time ie., F =
Burst Time + Arrival Time.
         This factor f is assigned to each process and on the basis of this factor process are arranged in ascending order in the
ready queue. Process having shortest condition factor (F) are executed first and process with next shortest factor (F) value is
executed next. By considering the arrival time the new algorithms acts as preemptive or non-preemptive.
         Proposed CPU scheduling algorithm reduces waiting time, turnaround time and response time and also increases
CPU utilization and throughput.

The working procedure of A Novel Preemptive Scheduling of Preemptive and Non Preemptive algorithm is as given below:
 Take the list of processes, their burst time and arrival time.
 Find the condition factor F by adding arrival time and burst time of processes.
 First arrange the processes, burst time, condition factor based on arrival time ascending order.
 Iterate step a, b until burst time becomes zero.
a. If arrival time of first and second process are equal the arrange them based on their condition factor f.
b. Decrement the burst time and increment arrival time by 1
 When burst time becomes find the waiting time and turnaround time of that process.
 Average waiting time is calculated by dividing total waiting time with total number of processes.
 Average turnaround time is calculated by dividing total turnaround time by total number of processes.

                                                    V. PSEUDO CODE
Initialization variables
 Burst time[n]  0
 Arrival time[n]  0
Numprocess[n]  0
Factor[i]  0
Turn[n]  0
Wait[n]  0
Temp  0
Current time  0
Wait time=0
                                                           www.ijmer.com                                             4485 | Page
International Journal of Modern Engineering Research (IJMER)
               www.ijmer.com         Vol.2, Issue.6, Nov-Dec. 2012 pp-4484-4490       ISSN: 2249-6645
Turn time=0
Avgwaititme=0.0
Avgturntime=0.0
Read burst time[n] and arrival time[n]
Compute factor[i] <- bursstime[i] + arrival time[i]

a. Pseudo code for Non Preemptive
Arrange the elements in ascending order based on condition factor
For i 0 to n-1
 For j  I to n
 If factor[i] > factor[j]
   Temp  burst time[i]
   Burst time[i]  burst time[j]
   Burst time[j]  temp
  Temp  arrival time[i]
  Arrival time[i]  arrival time[j]
  Arrival time[j]  temp
  Temp  factor[i]
  Factor[i]  factor[j]
  Factor[j]  temp
End for
For i 0 to n
Begin
          Wait[i]=wait[i]+burst time[i]
     Turn[i]=wait[i]+btime[i]
     Wait time = wartime + wait[i]
     turn time = turn time + turn[i]
End
Avgwaittime = wait time/n
Avgturntime = turn time/n

b. Pseudo code for Preemptive
Arrange the elements in ascending order based on arrival time
For i 0 to n-1
  For j  I to n
  If factor[i] > factor[j]
    Temp  burst time[i]
    Burst time[i]  burst time[j]
    Burst time[j]  temp
   Temp  arrival time[i]
   Arrival time[i]  arrival time[j]
   Arrival time[j]  temp
   Temp  factor[i]
   Factor[i]  factor[j]
   Factor[j]  temp
End for
For i 0 to n-1
For j  I to n
If atime[i] == atime[j] then sort elements in ascending order based on factor[i] and factor[j]
If burs time! =0 && atime==current time
Begin
 Atime[i] =atime[i]+1
 Btime[i] =btime[i]-1
  Current time++
  If btime[i]==0
   turn time=current time
End
For i 0 to n
Begin
           Wait [i]=turn[i]-btime[i]-atime[i]
      turn [i]=turn[i]+atime[i]
      Wait time = wartime + wait[i]
      Turn time = turn time + turn[i]
                                                           www.ijmer.com                                4486 | Page
International Journal of Modern Engineering Research (IJMER)
               www.ijmer.com         Vol.2, Issue.6, Nov-Dec. 2012 pp-4484-4490       ISSN: 2249-6645
End
Avgwaittime = wait time/n
Avgturntime = turn time/n

                                               VI. SIMULATION DESIGN
         The simulation provides an interactive GUI interface to the user through which a user can input data related to
    different processes then applying different algorithms based on the algorithm choices given in the simulator. The
    simulator employs JAVA swings.
         The front end user interfaces are designed using java awt‟s and swings. The parent screen i.e., screen1 allows the
    user to enter number of processes to be in execution.




Screen 2 allows the user to enter the details of the processes burst time, arrival time and priority.




Screen 3 shows that a user can compare any two algorithms of his choice or he can compare all the scheduling algorithms.




                                                            www.ijmer.com                                      4487 | Page
International Journal of Modern Engineering Research (IJMER)
              www.ijmer.com         Vol.2, Issue.6, Nov-Dec. 2012 pp-4484-4490       ISSN: 2249-6645
Screen 4 shows the Graphical Comparison of all the algorithms




Screen 5 shows the non-graphical comparison of all the algorithms




        VII. COMPARISON OF PROPOSED ALGORITHM WITH OTHER CPU SCHEDULING
                                    ALGORITHMS.
         To compare the performance of the proposed scheduling algorithm it was implemented and compared with the
existing scheduling algorithm. GUI and CUI figures, shows the comparison between the proposed algorithm with existing
algorithms.

Example 2: Screen 6 takes different processes burst time and arrival time and priority values




                                                         www.ijmer.com                                    4488 | Page
International Journal of Modern Engineering Research (IJMER)
              www.ijmer.com         Vol.2, Issue.6, Nov-Dec. 2012 pp-4484-4490       ISSN: 2249-6645
 Screen 7 shows the graphical representation of example 2




Screen 8 shows the non-graphical representation of example 2




Example 3: Screen 9 takes different processes burst time and arrival time and priority values




Screen 10 shows the graphical representation of example3




                                                         www.ijmer.com                                 4489 | Page
International Journal of Modern Engineering Research (IJMER)
               www.ijmer.com         Vol.2, Issue.6, Nov-Dec. 2012 pp-4484-4490       ISSN: 2249-6645
Screen 11 shows the non-graphical representation of example3




                                                  VIII. CONCLUSION
         The paper presents a new CPU scheduling algorithm called A Novel Pre-emptive and Non Pre-emptive CPU
Scheduling Algorithm. Paper also contains simulation interface and its working, which interactively takes input from the
user and compares the process set against different algorithm pairs. The result of the simulation for different process sets
using different scheduling algorithms has been presented graphically in this piece of work. The last half of the paper
provides analytical result with each set of graph. From the above graphs and results from example 1, 2 and 3, it is clear that
proposed algorithm is more efficient than FCFS, Pre-emptive Priority and Non Pre-emptive Priority, Round Robin. And also
observed that proposed algorithm gives almost equal performance like a SJF Pre-emptive and Non Pre-emptive algorithm


                                                      REFERENCES
[1]   Abraham Silberschatz, Peter Baer Galvin, Greg Gagne, “Operating System Concepts”, Sixth Edition.
[2]   Milan Milenkovic, “Operating Systems Concepts and Design”, McGRAM-HILL, Computer Science Series, second edition.
[3]   P. Balakrishna Prasad, “Operating Systems” Second Edition.
[4]   A. Dhore “Opeating Systems”, Technical Publications.
[5]   M. Dietel, “Operating Systems”, Pearson Education, Second Edition.
[6]   http://en.wikipedia.org/wiki/Scheduling
[7]   M Gary Nutt, “Operating systems – A Modern Perspective, Second Edition, Pearson Education, 2000.




                                                          www.ijmer.com                                           4490 | Page

Weitere ähnliche Inhalte

Was ist angesagt?

COMPARATIVE ANALYSIS OF FCFS, SJN & RR JOB SCHEDULING ALGORITHMS
COMPARATIVE ANALYSIS OF FCFS, SJN & RR JOB SCHEDULING ALGORITHMSCOMPARATIVE ANALYSIS OF FCFS, SJN & RR JOB SCHEDULING ALGORITHMS
COMPARATIVE ANALYSIS OF FCFS, SJN & RR JOB SCHEDULING ALGORITHMSijcsit
 
An improved approach to minimize context switching in round robin scheduling ...
An improved approach to minimize context switching in round robin scheduling ...An improved approach to minimize context switching in round robin scheduling ...
An improved approach to minimize context switching in round robin scheduling ...eSAT Publishing House
 
Survey of Real Time Scheduling Algorithms
Survey of Real Time Scheduling AlgorithmsSurvey of Real Time Scheduling Algorithms
Survey of Real Time Scheduling AlgorithmsIOSR Journals
 
Processor management
Processor managementProcessor management
Processor managementdev3993
 
Windows process scheduling presentation
Windows process scheduling presentationWindows process scheduling presentation
Windows process scheduling presentationTalha Shaikh
 
Learning scheduler parameters for adaptive preemption
Learning scheduler parameters for adaptive preemptionLearning scheduler parameters for adaptive preemption
Learning scheduler parameters for adaptive preemptioncsandit
 
Windows process-scheduling
Windows process-schedulingWindows process-scheduling
Windows process-schedulingTalha Shaikh
 
Process concept
Process conceptProcess concept
Process conceptjangezkhan
 
OS - Process Concepts
OS - Process ConceptsOS - Process Concepts
OS - Process ConceptsMukesh Chinta
 
Operating system 28 fundamental of scheduling
Operating system 28 fundamental of schedulingOperating system 28 fundamental of scheduling
Operating system 28 fundamental of schedulingVaibhav Khanna
 
PI-Tool To Improve Performance of Application In Multi-core Architecture
PI-Tool To Improve Performance of Application In Multi-core ArchitecturePI-Tool To Improve Performance of Application In Multi-core Architecture
PI-Tool To Improve Performance of Application In Multi-core ArchitectureCSCJournals
 
MULTILEVEL QUEUE SCHEDULING
MULTILEVEL QUEUE SCHEDULINGMULTILEVEL QUEUE SCHEDULING
MULTILEVEL QUEUE SCHEDULINGgarishma bhatia
 
SCHEDULING DIFFERENT CUSTOMER ACTIVITIES WITH SENSING DEVICE
SCHEDULING DIFFERENT CUSTOMER ACTIVITIES WITH SENSING DEVICESCHEDULING DIFFERENT CUSTOMER ACTIVITIES WITH SENSING DEVICE
SCHEDULING DIFFERENT CUSTOMER ACTIVITIES WITH SENSING DEVICEijait
 
Process in operating system
Process in operating systemProcess in operating system
Process in operating systemChetan Mahawar
 
Optimizing Linux Kernel for Real-time Performance On Multi-Core Architecture
Optimizing Linux Kernel for Real-time Performance On Multi-Core ArchitectureOptimizing Linux Kernel for Real-time Performance On Multi-Core Architecture
Optimizing Linux Kernel for Real-time Performance On Multi-Core ArchitectureCSCJournals
 

Was ist angesagt? (17)

Process scheduling
Process schedulingProcess scheduling
Process scheduling
 
COMPARATIVE ANALYSIS OF FCFS, SJN & RR JOB SCHEDULING ALGORITHMS
COMPARATIVE ANALYSIS OF FCFS, SJN & RR JOB SCHEDULING ALGORITHMSCOMPARATIVE ANALYSIS OF FCFS, SJN & RR JOB SCHEDULING ALGORITHMS
COMPARATIVE ANALYSIS OF FCFS, SJN & RR JOB SCHEDULING ALGORITHMS
 
An improved approach to minimize context switching in round robin scheduling ...
An improved approach to minimize context switching in round robin scheduling ...An improved approach to minimize context switching in round robin scheduling ...
An improved approach to minimize context switching in round robin scheduling ...
 
Survey of Real Time Scheduling Algorithms
Survey of Real Time Scheduling AlgorithmsSurvey of Real Time Scheduling Algorithms
Survey of Real Time Scheduling Algorithms
 
Processor management
Processor managementProcessor management
Processor management
 
142 144
142 144142 144
142 144
 
Windows process scheduling presentation
Windows process scheduling presentationWindows process scheduling presentation
Windows process scheduling presentation
 
Learning scheduler parameters for adaptive preemption
Learning scheduler parameters for adaptive preemptionLearning scheduler parameters for adaptive preemption
Learning scheduler parameters for adaptive preemption
 
Windows process-scheduling
Windows process-schedulingWindows process-scheduling
Windows process-scheduling
 
Process concept
Process conceptProcess concept
Process concept
 
OS - Process Concepts
OS - Process ConceptsOS - Process Concepts
OS - Process Concepts
 
Operating system 28 fundamental of scheduling
Operating system 28 fundamental of schedulingOperating system 28 fundamental of scheduling
Operating system 28 fundamental of scheduling
 
PI-Tool To Improve Performance of Application In Multi-core Architecture
PI-Tool To Improve Performance of Application In Multi-core ArchitecturePI-Tool To Improve Performance of Application In Multi-core Architecture
PI-Tool To Improve Performance of Application In Multi-core Architecture
 
MULTILEVEL QUEUE SCHEDULING
MULTILEVEL QUEUE SCHEDULINGMULTILEVEL QUEUE SCHEDULING
MULTILEVEL QUEUE SCHEDULING
 
SCHEDULING DIFFERENT CUSTOMER ACTIVITIES WITH SENSING DEVICE
SCHEDULING DIFFERENT CUSTOMER ACTIVITIES WITH SENSING DEVICESCHEDULING DIFFERENT CUSTOMER ACTIVITIES WITH SENSING DEVICE
SCHEDULING DIFFERENT CUSTOMER ACTIVITIES WITH SENSING DEVICE
 
Process in operating system
Process in operating systemProcess in operating system
Process in operating system
 
Optimizing Linux Kernel for Real-time Performance On Multi-Core Architecture
Optimizing Linux Kernel for Real-time Performance On Multi-Core ArchitectureOptimizing Linux Kernel for Real-time Performance On Multi-Core Architecture
Optimizing Linux Kernel for Real-time Performance On Multi-Core Architecture
 

Andere mochten auch

Java script calc by karan chanana
Java script calc by karan chananaJava script calc by karan chanana
Java script calc by karan chananakarnchanana
 
Ijmer 46060106
Ijmer 46060106Ijmer 46060106
Ijmer 46060106IJMER
 
Marketing ideas for small business
Marketing ideas for small businessMarketing ideas for small business
Marketing ideas for small businessdenise2228
 
Structural Monitoring Of Buildings Using Wireless Sensor Networks
Structural Monitoring Of Buildings Using Wireless Sensor NetworksStructural Monitoring Of Buildings Using Wireless Sensor Networks
Structural Monitoring Of Buildings Using Wireless Sensor NetworksIJMER
 
De31486489
De31486489De31486489
De31486489IJMER
 
B02414541458
B02414541458B02414541458
B02414541458IJMER
 
Numerical Analysis of Fin Side Turbulent Flow for Round and Flat Tube Heat E...
Numerical Analysis of Fin Side Turbulent Flow for Round and  Flat Tube Heat E...Numerical Analysis of Fin Side Turbulent Flow for Round and  Flat Tube Heat E...
Numerical Analysis of Fin Side Turbulent Flow for Round and Flat Tube Heat E...IJMER
 
Effect of Co doping on the structural and physical properties of SrC4H4O6.3H2...
Effect of Co doping on the structural and physical properties of SrC4H4O6.3H2...Effect of Co doping on the structural and physical properties of SrC4H4O6.3H2...
Effect of Co doping on the structural and physical properties of SrC4H4O6.3H2...IJMER
 
Development of Nanocomposite from Epoxy/PDMS-Cyanate/Nanoclay for Materials w...
Development of Nanocomposite from Epoxy/PDMS-Cyanate/Nanoclay for Materials w...Development of Nanocomposite from Epoxy/PDMS-Cyanate/Nanoclay for Materials w...
Development of Nanocomposite from Epoxy/PDMS-Cyanate/Nanoclay for Materials w...IJMER
 
Seasonal Variational Impact of the Physical Parameters On Mohand Rao River F...
Seasonal Variational Impact of the Physical Parameters On  Mohand Rao River F...Seasonal Variational Impact of the Physical Parameters On  Mohand Rao River F...
Seasonal Variational Impact of the Physical Parameters On Mohand Rao River F...IJMER
 
Bk31212217
Bk31212217Bk31212217
Bk31212217IJMER
 
Impact of Hybrid Pass-Transistor Logic (HPTL) on Power, Delay and Area in VL...
Impact of Hybrid Pass-Transistor Logic (HPTL) on Power, Delay  and Area in VL...Impact of Hybrid Pass-Transistor Logic (HPTL) on Power, Delay  and Area in VL...
Impact of Hybrid Pass-Transistor Logic (HPTL) on Power, Delay and Area in VL...IJMER
 
As31116118
As31116118As31116118
As31116118IJMER
 
Numerical Analysis of Header Configuration of the Plate-Fin Heat Exchanger
Numerical Analysis of Header Configuration of the Plate-Fin  Heat ExchangerNumerical Analysis of Header Configuration of the Plate-Fin  Heat Exchanger
Numerical Analysis of Header Configuration of the Plate-Fin Heat ExchangerIJMER
 
A brave new web - A talk about Web Components
A brave new web - A talk about Web ComponentsA brave new web - A talk about Web Components
A brave new web - A talk about Web ComponentsMichiel De Mey
 
(MCKIBBEN’S MUSCLE) Robots Make Our Work Lighter, But We Have Made the Robots...
(MCKIBBEN’S MUSCLE) Robots Make Our Work Lighter, But We Have Made the Robots...(MCKIBBEN’S MUSCLE) Robots Make Our Work Lighter, But We Have Made the Robots...
(MCKIBBEN’S MUSCLE) Robots Make Our Work Lighter, But We Have Made the Robots...IJMER
 
Bq32857863
Bq32857863Bq32857863
Bq32857863IJMER
 
Finite Element Analysis of Obround Pressure Vessels
Finite Element Analysis of Obround Pressure VesselsFinite Element Analysis of Obround Pressure Vessels
Finite Element Analysis of Obround Pressure VesselsIJMER
 
A Threshold fuzzy entropy based feature selection method applied in various b...
A Threshold fuzzy entropy based feature selection method applied in various b...A Threshold fuzzy entropy based feature selection method applied in various b...
A Threshold fuzzy entropy based feature selection method applied in various b...IJMER
 

Andere mochten auch (20)

Java script calc by karan chanana
Java script calc by karan chananaJava script calc by karan chanana
Java script calc by karan chanana
 
Ijmer 46060106
Ijmer 46060106Ijmer 46060106
Ijmer 46060106
 
Marketing ideas for small business
Marketing ideas for small businessMarketing ideas for small business
Marketing ideas for small business
 
Structural Monitoring Of Buildings Using Wireless Sensor Networks
Structural Monitoring Of Buildings Using Wireless Sensor NetworksStructural Monitoring Of Buildings Using Wireless Sensor Networks
Structural Monitoring Of Buildings Using Wireless Sensor Networks
 
De31486489
De31486489De31486489
De31486489
 
B02414541458
B02414541458B02414541458
B02414541458
 
Numerical Analysis of Fin Side Turbulent Flow for Round and Flat Tube Heat E...
Numerical Analysis of Fin Side Turbulent Flow for Round and  Flat Tube Heat E...Numerical Analysis of Fin Side Turbulent Flow for Round and  Flat Tube Heat E...
Numerical Analysis of Fin Side Turbulent Flow for Round and Flat Tube Heat E...
 
Effect of Co doping on the structural and physical properties of SrC4H4O6.3H2...
Effect of Co doping on the structural and physical properties of SrC4H4O6.3H2...Effect of Co doping on the structural and physical properties of SrC4H4O6.3H2...
Effect of Co doping on the structural and physical properties of SrC4H4O6.3H2...
 
Development of Nanocomposite from Epoxy/PDMS-Cyanate/Nanoclay for Materials w...
Development of Nanocomposite from Epoxy/PDMS-Cyanate/Nanoclay for Materials w...Development of Nanocomposite from Epoxy/PDMS-Cyanate/Nanoclay for Materials w...
Development of Nanocomposite from Epoxy/PDMS-Cyanate/Nanoclay for Materials w...
 
Seasonal Variational Impact of the Physical Parameters On Mohand Rao River F...
Seasonal Variational Impact of the Physical Parameters On  Mohand Rao River F...Seasonal Variational Impact of the Physical Parameters On  Mohand Rao River F...
Seasonal Variational Impact of the Physical Parameters On Mohand Rao River F...
 
Bk31212217
Bk31212217Bk31212217
Bk31212217
 
Impact of Hybrid Pass-Transistor Logic (HPTL) on Power, Delay and Area in VL...
Impact of Hybrid Pass-Transistor Logic (HPTL) on Power, Delay  and Area in VL...Impact of Hybrid Pass-Transistor Logic (HPTL) on Power, Delay  and Area in VL...
Impact of Hybrid Pass-Transistor Logic (HPTL) on Power, Delay and Area in VL...
 
As31116118
As31116118As31116118
As31116118
 
Numerical Analysis of Header Configuration of the Plate-Fin Heat Exchanger
Numerical Analysis of Header Configuration of the Plate-Fin  Heat ExchangerNumerical Analysis of Header Configuration of the Plate-Fin  Heat Exchanger
Numerical Analysis of Header Configuration of the Plate-Fin Heat Exchanger
 
Shareware
SharewareShareware
Shareware
 
A brave new web - A talk about Web Components
A brave new web - A talk about Web ComponentsA brave new web - A talk about Web Components
A brave new web - A talk about Web Components
 
(MCKIBBEN’S MUSCLE) Robots Make Our Work Lighter, But We Have Made the Robots...
(MCKIBBEN’S MUSCLE) Robots Make Our Work Lighter, But We Have Made the Robots...(MCKIBBEN’S MUSCLE) Robots Make Our Work Lighter, But We Have Made the Robots...
(MCKIBBEN’S MUSCLE) Robots Make Our Work Lighter, But We Have Made the Robots...
 
Bq32857863
Bq32857863Bq32857863
Bq32857863
 
Finite Element Analysis of Obround Pressure Vessels
Finite Element Analysis of Obround Pressure VesselsFinite Element Analysis of Obround Pressure Vessels
Finite Element Analysis of Obround Pressure Vessels
 
A Threshold fuzzy entropy based feature selection method applied in various b...
A Threshold fuzzy entropy based feature selection method applied in various b...A Threshold fuzzy entropy based feature selection method applied in various b...
A Threshold fuzzy entropy based feature selection method applied in various b...
 

Ähnlich wie Do2644844490

AN IMPROVED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH VARYING TIME QUANTUM
AN IMPROVED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH VARYING TIME QUANTUMAN IMPROVED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH VARYING TIME QUANTUM
AN IMPROVED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH VARYING TIME QUANTUMIJCSEA Journal
 
An improved round robin cpu scheduling
An improved round robin cpu schedulingAn improved round robin cpu scheduling
An improved round robin cpu schedulingIJCSEA Journal
 
AN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUM
AN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUMAN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUM
AN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUMijcseit
 
AN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUM
AN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUMAN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUM
AN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUMijcseit
 
AN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUM
AN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUMAN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUM
AN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUMijcseit
 
An optimized round robin cpu scheduling
An optimized round robin cpu schedulingAn optimized round robin cpu scheduling
An optimized round robin cpu schedulingijcseit
 
CPU scheduling in Operating System Explanation
CPU scheduling in Operating System ExplanationCPU scheduling in Operating System Explanation
CPU scheduling in Operating System ExplanationAnitaSofiaKeyser
 
chapter 5 CPU scheduling.ppt
chapter  5 CPU scheduling.pptchapter  5 CPU scheduling.ppt
chapter 5 CPU scheduling.pptKeyreSebre
 
Comparative analysis of the essential CPU scheduling algorithms
Comparative analysis of the essential CPU scheduling algorithmsComparative analysis of the essential CPU scheduling algorithms
Comparative analysis of the essential CPU scheduling algorithmsjournalBEEI
 
Simulation of Process Scheduling Algorithms
Simulation of Process Scheduling AlgorithmsSimulation of Process Scheduling Algorithms
Simulation of Process Scheduling Algorithmsijtsrd
 
LM10,11,12 - CPU SCHEDULING algorithms and its processes
LM10,11,12 - CPU SCHEDULING algorithms and its processesLM10,11,12 - CPU SCHEDULING algorithms and its processes
LM10,11,12 - CPU SCHEDULING algorithms and its processesmanideepakc
 
Chapter 2 (Part 2)
Chapter 2 (Part 2) Chapter 2 (Part 2)
Chapter 2 (Part 2) rohassanie
 
Preemptive process example.pptx
Preemptive process example.pptxPreemptive process example.pptx
Preemptive process example.pptxjamilaltiti1
 

Ähnlich wie Do2644844490 (20)

AN IMPROVED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH VARYING TIME QUANTUM
AN IMPROVED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH VARYING TIME QUANTUMAN IMPROVED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH VARYING TIME QUANTUM
AN IMPROVED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH VARYING TIME QUANTUM
 
An improved round robin cpu scheduling
An improved round robin cpu schedulingAn improved round robin cpu scheduling
An improved round robin cpu scheduling
 
AN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUM
AN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUMAN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUM
AN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUM
 
AN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUM
AN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUMAN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUM
AN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUM
 
AN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUM
AN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUMAN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUM
AN OPTIMIZED ROUND ROBIN CPU SCHEDULING ALGORITHM WITH DYNAMIC TIME QUANTUM
 
An optimized round robin cpu scheduling
An optimized round robin cpu schedulingAn optimized round robin cpu scheduling
An optimized round robin cpu scheduling
 
CPU Scheduling
CPU SchedulingCPU Scheduling
CPU Scheduling
 
CPU scheduling in Operating System Explanation
CPU scheduling in Operating System ExplanationCPU scheduling in Operating System Explanation
CPU scheduling in Operating System Explanation
 
chapter 5 CPU scheduling.ppt
chapter  5 CPU scheduling.pptchapter  5 CPU scheduling.ppt
chapter 5 CPU scheduling.ppt
 
Comparative analysis of the essential CPU scheduling algorithms
Comparative analysis of the essential CPU scheduling algorithmsComparative analysis of the essential CPU scheduling algorithms
Comparative analysis of the essential CPU scheduling algorithms
 
Section05 scheduling
Section05 schedulingSection05 scheduling
Section05 scheduling
 
Simulation of Process Scheduling Algorithms
Simulation of Process Scheduling AlgorithmsSimulation of Process Scheduling Algorithms
Simulation of Process Scheduling Algorithms
 
LM10,11,12 - CPU SCHEDULING algorithms and its processes
LM10,11,12 - CPU SCHEDULING algorithms and its processesLM10,11,12 - CPU SCHEDULING algorithms and its processes
LM10,11,12 - CPU SCHEDULING algorithms and its processes
 
Chapter 2 (Part 2)
Chapter 2 (Part 2) Chapter 2 (Part 2)
Chapter 2 (Part 2)
 
Scheduling
SchedulingScheduling
Scheduling
 
exp 3.docx
exp 3.docxexp 3.docx
exp 3.docx
 
Osy ppt - Copy.pptx
Osy ppt - Copy.pptxOsy ppt - Copy.pptx
Osy ppt - Copy.pptx
 
Preemptive process example.pptx
Preemptive process example.pptxPreemptive process example.pptx
Preemptive process example.pptx
 
Operating System Sheduling
Operating System ShedulingOperating System Sheduling
Operating System Sheduling
 
Process scheduling
Process schedulingProcess scheduling
Process scheduling
 

Mehr von IJMER

A Study on Translucent Concrete Product and Its Properties by Using Optical F...
A Study on Translucent Concrete Product and Its Properties by Using Optical F...A Study on Translucent Concrete Product and Its Properties by Using Optical F...
A Study on Translucent Concrete Product and Its Properties by Using Optical F...IJMER
 
Developing Cost Effective Automation for Cotton Seed Delinting
Developing Cost Effective Automation for Cotton Seed DelintingDeveloping Cost Effective Automation for Cotton Seed Delinting
Developing Cost Effective Automation for Cotton Seed DelintingIJMER
 
Study & Testing Of Bio-Composite Material Based On Munja Fibre
Study & Testing Of Bio-Composite Material Based On Munja FibreStudy & Testing Of Bio-Composite Material Based On Munja Fibre
Study & Testing Of Bio-Composite Material Based On Munja FibreIJMER
 
Hybrid Engine (Stirling Engine + IC Engine + Electric Motor)
Hybrid Engine (Stirling Engine + IC Engine + Electric Motor)Hybrid Engine (Stirling Engine + IC Engine + Electric Motor)
Hybrid Engine (Stirling Engine + IC Engine + Electric Motor)IJMER
 
Fabrication & Characterization of Bio Composite Materials Based On Sunnhemp F...
Fabrication & Characterization of Bio Composite Materials Based On Sunnhemp F...Fabrication & Characterization of Bio Composite Materials Based On Sunnhemp F...
Fabrication & Characterization of Bio Composite Materials Based On Sunnhemp F...IJMER
 
Geochemistry and Genesis of Kammatturu Iron Ores of Devagiri Formation, Sandu...
Geochemistry and Genesis of Kammatturu Iron Ores of Devagiri Formation, Sandu...Geochemistry and Genesis of Kammatturu Iron Ores of Devagiri Formation, Sandu...
Geochemistry and Genesis of Kammatturu Iron Ores of Devagiri Formation, Sandu...IJMER
 
Experimental Investigation on Characteristic Study of the Carbon Steel C45 in...
Experimental Investigation on Characteristic Study of the Carbon Steel C45 in...Experimental Investigation on Characteristic Study of the Carbon Steel C45 in...
Experimental Investigation on Characteristic Study of the Carbon Steel C45 in...IJMER
 
Non linear analysis of Robot Gun Support Structure using Equivalent Dynamic A...
Non linear analysis of Robot Gun Support Structure using Equivalent Dynamic A...Non linear analysis of Robot Gun Support Structure using Equivalent Dynamic A...
Non linear analysis of Robot Gun Support Structure using Equivalent Dynamic A...IJMER
 
Static Analysis of Go-Kart Chassis by Analytical and Solid Works Simulation
Static Analysis of Go-Kart Chassis by Analytical and Solid Works SimulationStatic Analysis of Go-Kart Chassis by Analytical and Solid Works Simulation
Static Analysis of Go-Kart Chassis by Analytical and Solid Works SimulationIJMER
 
High Speed Effortless Bicycle
High Speed Effortless BicycleHigh Speed Effortless Bicycle
High Speed Effortless BicycleIJMER
 
Integration of Struts & Spring & Hibernate for Enterprise Applications
Integration of Struts & Spring & Hibernate for Enterprise ApplicationsIntegration of Struts & Spring & Hibernate for Enterprise Applications
Integration of Struts & Spring & Hibernate for Enterprise ApplicationsIJMER
 
Microcontroller Based Automatic Sprinkler Irrigation System
Microcontroller Based Automatic Sprinkler Irrigation SystemMicrocontroller Based Automatic Sprinkler Irrigation System
Microcontroller Based Automatic Sprinkler Irrigation SystemIJMER
 
On some locally closed sets and spaces in Ideal Topological Spaces
On some locally closed sets and spaces in Ideal Topological SpacesOn some locally closed sets and spaces in Ideal Topological Spaces
On some locally closed sets and spaces in Ideal Topological SpacesIJMER
 
Intrusion Detection and Forensics based on decision tree and Association rule...
Intrusion Detection and Forensics based on decision tree and Association rule...Intrusion Detection and Forensics based on decision tree and Association rule...
Intrusion Detection and Forensics based on decision tree and Association rule...IJMER
 
Natural Language Ambiguity and its Effect on Machine Learning
Natural Language Ambiguity and its Effect on Machine LearningNatural Language Ambiguity and its Effect on Machine Learning
Natural Language Ambiguity and its Effect on Machine LearningIJMER
 
Evolvea Frameworkfor SelectingPrime Software DevelopmentProcess
Evolvea Frameworkfor SelectingPrime Software DevelopmentProcessEvolvea Frameworkfor SelectingPrime Software DevelopmentProcess
Evolvea Frameworkfor SelectingPrime Software DevelopmentProcessIJMER
 
Material Parameter and Effect of Thermal Load on Functionally Graded Cylinders
Material Parameter and Effect of Thermal Load on Functionally Graded CylindersMaterial Parameter and Effect of Thermal Load on Functionally Graded Cylinders
Material Parameter and Effect of Thermal Load on Functionally Graded CylindersIJMER
 
Studies On Energy Conservation And Audit
Studies On Energy Conservation And AuditStudies On Energy Conservation And Audit
Studies On Energy Conservation And AuditIJMER
 
An Implementation of I2C Slave Interface using Verilog HDL
An Implementation of I2C Slave Interface using Verilog HDLAn Implementation of I2C Slave Interface using Verilog HDL
An Implementation of I2C Slave Interface using Verilog HDLIJMER
 
Discrete Model of Two Predators competing for One Prey
Discrete Model of Two Predators competing for One PreyDiscrete Model of Two Predators competing for One Prey
Discrete Model of Two Predators competing for One PreyIJMER
 

Mehr von IJMER (20)

A Study on Translucent Concrete Product and Its Properties by Using Optical F...
A Study on Translucent Concrete Product and Its Properties by Using Optical F...A Study on Translucent Concrete Product and Its Properties by Using Optical F...
A Study on Translucent Concrete Product and Its Properties by Using Optical F...
 
Developing Cost Effective Automation for Cotton Seed Delinting
Developing Cost Effective Automation for Cotton Seed DelintingDeveloping Cost Effective Automation for Cotton Seed Delinting
Developing Cost Effective Automation for Cotton Seed Delinting
 
Study & Testing Of Bio-Composite Material Based On Munja Fibre
Study & Testing Of Bio-Composite Material Based On Munja FibreStudy & Testing Of Bio-Composite Material Based On Munja Fibre
Study & Testing Of Bio-Composite Material Based On Munja Fibre
 
Hybrid Engine (Stirling Engine + IC Engine + Electric Motor)
Hybrid Engine (Stirling Engine + IC Engine + Electric Motor)Hybrid Engine (Stirling Engine + IC Engine + Electric Motor)
Hybrid Engine (Stirling Engine + IC Engine + Electric Motor)
 
Fabrication & Characterization of Bio Composite Materials Based On Sunnhemp F...
Fabrication & Characterization of Bio Composite Materials Based On Sunnhemp F...Fabrication & Characterization of Bio Composite Materials Based On Sunnhemp F...
Fabrication & Characterization of Bio Composite Materials Based On Sunnhemp F...
 
Geochemistry and Genesis of Kammatturu Iron Ores of Devagiri Formation, Sandu...
Geochemistry and Genesis of Kammatturu Iron Ores of Devagiri Formation, Sandu...Geochemistry and Genesis of Kammatturu Iron Ores of Devagiri Formation, Sandu...
Geochemistry and Genesis of Kammatturu Iron Ores of Devagiri Formation, Sandu...
 
Experimental Investigation on Characteristic Study of the Carbon Steel C45 in...
Experimental Investigation on Characteristic Study of the Carbon Steel C45 in...Experimental Investigation on Characteristic Study of the Carbon Steel C45 in...
Experimental Investigation on Characteristic Study of the Carbon Steel C45 in...
 
Non linear analysis of Robot Gun Support Structure using Equivalent Dynamic A...
Non linear analysis of Robot Gun Support Structure using Equivalent Dynamic A...Non linear analysis of Robot Gun Support Structure using Equivalent Dynamic A...
Non linear analysis of Robot Gun Support Structure using Equivalent Dynamic A...
 
Static Analysis of Go-Kart Chassis by Analytical and Solid Works Simulation
Static Analysis of Go-Kart Chassis by Analytical and Solid Works SimulationStatic Analysis of Go-Kart Chassis by Analytical and Solid Works Simulation
Static Analysis of Go-Kart Chassis by Analytical and Solid Works Simulation
 
High Speed Effortless Bicycle
High Speed Effortless BicycleHigh Speed Effortless Bicycle
High Speed Effortless Bicycle
 
Integration of Struts & Spring & Hibernate for Enterprise Applications
Integration of Struts & Spring & Hibernate for Enterprise ApplicationsIntegration of Struts & Spring & Hibernate for Enterprise Applications
Integration of Struts & Spring & Hibernate for Enterprise Applications
 
Microcontroller Based Automatic Sprinkler Irrigation System
Microcontroller Based Automatic Sprinkler Irrigation SystemMicrocontroller Based Automatic Sprinkler Irrigation System
Microcontroller Based Automatic Sprinkler Irrigation System
 
On some locally closed sets and spaces in Ideal Topological Spaces
On some locally closed sets and spaces in Ideal Topological SpacesOn some locally closed sets and spaces in Ideal Topological Spaces
On some locally closed sets and spaces in Ideal Topological Spaces
 
Intrusion Detection and Forensics based on decision tree and Association rule...
Intrusion Detection and Forensics based on decision tree and Association rule...Intrusion Detection and Forensics based on decision tree and Association rule...
Intrusion Detection and Forensics based on decision tree and Association rule...
 
Natural Language Ambiguity and its Effect on Machine Learning
Natural Language Ambiguity and its Effect on Machine LearningNatural Language Ambiguity and its Effect on Machine Learning
Natural Language Ambiguity and its Effect on Machine Learning
 
Evolvea Frameworkfor SelectingPrime Software DevelopmentProcess
Evolvea Frameworkfor SelectingPrime Software DevelopmentProcessEvolvea Frameworkfor SelectingPrime Software DevelopmentProcess
Evolvea Frameworkfor SelectingPrime Software DevelopmentProcess
 
Material Parameter and Effect of Thermal Load on Functionally Graded Cylinders
Material Parameter and Effect of Thermal Load on Functionally Graded CylindersMaterial Parameter and Effect of Thermal Load on Functionally Graded Cylinders
Material Parameter and Effect of Thermal Load on Functionally Graded Cylinders
 
Studies On Energy Conservation And Audit
Studies On Energy Conservation And AuditStudies On Energy Conservation And Audit
Studies On Energy Conservation And Audit
 
An Implementation of I2C Slave Interface using Verilog HDL
An Implementation of I2C Slave Interface using Verilog HDLAn Implementation of I2C Slave Interface using Verilog HDL
An Implementation of I2C Slave Interface using Verilog HDL
 
Discrete Model of Two Predators competing for One Prey
Discrete Model of Two Predators competing for One PreyDiscrete Model of Two Predators competing for One Prey
Discrete Model of Two Predators competing for One Prey
 

Do2644844490

  • 1. International Journal of Modern Engineering Research (IJMER) www.ijmer.com Vol.2, Issue.6, Nov-Dec. 2012 pp-4484-4490 ISSN: 2249-6645 A Novel CPU Scheduling Algorithm–Preemptive & Non-Preemptive Sukumar Babu Bandarupalli1, Neelima Priyanka Nutulapati2, Prof. Dr. P.Suresh Varma3 1 (Computer Science & Engg, Vijaya Institute of Technology for Women, India) 2 (MCA & CSE Dept, SRK Institute of Technology, India) 3 (Computer Science & Dean, Adikavi Nannaya University, India ABSTRACT: The main objective of this paper is to introduce a new CPU algorithm called A Novel CPU Scheduling Algorithm which acts as both preemptive and non-preemptive based on the arrival time. The prosed algorithm helps to improve the CPU efficiency in real time uni-processor-multi programming operating system. CPU Scheduling is the basis of multi-programmed operating system. The scheduler is responsible for multiplexing processes on the CPU. There are many scheduling algorithms available for a multi-programmed operating system like FCFS, SJF, Priority, Round Robin etc. In this paper, the results of the existing algorithms (FCFS, SJF, Priority and Round Robin) are compared with the proposed algorithm. Keyword: Operating System, uni-processor, uni programming, multi-programming, Resource utilization, Scheduling, FCFS, SJF, Priority, Round Robin, ERR etc. I. INTRODUCTION Operating system performs variety of tasks in which scheduling is one of the basic task. Scheduling is heart of any computer system since it contains decision of giving resources between possible processes. Sharing of computer resources between multiple processes is also called scheduling [1]. Process is a smallest work unit of a program which requires a set of resources for its execution that are allocated to it by the CPU. These processes are many in number and keep coming in a particular fashion, different scheduling techniques are employed that enable faster and efficient process execution thereby reducing the waiting time faced by each process and increasing CPU utilization. A process has five basic states namely NEW, Ready, Running, Waiting and Terminate [1] [2]. Throughout its lifetime a process migrates between various scheduling queues by different schedulers until it gets terminated. These queues mainly contain the ready queue which contains set of processes ready for CPU response. The second queue is the device or the I/O queue which contains all the processes that are waiting for I/O response [1]. The operating system must select processes for scheduling from these queues in a specific manner. This selection process using a particular scheduling technique is carried out by schedulers. Schedulers in general try to maximize the average performance of a system according to the given criterion [3]. Scheduling algorithms are broadly classified into preemptive and non- preemptive scheduling disciplines. The algorithm proposed in this article is both preemptive and non-preemptive in nature and attempts to give fair CPU execution time by focusing on average waiting time and turnaround time of a process. This article comprises of the following sections: Section 2 presents scheduling parameters, which will decide against which parameters the new CPU algorithm will be tested. Section 3 introduces existing scheduling algorithms. Section 4 explains the proposed Algorithm – A Novel CPU Scheduling algorithm. Section 5 contains pseudo code of the proposed algorithm. Section 6 explains the two basic elements that make up the simulation and provide an interactive user interface. Section 7 presents a graphical comparison of the new algorithm with existing algorithms. Section 8 will provide conclusion of the work. II. SCHEDULING PARAMETERS THERE ARE DIFFERENT SCHEDULING ALGORITHMS WITH DIFFERENT CHARACTERISTICS WHICH DECIDE SELECTION OF PROCESS USING DIFFERENT CRITERIA FOR EXECUTION BY CPU. THE CRITERIA FOR A GOOD SCHEDULING ALGORITHM DEPEND, AMONG OTHERS, ON THE FOLLOWING MEASURES [1]. A. CPU Utilization: It is the average fraction of time, during which the processor is busy [2, 4]. B. Throughput: It refers to the amount of work completed in a unit of time. The number of processes the system can execute in a period of time. The higher the number, the more work is done by the system [4]. C. Waiting Time: The average period of time a process spends waiting. Waiting time may be expressed as turnaround time less the actual execution time [4]. D. Turnaround time: The interval from the time of submission of a process to the time of completion is the turnaround time [4]. E. Response time: Response time is the time from submission of a request until the first response is produced [4]. F. Priority: give preferential treatment to processes with higher priorities [4]. G. Fairness: Avoid the process from starvation. All the processes must be given equal opportunity to execute [4]. www.ijmer.com 4484 | Page
  • 2. International Journal of Modern Engineering Research (IJMER) www.ijmer.com Vol.2, Issue.6, Nov-Dec. 2012 pp-4484-4490 ISSN: 2249-6645 III. OVERVIEW OF EXISTING CPU SCHEDULING ALGORITHMS. A. FIRST COME FIRST SERVED (FCFS) Scheduling. It is the simplest CPU Scheduling algorithm. The criteria of this algorithm is „the process that requests first, holds the CPU first‟ or which process enter the ready queue first is served first [3]. The workload is processed in the order of arrival time, with no preemption [2]. Once a process has been submitted to the CPU, it runs into completion without being interrupted. Such a technique is fair in the case of smaller processes but is quite unfair for long an unimportant job [5]. Since FCFS does not involve context switching therefore it has minimal overhead. It has low throughput since long processes can keep processor occupied for a long time making small processes suffer. As a result waiting time, turnaround time and response time can be low [6]. B. Shortest Job First (SJF) Scheduling. The criteria of this algorithm are which process having the smallest CPU burst, CPU is assigned to that process next. If two process having the same CPU burst time FCFS is used to break up the tie [3]. SJF can be worked as preemptive and non–preemptive in nature based on the arrival time and burst time of the processes. SJF reduces average waiting time of the processes as compared to FCFS. SJF favors shorter processes over longer ones which is an overhead as compared to FCFS. It selects the job with the smallest burst time ensuing CPU availability for other processes as soon as the current process reaches its completion. This prevents smaller processes from suffering behind larger processes in the ready queue for a longer time [5] [7]. C. Priority Based Scheduling. In this algorithm, priority is associated with each process and on the basis of that priority CPU is allocated to the processes. Higher priority processes are executed first and lower priority processes are executed at the end. If multiple processes having the same priorities are ready to execute, control of CPU is assigned to these processes on the basis of FCFS [1]. Priority Scheduling can be preemptive and non-preemptive in nature. D. Round Robin (RR) Scheduling. It is a preemptive scheduling algorithm. It is designed especially for time sharing systems. In this algorithm, a small unit of time called time quantum or time slice is assigned to each process [2]. When the time quantum expired, the CPU is switched to another process. Performance of Round Robin totally depends on the size of the time quantum. IV. PROPOSED WORK: NOVEL CPU SCHEDULING ALGORITHM The proposed algorithm A Novel CPU Scheduling algorithm is both preemptive and non-preemptive in nature. In this algorithm a new factor called condition factor (F) is calculated by the addition of burst time and arrival time ie., F = Burst Time + Arrival Time. This factor f is assigned to each process and on the basis of this factor process are arranged in ascending order in the ready queue. Process having shortest condition factor (F) are executed first and process with next shortest factor (F) value is executed next. By considering the arrival time the new algorithms acts as preemptive or non-preemptive. Proposed CPU scheduling algorithm reduces waiting time, turnaround time and response time and also increases CPU utilization and throughput. The working procedure of A Novel Preemptive Scheduling of Preemptive and Non Preemptive algorithm is as given below:  Take the list of processes, their burst time and arrival time.  Find the condition factor F by adding arrival time and burst time of processes.  First arrange the processes, burst time, condition factor based on arrival time ascending order.  Iterate step a, b until burst time becomes zero. a. If arrival time of first and second process are equal the arrange them based on their condition factor f. b. Decrement the burst time and increment arrival time by 1  When burst time becomes find the waiting time and turnaround time of that process.  Average waiting time is calculated by dividing total waiting time with total number of processes.  Average turnaround time is calculated by dividing total turnaround time by total number of processes. V. PSEUDO CODE Initialization variables Burst time[n]  0 Arrival time[n]  0 Numprocess[n]  0 Factor[i]  0 Turn[n]  0 Wait[n]  0 Temp  0 Current time  0 Wait time=0 www.ijmer.com 4485 | Page
  • 3. International Journal of Modern Engineering Research (IJMER) www.ijmer.com Vol.2, Issue.6, Nov-Dec. 2012 pp-4484-4490 ISSN: 2249-6645 Turn time=0 Avgwaititme=0.0 Avgturntime=0.0 Read burst time[n] and arrival time[n] Compute factor[i] <- bursstime[i] + arrival time[i] a. Pseudo code for Non Preemptive Arrange the elements in ascending order based on condition factor For i 0 to n-1 For j  I to n If factor[i] > factor[j] Temp  burst time[i] Burst time[i]  burst time[j] Burst time[j]  temp Temp  arrival time[i] Arrival time[i]  arrival time[j] Arrival time[j]  temp Temp  factor[i] Factor[i]  factor[j] Factor[j]  temp End for For i 0 to n Begin Wait[i]=wait[i]+burst time[i] Turn[i]=wait[i]+btime[i] Wait time = wartime + wait[i] turn time = turn time + turn[i] End Avgwaittime = wait time/n Avgturntime = turn time/n b. Pseudo code for Preemptive Arrange the elements in ascending order based on arrival time For i 0 to n-1 For j  I to n If factor[i] > factor[j] Temp  burst time[i] Burst time[i]  burst time[j] Burst time[j]  temp Temp  arrival time[i] Arrival time[i]  arrival time[j] Arrival time[j]  temp Temp  factor[i] Factor[i]  factor[j] Factor[j]  temp End for For i 0 to n-1 For j  I to n If atime[i] == atime[j] then sort elements in ascending order based on factor[i] and factor[j] If burs time! =0 && atime==current time Begin Atime[i] =atime[i]+1 Btime[i] =btime[i]-1 Current time++ If btime[i]==0 turn time=current time End For i 0 to n Begin Wait [i]=turn[i]-btime[i]-atime[i] turn [i]=turn[i]+atime[i] Wait time = wartime + wait[i] Turn time = turn time + turn[i] www.ijmer.com 4486 | Page
  • 4. International Journal of Modern Engineering Research (IJMER) www.ijmer.com Vol.2, Issue.6, Nov-Dec. 2012 pp-4484-4490 ISSN: 2249-6645 End Avgwaittime = wait time/n Avgturntime = turn time/n VI. SIMULATION DESIGN The simulation provides an interactive GUI interface to the user through which a user can input data related to different processes then applying different algorithms based on the algorithm choices given in the simulator. The simulator employs JAVA swings. The front end user interfaces are designed using java awt‟s and swings. The parent screen i.e., screen1 allows the user to enter number of processes to be in execution. Screen 2 allows the user to enter the details of the processes burst time, arrival time and priority. Screen 3 shows that a user can compare any two algorithms of his choice or he can compare all the scheduling algorithms. www.ijmer.com 4487 | Page
  • 5. International Journal of Modern Engineering Research (IJMER) www.ijmer.com Vol.2, Issue.6, Nov-Dec. 2012 pp-4484-4490 ISSN: 2249-6645 Screen 4 shows the Graphical Comparison of all the algorithms Screen 5 shows the non-graphical comparison of all the algorithms VII. COMPARISON OF PROPOSED ALGORITHM WITH OTHER CPU SCHEDULING ALGORITHMS. To compare the performance of the proposed scheduling algorithm it was implemented and compared with the existing scheduling algorithm. GUI and CUI figures, shows the comparison between the proposed algorithm with existing algorithms. Example 2: Screen 6 takes different processes burst time and arrival time and priority values www.ijmer.com 4488 | Page
  • 6. International Journal of Modern Engineering Research (IJMER) www.ijmer.com Vol.2, Issue.6, Nov-Dec. 2012 pp-4484-4490 ISSN: 2249-6645 Screen 7 shows the graphical representation of example 2 Screen 8 shows the non-graphical representation of example 2 Example 3: Screen 9 takes different processes burst time and arrival time and priority values Screen 10 shows the graphical representation of example3 www.ijmer.com 4489 | Page
  • 7. International Journal of Modern Engineering Research (IJMER) www.ijmer.com Vol.2, Issue.6, Nov-Dec. 2012 pp-4484-4490 ISSN: 2249-6645 Screen 11 shows the non-graphical representation of example3 VIII. CONCLUSION The paper presents a new CPU scheduling algorithm called A Novel Pre-emptive and Non Pre-emptive CPU Scheduling Algorithm. Paper also contains simulation interface and its working, which interactively takes input from the user and compares the process set against different algorithm pairs. The result of the simulation for different process sets using different scheduling algorithms has been presented graphically in this piece of work. The last half of the paper provides analytical result with each set of graph. From the above graphs and results from example 1, 2 and 3, it is clear that proposed algorithm is more efficient than FCFS, Pre-emptive Priority and Non Pre-emptive Priority, Round Robin. And also observed that proposed algorithm gives almost equal performance like a SJF Pre-emptive and Non Pre-emptive algorithm REFERENCES [1] Abraham Silberschatz, Peter Baer Galvin, Greg Gagne, “Operating System Concepts”, Sixth Edition. [2] Milan Milenkovic, “Operating Systems Concepts and Design”, McGRAM-HILL, Computer Science Series, second edition. [3] P. Balakrishna Prasad, “Operating Systems” Second Edition. [4] A. Dhore “Opeating Systems”, Technical Publications. [5] M. Dietel, “Operating Systems”, Pearson Education, Second Edition. [6] http://en.wikipedia.org/wiki/Scheduling [7] M Gary Nutt, “Operating systems – A Modern Perspective, Second Edition, Pearson Education, 2000. www.ijmer.com 4490 | Page