Computer Science & Engineering: Experiment 2.1
Computer Science & Engineering: Experiment 2.1
Experiment 2.1
StudentName: Bilal Ahmad UID:21BCS1559
Branch: CSE Section/Group:601-A
Semester: 6 th Date of Performance: 20/02/24
Subject Name: Cloud Computing and Subject Code: 21CSP-378
Distributed Systems Lab
1. Aim: Simulate a cloud scenario using Matlab and run a scheduling algorithm.
2. Objective:
i. To learn about scheduling algorithms.
ii. To learn about cloud computing.
3. Input/Apparatus Used:Input:
i. Hardware Requirements: - Minimum 4GB RAM, 120 GB hard Disk, processor with 2.1
MHz
4. Theory:-
MATLAB: MATLAB is a high-level programming language and interactive environment primarily
used for numerical computation, data analysis, and visualization. It offers powerful tools for matrix
computation, numerical analysis, data visualization, algorithm development, and integration with other
languages.
Scheduling Algorithms: Scheduling algorithms are essential in computer science and operating systems
for managing tasks and resources efficiently. Common algorithms include FCFS, SJF, priority
scheduling, round-robin, multi-level queues, and deadline-based scheduling. Each algorithm aims to
optimize metrics like throughput, latency, fairness, and resource utilization based on specific system
requirements and objectives.
5. PROCEDURE:
i. Now first of all we need a few of the installations like IDE for JAVA(Eclipse), JDK, cloud sim package
and JRE
ii. open that installer now and wait for the installer to start other two things are jdk java development kit
and the java runtime environment which is needed for running the java applications
iii. click on the option for eclipse id for java developers it will automatically provide a workspace where
that particular all the eclipse projects will be residing
iv. You can choose any of the workspace which you have defined in your computer so choose that one
eclipse id is starting
v. create a new java project so you can name it sjf scheduler or anything you want and finish
vi. Run the project.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
7. Learning Outcomes:
i. Learnt Scheduling algorithms.
ii. Learnt about cloud computing.
iii. Learnt about Cloud Sim.