Skip to content

Cloud Computing course project exploring cloud infrastructure simulation with CloudSim, focusing on datacenter modeling, VM allocation policies, and Cloudlet scheduling strategies.

Notifications You must be signed in to change notification settings

Cloud-Computing-and-Services/CloudSim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

UNIWA

UNIVERSITY OF WEST ATTICA
SCHOOL OF ENGINEERING
DEPARTMENT OF COMPUTER ENGINEERING AND INFORMATICS


Cloud Computing and Services

Use Cases at CloudSim

Vasileios Evangelos Athanasiou
Student ID: 19390005

Supervisor: Vasileios Mamalis, Professor
Co-supervisor: Dimitrios Kallergis, Lecturer in Applications

Athens, June 2024

Overview

This project explores the simulation of cloud computing environments using the CloudSim framework. It focuses on both theoretical and practical analysis of datacenter configurations, Virtual Machine (VM) allocation policies, and Cloudlet scheduling mechanisms.


Table of Contents

Section Title Description
assign Assignment Contains assignments and tasks
docs Documentation Project documentation, guides, and notes
src Source Code All source code files of CloudSim

Project Components

1. Theoretical Analysis

The project analyzes a specific simulation case (CloudSimExample6) in order to understand how cloud resources are provisioned and managed. The main areas of investigation include:

Infrastructure Setup

  • Detailed breakdown of the simulated Datacenters:
    • Datacenter_0
    • Datacenter_1
  • Analysis of their underlying Hosts and resource composition.

Hardware Specifications

  • Hosts

    • RAM: 2048 MB
    • Storage: 1 TB
    • Bandwidth: 10,000 MB/s
  • Processing Units (PEs)

    • Host 0: 4 PEs
    • Host 1: 2 PEs
    • Each PE operates at 1,000 MIPS

Virtual Machine (VM) Configuration

  • Total requested VMs: 20
  • VM requirements:
    • RAM: 512 MB
    • Processing Elements: 1 PE
    • Performance: 1,000 MIPS

Allocation Policies

  • Examination of VmAllocationPolicySimple
  • Uses a Worst-Fit policy, selecting the host with the fewest Processing Elements currently in use.

2. Practical Implementation & Exercises

The project includes a set of experimental scenarios designed to test the flexibility and limitations of the CloudSim simulator:

Policy Comparisons

  • Execution of simulations using different scheduling strategies:
    • Space-Sharing
    • Time-Sharing
  • Applied at both levels:
    • Cloudlets-to-VMs
    • VMs-to-Hosts

Resource Optimization

  • Modification of:
    • Host attributes
    • Number of Processing Elements
    • Number of Hosts
  • Goal: Ensure that all 20 VMs can be executed without resource over-subscription.

Code Intervention

  • Identification of specific sections in the CloudSim source code where:
    • Custom VM allocation policies
    • Custom Cloudlet scheduling algorithms
      can be implemented.

Summary of Resources (CloudSimExample6)

Resource Quantity Key Attributes
Datacenters 2 Architecture: x86, OS: Linux, VMM: Xen
Hosts 2 per Datacenter 2048 MB RAM, 1000 MIPS per PE
Virtual Machines 20 512 MB RAM, 1000 MIPS, 1 PE
Cloudlets Multiple Assigned to VMs using specific scheduling algorithms

Installation and Run Guide

Prerequisites

  • CloudSim Framework: Ensure the CloudSim 4.0 framework is installed and configured.
  • Java Development Kit (JDK): A compatible version of JDK (8 or higher) is required.
  • IDE: An integrated development environment (IDE) for Java development.

Install

Clone the repository to your local machine:

git clone https://github.com/Cloud-Computing-and-Services/CloudSim.git

Run

Open the project in IDE for Java Development such as Eclipse

From package /cloudsim-examples/src/main/java/org/cloudbus/cloudsim/examples/ run CloudSimExample6.java to see the simulation

About

Cloud Computing course project exploring cloud infrastructure simulation with CloudSim, focusing on datacenter modeling, VM allocation policies, and Cloudlet scheduling strategies.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages