Skip to content

deib-polimi/InstanceMaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instance Maker

The code in this repository allows for creating instance files compatible with SPACE4Cloud webGUI.

All the code in the repository is licensed under Apache License, version 2.0.

Getting Started

In order to create instances it is necessary to parse Hive logs via LogParser and to obtain job profiles and task durations via Profiler. The scripts in sh expect a directory tree containing job profiles (Profiler -p ...) in the files profile.txt and task durations (Profiler -t ...) in tasks.txt. You should make sure that these scripts can be found in PATH.

The first step in obtaining instances is to further process the profile.txt and tasks.txt files with:

prepare_folders.sh directory

where directory is the root of the above mentioned directory tree. After running this script, the directory tree will contain files ready for creating traces.

The octave folder contains several specific scripts and a general purpose function, prepare_traces.m. At an Octave prompt, after adding the octave folder to Octave's path, you should type:

prepare_traces ("directory", "vm", true)

Such an invocation will take the previously processed files from the directory tree and create traces for use with InstanceMaker, also adding vm as virtual machine label. The third argument is a boolean value: if it is true, the function will randomly shuffle task durations in the output task lists. InstanceMaker should be applied to the obtained traces.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published