SlideShare a Scribd company logo
IOSR Journal of Computer Engineering (IOSR-JCE)
e-ISSN: 2278-0661,p-ISSN: 2278-8727, Volume 17, Issue 1, Ver. I (Jan – Feb. 2015), PP 35-37
www.iosrjournals.org
DOI: 10.9790/0661-17113537 www.iosrjournals.org 35 | Page
An Autonomous Self-Assessment Application to Track the
Efficiency of a System in Runtime Environment
1
Arif Aziz, 2
Inderjit Lal, 3
Mayukh Chowdhury, 4
Dr. P S Jagadeesh Kumar
ESL Lab, Saltlake City, Kolkata – 700064
Abstract: In this paper we are proposing a system which will intelligently determine the running time of a
process according to the current processor state and the priority of the process. Moreover, given a pool of
processes, the software will determine the order in which it should be run to get the optimal result without
wasting the computer resource. It can be used as a tool to compute the efficiency of a system as well as to
calculate the overhead time of a system.
I. Introduction
We are using several scheduling algorithms to optimize the result. The algorithms we are using are
enlisted below.
Shortest Job First (SJF) scheduling:
In SJF scheduling the approach is to minimize the waiting time. This is one of the best scheduling
algorithm. But, this method is impossible to implement. The primary problem with this method is that the
processor should know in advance how much time a process will take.
First Come First Serve (FCFS) scheduling:
In this scheduling algorithm the jobs are executed on first come, first serve basis.This method is easy to
understand and implement.The major issue is, the performance gets poor by time because the process with high
priority has to wait for a long time.
Priority Scheduling
In Priority scheduling each process is assigned a priority. Process with highest priority is to be executed
first and so on.Processes with same priority is executed on first come first serve basis. During runtime, the
priority can be decided based on memory requirements, time requirements or any other resource requirement.
Round Robin scheduling:
According to this algorithm, each process is provided a fixed time to execute called quantum.Once a
process is executed for given time period. Process is preempted and other process executes for given time
period.Context switching is used to save states of the preempted processes.
Multilevel Queue scheduling:
Multilevel Queue Scheduling is one of the most efficient scheduling algorithm. In this method,
multiple queues are maintained for processes.Each queue can have its own scheduling algorithms and priorities
are assigned to each queue.
II. Motivation
In computing scheduling is the method by which threads, processes o data flows are given access to the
system resources like processor time, communication bandwidth. This is usually done to load balance and share
system resources effectively or achieve a target quality of service. The need for a scheduling algorithm arises
from the requirement for most modernsystems to perform multitasking and multiplexing. We thought of
designing a system which will help us to determine the expected running time of a given process or a series of
processes. Moreover, we thought of a system which will help us to understand how the scheduling of those
processes will take place. It will not only help to understand the small systems but also high end system like
servers.
III. Methodology
a. Predicting the approximate running time of a process:
For achieving the proposed goal of the system we have divided our work in several parts and developed
them independently. We have used different algorithms for different parts of the project. Our system has two
An autonomous self-assessment application to track the efficiency of a system in runtime environment
DOI: 10.9790/0661-17113537 www.iosrjournals.org 36 | Page
parts. Initially, we have given each process a particular weight according to the number of instruction present in
that process. After getting the weight of the process, we are checking the running time of the process. After
getting that, we are storing the data along with the time. In a long run, it will generate a huge amount of data. In
the next step of our project, we are using those data to approximately determine how much amount of time will
a certain process take to run in that system. Fig. 1 is depicting the top view of our system.
Fig. 1 – Top view of our system
To calculate the weight of a particular process, we have designed a parser program which will calculate
the number of instructions present in that process. Moreover, it will enhance the weight of the program in some
particular cases, i.e. if there are nested loops or file operations or nested data structures. Now, according to the
previous data from the database, we are predicting the running time of the system. After that, the process will
run and the actual running time will be stored in the database for further uses.
a. Scheduling a series of process:
Given a set of process, we are creating a queue for running the processes to get optimal result. The
algorithm for scheduling the processes is described below.
Algorithm for scheduling the process:
1. Initially, we are calculating the weight of each of the program using the parser program we have designed
earlier.
2. According to the weights, we are arranging the programs using the algorithm, priority based scheduling.
3. Now, we have set our threshold at 2 seconds.
4. If a process having smaller weight and waited more than the threshold value will automatically increase the
priority.
5. That smaller process will be executed after the currently running process.
Fig. 2 – The scheduling algorithm we are using to optimize the system
An autonomous self-assessment application to track the efficiency of a system in runtime environment
DOI: 10.9790/0661-17113537 www.iosrjournals.org 37 | Page
Data Structure:
We have used data structures stored in file to reduce the space and the complexity. Fig. 3 depicts one of
the data structures we have used to store the information of the weight of the process and the running time of the
process.
Fig. 3 – Data structure we are using to store the information
IV. Results
The following screenshot depicts the expected running time of the processes given by the user. The
parser program is calculating the weights of each process. After that, using the previous data saved in the data
structures the algorithm is determining the expected time for each process.
Fig. 4 – Figure showing the result for expected running time of each process
V. Conclusion
Our system is working as per our expectation. The algorithms we had previously developed on papers,
this time we have implemented them in simulator. The results are satisfactory but there still a chance to make it
better. We are still working on it to make the system better. In future we will try to implement our algorithms in
a real device so that we can actually measure the performance of the algorithm we have developed.

