One of the resource scheduling algorithms that implement multi-dimensional QoS using cloudsim: Configuring the cloudsim Environment

Source: Internet
Author: User
Cloudsim is an open-source cloud computing simulation software that inherits the programming model of the grid computing simulation software gridsim and supports the research and development of cloud computing. It is a self-contained platform that supports data centers, service agents, scheduling and allocation policies. It supports Modeling and Simulation of large-scale cloud computing infrastructure, and can run across platforms on Windows and Linux. This article describes how to use cloudsim to simulate resource scheduling algorithms. This includes the configuration of the cloudsim environment, the embedding of resource scheduling algorithms, and the analysis of simulation results. 1, First, we will introduce the configuration of the cloudsim environment.1.1. For cloudsim to run in Java Download JDK and cloudsimJDK: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.htmlCloudsim:http://code.google.com/p/cloudsim/downloads/ 1.2, J DK installation and configurationHttp://jingyan.baidu.com/article/f96699bb8b38e0894e3c1bef.html note that the installation path does not contain Chinese characters, otherwise unknown errors may occur when running the program. 1.3, Cloudsim installation and configurationDecompress the downloaded cloudsim and do not contain Chinese characters in the decompressed path. For example, D: \ Program Files \. Add D: \ Program Files \ cloudsim-3.0.3 \ jars \ cloudsim-3.0.3.jar; D: \ Program Files \ cloudsim-3.0.3 \ jars \ cloudsim-examples-3.0.3.jar; D: \ Program Files \ jars \; D: \ Program Files \ cloudsim-3.0.3 \ jars \ cloudsim-3.0.3-sources.jar; D: \ Program Files \ cloudsim-3.0.3 \ jars \ cloudsim-examples-3.0.3-sources.jar; now cloudsim configuration 1.4 has been completed, Install eclipse and import the cloudsim platform to eclipseDecompress the package to obtain a Java project, that is, the cloudsim simulation platform. Cloudsim is open-source, so it provides all its source code. We can modify cloudsim and recompile cloudsim to meet our own needs. The use of eclipse tools can facilitate development. The Installation Process of eclipse is not described in detail. This article only describes how to import cloudsim. Open eclipse and create a Java project. Cancel the use default location option. Add the cloudsim path. Click Finish. For example:
At this time, the code of the main project of cloudsim has been imported into the new project. cloudsim comes with some sample programs. If you select any program, the program running status will be printed in the console window. If no error occurs in the configuration, a similar situation may occur.
At this time, the cloudsim environment has been set up. The next step is to implement your own resource scheduling algorithm on the cloudsim platform.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.