More Related Content

What's hot

Multiprocessor scheduling 1
Multiprocessor scheduling 1Multiprocessor scheduling 1
Multiprocessor scheduling 1
mrbourne
 
SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...
SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...
SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...
vtunotesbysree
 
onTune the differences
onTune the differencesonTune the differences
onTune the differences
TeemStone Pty Ltd
 
Efficient Resource Management Mechanism with Fault Tolerant Model for Computa...
Efficient Resource Management Mechanism with Fault Tolerant Model for Computa...Efficient Resource Management Mechanism with Fault Tolerant Model for Computa...
Efficient Resource Management Mechanism with Fault Tolerant Model for Computa...
Editor IJCATR
 
Minimize Staleness and Stretch in Streaming Data Warehouses
Minimize Staleness and Stretch in Streaming Data WarehousesMinimize Staleness and Stretch in Streaming Data Warehouses
Minimize Staleness and Stretch in Streaming Data Warehouses
International Journal of Science and Research (IJSR)
 
Multiprocessor scheduling 3
Multiprocessor scheduling 3Multiprocessor scheduling 3
Multiprocessor scheduling 3
mrbourne
 
Multiprocessor scheduling 2
Multiprocessor scheduling 2Multiprocessor scheduling 2
Multiprocessor scheduling 2
mrbourne
 
Process Synchronization
Process SynchronizationProcess Synchronization
Process Synchronization
Shipra Swati
 
Schedulability of Rate Monotonic Algorithm using Improved Time Demand Analysi...
Schedulability of Rate Monotonic Algorithm using Improved Time Demand Analysi...Schedulability of Rate Monotonic Algorithm using Improved Time Demand Analysi...
Schedulability of Rate Monotonic Algorithm using Improved Time Demand Analysi...
IJECEIAES
 
A survey of various scheduling algorithm in cloud computing environment
A survey of various scheduling algorithm in cloud computing environmentA survey of various scheduling algorithm in cloud computing environment
A survey of various scheduling algorithm in cloud computing environment
eSAT Publishing House
 
Resource Scheduling and Evaluation of Heuristics with Resource Reservation in...
Resource Scheduling and Evaluation of Heuristics with Resource Reservation in...Resource Scheduling and Evaluation of Heuristics with Resource Reservation in...
Resource Scheduling and Evaluation of Heuristics with Resource Reservation in...
Eswar Publications
 
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
 
Os files 2
Os files 2Os files 2
Os files 2
Amit Pal
 
50120130406041 2
50120130406041 250120130406041 2
50120130406041 2
IAEME Publication
 
4838281 operating-system-scheduling-on-multicore-architectures
4838281 operating-system-scheduling-on-multicore-architectures4838281 operating-system-scheduling-on-multicore-architectures
4838281 operating-system-scheduling-on-multicore-architectures
Islam Samir
 
Optimization of workload prediction based on map reduce frame work in a cloud...
Optimization of workload prediction based on map reduce frame work in a cloud...Optimization of workload prediction based on map reduce frame work in a cloud...
Optimization of workload prediction based on map reduce frame work in a cloud...
eSAT Publishing House
 
Ijariie1161
Ijariie1161Ijariie1161
Ijariie1161
IJARIIE JOURNAL
 
Real Time System
Real Time SystemReal Time System
Real Time System
Suman Astani
 
Efficient Dynamic Scheduling Algorithm for Real-Time MultiCore Systems
Efficient Dynamic Scheduling Algorithm for Real-Time MultiCore Systems Efficient Dynamic Scheduling Algorithm for Real-Time MultiCore Systems
Efficient Dynamic Scheduling Algorithm for Real-Time MultiCore Systems
iosrjce
 

What's hot (19)

Multiprocessor scheduling 1
Multiprocessor scheduling 1Multiprocessor scheduling 1
Multiprocessor scheduling 1
 
SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...
SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...
SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...
 
onTune the differences
onTune the differencesonTune the differences
onTune the differences
 
Efficient Resource Management Mechanism with Fault Tolerant Model for Computa...
Efficient Resource Management Mechanism with Fault Tolerant Model for Computa...Efficient Resource Management Mechanism with Fault Tolerant Model for Computa...
Efficient Resource Management Mechanism with Fault Tolerant Model for Computa...
 
Minimize Staleness and Stretch in Streaming Data Warehouses
Minimize Staleness and Stretch in Streaming Data WarehousesMinimize Staleness and Stretch in Streaming Data Warehouses
Minimize Staleness and Stretch in Streaming Data Warehouses
 
Multiprocessor scheduling 3
Multiprocessor scheduling 3Multiprocessor scheduling 3
Multiprocessor scheduling 3
 
Multiprocessor scheduling 2
Multiprocessor scheduling 2Multiprocessor scheduling 2
Multiprocessor scheduling 2
 
Process Synchronization
Process SynchronizationProcess Synchronization
Process Synchronization
 
Schedulability of Rate Monotonic Algorithm using Improved Time Demand Analysi...
Schedulability of Rate Monotonic Algorithm using Improved Time Demand Analysi...Schedulability of Rate Monotonic Algorithm using Improved Time Demand Analysi...
Schedulability of Rate Monotonic Algorithm using Improved Time Demand Analysi...
 
A survey of various scheduling algorithm in cloud computing environment
A survey of various scheduling algorithm in cloud computing environmentA survey of various scheduling algorithm in cloud computing environment
A survey of various scheduling algorithm in cloud computing environment
 
Resource Scheduling and Evaluation of Heuristics with Resource Reservation in...
Resource Scheduling and Evaluation of Heuristics with Resource Reservation in...Resource Scheduling and Evaluation of Heuristics with Resource Reservation in...
Resource Scheduling and Evaluation of Heuristics with Resource Reservation in...
 
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 ...
 
Os files 2
Os files 2Os files 2
Os files 2
 
50120130406041 2
50120130406041 250120130406041 2
50120130406041 2
 
4838281 operating-system-scheduling-on-multicore-architectures
4838281 operating-system-scheduling-on-multicore-architectures4838281 operating-system-scheduling-on-multicore-architectures
4838281 operating-system-scheduling-on-multicore-architectures
 
Optimization of workload prediction based on map reduce frame work in a cloud...
Optimization of workload prediction based on map reduce frame work in a cloud...Optimization of workload prediction based on map reduce frame work in a cloud...
Optimization of workload prediction based on map reduce frame work in a cloud...
 
Ijariie1161
Ijariie1161Ijariie1161
Ijariie1161
 
Real Time System
Real Time SystemReal Time System
Real Time System
 
Efficient Dynamic Scheduling Algorithm for Real-Time MultiCore Systems
Efficient Dynamic Scheduling Algorithm for Real-Time MultiCore Systems Efficient Dynamic Scheduling Algorithm for Real-Time MultiCore Systems
Efficient Dynamic Scheduling Algorithm for Real-Time MultiCore Systems
 

Viewers also liked

D01112030
D01112030D01112030
D01112030
IOSR Journals
 
N013148591
N013148591N013148591
N013148591
IOSR Journals
 
Role of the Various Functionaries in Regular Surveillance
Role of the Various Functionaries in Regular SurveillanceRole of the Various Functionaries in Regular Surveillance
Role of the Various Functionaries in Regular Surveillance
IOSR Journals
 
Architecture and Evaluation on Cooperative Caching In Wireless P2P
Architecture and Evaluation on Cooperative Caching In Wireless  P2PArchitecture and Evaluation on Cooperative Caching In Wireless  P2P
Architecture and Evaluation on Cooperative Caching In Wireless P2P
IOSR Journals
 
Count based Secured Hash Algorithm.
Count based Secured Hash Algorithm.Count based Secured Hash Algorithm.
Count based Secured Hash Algorithm.
IOSR Journals
 
A Novel approach for Graphical User Interface development and real time Objec...
A Novel approach for Graphical User Interface development and real time Objec...A Novel approach for Graphical User Interface development and real time Objec...
A Novel approach for Graphical User Interface development and real time Objec...
IOSR Journals
 
C012621520
C012621520C012621520
C012621520
IOSR Journals
 
A0530106
A0530106A0530106
A0530106
IOSR Journals
 
E010422834
E010422834E010422834
E010422834
IOSR Journals
 
H010613642
H010613642H010613642
H010613642
IOSR Journals
 
N0172189102
N0172189102N0172189102
N0172189102
IOSR Journals
 
Closed Loop Analysis of Single-Inductor Dual-Output Buck Converters with Mix-...
Closed Loop Analysis of Single-Inductor Dual-Output Buck Converters with Mix-...Closed Loop Analysis of Single-Inductor Dual-Output Buck Converters with Mix-...
Closed Loop Analysis of Single-Inductor Dual-Output Buck Converters with Mix-...
IOSR Journals
 
E010412433
E010412433E010412433
E010412433
IOSR Journals
 
H017255560
H017255560H017255560
H017255560
IOSR Journals
 
J012265658
J012265658J012265658
J012265658
IOSR Journals
 
F010434147
F010434147F010434147
F010434147
IOSR Journals
 
Model of Computation-Turing Machine
Model of Computation-Turing MachineModel of Computation-Turing Machine
Model of Computation-Turing Machine
IOSR Journals
 
M1803047782
M1803047782M1803047782
M1803047782
IOSR Journals
 
P01243104110
P01243104110P01243104110
P01243104110
IOSR Journals
 
Simulation based Evaluation of a Simple Channel Distribution Scheme for MANETs
Simulation based Evaluation of a Simple Channel Distribution Scheme for MANETsSimulation based Evaluation of a Simple Channel Distribution Scheme for MANETs
Simulation based Evaluation of a Simple Channel Distribution Scheme for MANETs
IOSR Journals
 

Viewers also liked (20)

D01112030
D01112030D01112030
D01112030
 
N013148591
N013148591N013148591
N013148591
 
Role of the Various Functionaries in Regular Surveillance
Role of the Various Functionaries in Regular SurveillanceRole of the Various Functionaries in Regular Surveillance
Role of the Various Functionaries in Regular Surveillance
 
Architecture and Evaluation on Cooperative Caching In Wireless P2P
Architecture and Evaluation on Cooperative Caching In Wireless  P2PArchitecture and Evaluation on Cooperative Caching In Wireless  P2P
Architecture and Evaluation on Cooperative Caching In Wireless P2P
 
Count based Secured Hash Algorithm.
Count based Secured Hash Algorithm.Count based Secured Hash Algorithm.
Count based Secured Hash Algorithm.
 
A Novel approach for Graphical User Interface development and real time Objec...
A Novel approach for Graphical User Interface development and real time Objec...A Novel approach for Graphical User Interface development and real time Objec...
A Novel approach for Graphical User Interface development and real time Objec...
 
C012621520
C012621520C012621520
C012621520
 
A0530106
A0530106A0530106
A0530106
 
E010422834
E010422834E010422834
E010422834
 
H010613642
H010613642H010613642
H010613642
 
N0172189102
N0172189102N0172189102
N0172189102
 
Closed Loop Analysis of Single-Inductor Dual-Output Buck Converters with Mix-...
Closed Loop Analysis of Single-Inductor Dual-Output Buck Converters with Mix-...Closed Loop Analysis of Single-Inductor Dual-Output Buck Converters with Mix-...
Closed Loop Analysis of Single-Inductor Dual-Output Buck Converters with Mix-...
 
E010412433
E010412433E010412433
E010412433
 
H017255560
H017255560H017255560
H017255560
 
J012265658
J012265658J012265658
J012265658
 
F010434147
F010434147F010434147
F010434147
 
Model of Computation-Turing Machine
Model of Computation-Turing MachineModel of Computation-Turing Machine
Model of Computation-Turing Machine
 
M1803047782
M1803047782M1803047782
M1803047782
 
P01243104110
P01243104110P01243104110
P01243104110
 
Simulation based Evaluation of a Simple Channel Distribution Scheme for MANETs
Simulation based Evaluation of a Simple Channel Distribution Scheme for MANETsSimulation based Evaluation of a Simple Channel Distribution Scheme for MANETs
Simulation based Evaluation of a Simple Channel Distribution Scheme for MANETs
 

Similar to G017113537

Operating System.pptx
Operating System.pptxOperating System.pptx
Operating System.pptx
VanshikaRajput33
 
Simulation of Process Scheduling Algorithms
Simulation of Process Scheduling AlgorithmsSimulation of Process Scheduling Algorithms
Simulation of Process Scheduling Algorithms
ijtsrd
 
Chapter 3.pdf
Chapter 3.pdfChapter 3.pdf
Chapter 3.pdf
HikaTariku
 
CSI-503 - 3. Process Scheduling
CSI-503 - 3. Process SchedulingCSI-503 - 3. Process Scheduling
CSI-503 - 3. Process Scheduling
ghayour abbas
 
Real time os(suga)
Real time os(suga) Real time os(suga)
Real time os(suga)
Nagarajan
 
LEARNING SCHEDULER PARAMETERS FOR ADAPTIVE PREEMPTION
LEARNING SCHEDULER PARAMETERS FOR ADAPTIVE PREEMPTIONLEARNING SCHEDULER PARAMETERS FOR ADAPTIVE PREEMPTION
LEARNING SCHEDULER PARAMETERS FOR ADAPTIVE PREEMPTION
cscpconf
 
UNIT - 3 PPT(Part- 1)_.pdf
UNIT - 3 PPT(Part- 1)_.pdfUNIT - 3 PPT(Part- 1)_.pdf
UNIT - 3 PPT(Part- 1)_.pdf
AyushSharma651966
 
genetic paper
genetic papergenetic paper
genetic paper
Swathi Rampur
 
In computing, scheduling is the action .
In computing, scheduling is the action .In computing, scheduling is the action .
In computing, scheduling is the action .
nathansel1
 
Ch03- PROCESSES.ppt
Ch03- PROCESSES.pptCh03- PROCESSES.ppt
Ch03- PROCESSES.ppt
MeghaSharma474761
 
os assignment -individual presenation.pptx
os assignment -individual presenation.pptxos assignment -individual presenation.pptx
os assignment -individual presenation.pptx
EngrAliSarfrazSiddiq
 
PROJECT 3.pptx
PROJECT 3.pptxPROJECT 3.pptx
PROJECT 3.pptx
EngrAliSarfrazSiddiq
 
BITS 1213 - OPERATING SYSTEM (PROCESS,THREAD,SYMMETRIC MULTIPROCESSOR,MICROKE...
BITS 1213 - OPERATING SYSTEM (PROCESS,THREAD,SYMMETRIC MULTIPROCESSOR,MICROKE...BITS 1213 - OPERATING SYSTEM (PROCESS,THREAD,SYMMETRIC MULTIPROCESSOR,MICROKE...
BITS 1213 - OPERATING SYSTEM (PROCESS,THREAD,SYMMETRIC MULTIPROCESSOR,MICROKE...
Nur Atiqah Mohd Rosli
 
Module-6 process managedf;jsovj;ksdv;sdkvnksdnvldknvlkdfsment.ppt
Module-6 process managedf;jsovj;ksdv;sdkvnksdnvldknvlkdfsment.pptModule-6 process managedf;jsovj;ksdv;sdkvnksdnvldknvlkdfsment.ppt
Module-6 process managedf;jsovj;ksdv;sdkvnksdnvldknvlkdfsment.ppt
KAnurag2
 
Chapter 1 Data structure.pptx
Chapter 1 Data structure.pptxChapter 1 Data structure.pptx
Chapter 1 Data structure.pptx
wondmhunegn
 
Distributed System Management
Distributed System ManagementDistributed System Management
Distributed System Management
Ibrahim Amer
 
OS-Process Management
OS-Process ManagementOS-Process Management
OS-Process Management
anand hd
 
CHAPTER READING TASK OPERATING SYSTEM
CHAPTER READING TASK OPERATING SYSTEMCHAPTER READING TASK OPERATING SYSTEM
CHAPTER READING TASK OPERATING SYSTEM
Nur Atiqah Mohd Rosli
 
Os task
Os taskOs task
Process scheduling
Process schedulingProcess scheduling
Process scheduling
Riya Choudhary
 

Similar to G017113537 (20)

Operating System.pptx
Operating System.pptxOperating System.pptx
Operating System.pptx
 
Simulation of Process Scheduling Algorithms
Simulation of Process Scheduling AlgorithmsSimulation of Process Scheduling Algorithms
Simulation of Process Scheduling Algorithms
 
Chapter 3.pdf
Chapter 3.pdfChapter 3.pdf
Chapter 3.pdf
 
CSI-503 - 3. Process Scheduling
CSI-503 - 3. Process SchedulingCSI-503 - 3. Process Scheduling
CSI-503 - 3. Process Scheduling
 
Real time os(suga)
Real time os(suga) Real time os(suga)
Real time os(suga)
 
LEARNING SCHEDULER PARAMETERS FOR ADAPTIVE PREEMPTION
LEARNING SCHEDULER PARAMETERS FOR ADAPTIVE PREEMPTIONLEARNING SCHEDULER PARAMETERS FOR ADAPTIVE PREEMPTION
LEARNING SCHEDULER PARAMETERS FOR ADAPTIVE PREEMPTION
 
UNIT - 3 PPT(Part- 1)_.pdf
UNIT - 3 PPT(Part- 1)_.pdfUNIT - 3 PPT(Part- 1)_.pdf
UNIT - 3 PPT(Part- 1)_.pdf
 
genetic paper
genetic papergenetic paper
genetic paper
 
In computing, scheduling is the action .
In computing, scheduling is the action .In computing, scheduling is the action .
In computing, scheduling is the action .
 
Ch03- PROCESSES.ppt
Ch03- PROCESSES.pptCh03- PROCESSES.ppt
Ch03- PROCESSES.ppt
 
os assignment -individual presenation.pptx
os assignment -individual presenation.pptxos assignment -individual presenation.pptx
os assignment -individual presenation.pptx
 
PROJECT 3.pptx
PROJECT 3.pptxPROJECT 3.pptx
PROJECT 3.pptx
 
BITS 1213 - OPERATING SYSTEM (PROCESS,THREAD,SYMMETRIC MULTIPROCESSOR,MICROKE...
BITS 1213 - OPERATING SYSTEM (PROCESS,THREAD,SYMMETRIC MULTIPROCESSOR,MICROKE...BITS 1213 - OPERATING SYSTEM (PROCESS,THREAD,SYMMETRIC MULTIPROCESSOR,MICROKE...
BITS 1213 - OPERATING SYSTEM (PROCESS,THREAD,SYMMETRIC MULTIPROCESSOR,MICROKE...
 
Module-6 process managedf;jsovj;ksdv;sdkvnksdnvldknvlkdfsment.ppt
Module-6 process managedf;jsovj;ksdv;sdkvnksdnvldknvlkdfsment.pptModule-6 process managedf;jsovj;ksdv;sdkvnksdnvldknvlkdfsment.ppt
Module-6 process managedf;jsovj;ksdv;sdkvnksdnvldknvlkdfsment.ppt
 
Chapter 1 Data structure.pptx
Chapter 1 Data structure.pptxChapter 1 Data structure.pptx
Chapter 1 Data structure.pptx
 
Distributed System Management
Distributed System ManagementDistributed System Management
Distributed System Management
 
OS-Process Management
OS-Process ManagementOS-Process Management
OS-Process Management
 
CHAPTER READING TASK OPERATING SYSTEM
CHAPTER READING TASK OPERATING SYSTEMCHAPTER READING TASK OPERATING SYSTEM
CHAPTER READING TASK OPERATING SYSTEM
 
Os task
Os taskOs task
Os task
 
Process scheduling
Process schedulingProcess scheduling
Process scheduling
 

More from IOSR Journals

A011140104
A011140104A011140104
A011140104
IOSR Journals
 
M0111397100
M0111397100M0111397100
M0111397100
IOSR Journals
 
L011138596
L011138596L011138596
L011138596
IOSR Journals
 
K011138084
K011138084K011138084
K011138084
IOSR Journals
 
J011137479
J011137479J011137479
J011137479
IOSR Journals
 
I011136673
I011136673I011136673
I011136673
IOSR Journals
 
G011134454
G011134454G011134454
G011134454
IOSR Journals
 
H011135565
H011135565H011135565
H011135565
IOSR Journals
 
F011134043
F011134043F011134043
F011134043
IOSR Journals
 
E011133639
E011133639E011133639
E011133639
IOSR Journals
 
D011132635
D011132635D011132635
D011132635
IOSR Journals
 
C011131925
C011131925C011131925
C011131925
IOSR Journals
 
B011130918
B011130918B011130918
B011130918
IOSR Journals
 
A011130108
A011130108A011130108
A011130108
IOSR Journals
 
I011125160
I011125160I011125160
I011125160
IOSR Journals
 
H011124050
H011124050H011124050
H011124050
IOSR Journals
 
G011123539
G011123539G011123539
G011123539
IOSR Journals
 
F011123134
F011123134F011123134
F011123134
IOSR Journals
 
E011122530
E011122530E011122530
E011122530
IOSR Journals
 
D011121524
D011121524D011121524
D011121524
IOSR Journals
 

More from IOSR Journals (20)

A011140104
A011140104A011140104
A011140104
 
M0111397100
M0111397100M0111397100
M0111397100
 
L011138596
L011138596L011138596
L011138596
 
K011138084
K011138084K011138084
K011138084
 
J011137479
J011137479J011137479
J011137479
 
I011136673
I011136673I011136673
I011136673
 
G011134454
G011134454G011134454
G011134454
 
H011135565
H011135565H011135565
H011135565
 
F011134043
F011134043F011134043
F011134043
 
E011133639
E011133639E011133639
E011133639
 
D011132635
D011132635D011132635
D011132635
 
C011131925
C011131925C011131925
C011131925
 
B011130918
B011130918B011130918
B011130918
 
A011130108
A011130108A011130108
A011130108
 
I011125160
I011125160I011125160
I011125160
 
H011124050
H011124050H011124050
H011124050
 
G011123539
G011123539G011123539
G011123539
 
F011123134
F011123134F011123134
F011123134
 
E011122530
E011122530E011122530
E011122530
 
D011121524
D011121524D011121524
D011121524
 

Recently uploaded

Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
Hiroshi SHIBATA
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
Hiike
 
Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!
GDSC PJATK
 
AWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptxAWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptx
HarisZaheer8
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
Tatiana Kojar
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
Wouter Lemaire
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
saastr
 
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Tatiana Kojar
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Azure API Management to expose backend services securely
Azure API Management to expose backend services securelyAzure API Management to expose backend services securely
Azure API Management to expose backend services securely
Dinusha Kumarasiri
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
Letter and Document Automation for Bonterra Impact Management (fka Social Sol...
Letter and Document Automation for Bonterra Impact Management (fka Social Sol...Letter and Document Automation for Bonterra Impact Management (fka Social Sol...
Letter and Document Automation for Bonterra Impact Management (fka Social Sol...
Jeffrey Haguewood
 

Recently uploaded (20)

Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
 
Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!
 
AWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptxAWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptx
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
 
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Azure API Management to expose backend services securely
Azure API Management to expose backend services securelyAzure API Management to expose backend services securely
Azure API Management to expose backend services securely
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
Letter and Document Automation for Bonterra Impact Management (fka Social Sol...
Letter and Document Automation for Bonterra Impact Management (fka Social Sol...Letter and Document Automation for Bonterra Impact Management (fka Social Sol...
Letter and Document Automation for Bonterra Impact Management (fka Social Sol...
 

G017113537

  • 1. IOSR Journal of Computer Engineering (IOSR-JCE) e-ISSN: 2278-0661,p-ISSN: 2278-8727, Volume 17, Issue 1, Ver. I (Jan – Feb. 2015), PP 35-37 www.iosrjournals.org DOI: 10.9790/0661-17113537 www.iosrjournals.org 35 | Page An Autonomous Self-Assessment Application to Track the Efficiency of a System in Runtime Environment 1 Arif Aziz, 2 Inderjit Lal, 3 Mayukh Chowdhury, 4 Dr. P S Jagadeesh Kumar ESL Lab, Saltlake City, Kolkata – 700064 Abstract: In this paper we are proposing a system which will intelligently determine the running time of a process according to the current processor state and the priority of the process. Moreover, given a pool of processes, the software will determine the order in which it should be run to get the optimal result without wasting the computer resource. It can be used as a tool to compute the efficiency of a system as well as to calculate the overhead time of a system. I. Introduction We are using several scheduling algorithms to optimize the result. The algorithms we are using are enlisted below. Shortest Job First (SJF) scheduling: In SJF scheduling the approach is to minimize the waiting time. This is one of the best scheduling algorithm. But, this method is impossible to implement. The primary problem with this method is that the processor should know in advance how much time a process will take. First Come First Serve (FCFS) scheduling: In this scheduling algorithm the jobs are executed on first come, first serve basis.This method is easy to understand and implement.The major issue is, the performance gets poor by time because the process with high priority has to wait for a long time. Priority Scheduling In Priority scheduling each process is assigned a priority. Process with highest priority is to be executed first and so on.Processes with same priority is executed on first come first serve basis. During runtime, the priority can be decided based on memory requirements, time requirements or any other resource requirement. Round Robin scheduling: According to this algorithm, each process is provided a fixed time to execute called quantum.Once a process is executed for given time period. Process is preempted and other process executes for given time period.Context switching is used to save states of the preempted processes. Multilevel Queue scheduling: Multilevel Queue Scheduling is one of the most efficient scheduling algorithm. In this method, multiple queues are maintained for processes.Each queue can have its own scheduling algorithms and priorities are assigned to each queue. II. Motivation In computing scheduling is the method by which threads, processes o data flows are given access to the system resources like processor time, communication bandwidth. This is usually done to load balance and share system resources effectively or achieve a target quality of service. The need for a scheduling algorithm arises from the requirement for most modernsystems to perform multitasking and multiplexing. We thought of designing a system which will help us to determine the expected running time of a given process or a series of processes. Moreover, we thought of a system which will help us to understand how the scheduling of those processes will take place. It will not only help to understand the small systems but also high end system like servers. III. Methodology a. Predicting the approximate running time of a process: For achieving the proposed goal of the system we have divided our work in several parts and developed them independently. We have used different algorithms for different parts of the project. Our system has two
  • 2. An autonomous self-assessment application to track the efficiency of a system in runtime environment DOI: 10.9790/0661-17113537 www.iosrjournals.org 36 | Page parts. Initially, we have given each process a particular weight according to the number of instruction present in that process. After getting the weight of the process, we are checking the running time of the process. After getting that, we are storing the data along with the time. In a long run, it will generate a huge amount of data. In the next step of our project, we are using those data to approximately determine how much amount of time will a certain process take to run in that system. Fig. 1 is depicting the top view of our system. Fig. 1 – Top view of our system To calculate the weight of a particular process, we have designed a parser program which will calculate the number of instructions present in that process. Moreover, it will enhance the weight of the program in some particular cases, i.e. if there are nested loops or file operations or nested data structures. Now, according to the previous data from the database, we are predicting the running time of the system. After that, the process will run and the actual running time will be stored in the database for further uses. a. Scheduling a series of process: Given a set of process, we are creating a queue for running the processes to get optimal result. The algorithm for scheduling the processes is described below. Algorithm for scheduling the process: 1. Initially, we are calculating the weight of each of the program using the parser program we have designed earlier. 2. According to the weights, we are arranging the programs using the algorithm, priority based scheduling. 3. Now, we have set our threshold at 2 seconds. 4. If a process having smaller weight and waited more than the threshold value will automatically increase the priority. 5. That smaller process will be executed after the currently running process. Fig. 2 – The scheduling algorithm we are using to optimize the system
  • 3. An autonomous self-assessment application to track the efficiency of a system in runtime environment DOI: 10.9790/0661-17113537 www.iosrjournals.org 37 | Page Data Structure: We have used data structures stored in file to reduce the space and the complexity. Fig. 3 depicts one of the data structures we have used to store the information of the weight of the process and the running time of the process. Fig. 3 – Data structure we are using to store the information IV. Results The following screenshot depicts the expected running time of the processes given by the user. The parser program is calculating the weights of each process. After that, using the previous data saved in the data structures the algorithm is determining the expected time for each process. Fig. 4 – Figure showing the result for expected running time of each process V. Conclusion Our system is working as per our expectation. The algorithms we had previously developed on papers, this time we have implemented them in simulator. The results are satisfactory but there still a chance to make it better. We are still working on it to make the system better. In future we will try to implement our algorithms in a real device so that we can actually measure the performance of the algorithm we have developed.