All Projects → CN-UPB → ml-for-resource-allocation

CN-UPB / ml-for-resource-allocation

Licence: other
Machine Learning for Dynamic Resource Allocation in Network Function Virtualization

Programming Languages

Jupyter Notebook
11667 projects

Projects that are alternatives of or similar to ml-for-resource-allocation

Jsbench Me
jsbench.me - JavaScript performance benchmarking playground
Stars: ✭ 50 (+127.27%)
Mutual labels:  benchmarking, profiling
Likwid
Performance monitoring and benchmarking suite
Stars: ✭ 957 (+4250%)
Mutual labels:  benchmarking, profiling
Tufte
Simple profiling and performance monitoring for Clojure/Script
Stars: ✭ 401 (+1722.73%)
Mutual labels:  benchmarking, profiling
go-recipes
🦩 Tools for Go projects
Stars: ✭ 2,490 (+11218.18%)
Mutual labels:  benchmarking, profiling
Phoronix Test Suite
The Phoronix Test Suite open-source, cross-platform automated testing/benchmarking software.
Stars: ✭ 1,339 (+5986.36%)
Mutual labels:  benchmarking, profiling
Karma Benchmark
A Karma plugin to run Benchmark.js over multiple browsers with CI compatible output.
Stars: ✭ 88 (+300%)
Mutual labels:  benchmarking, profiling
Processhacker
A free, powerful, multi-purpose tool that helps you monitor system resources, debug software and detect malware.
Stars: ✭ 6,285 (+28468.18%)
Mutual labels:  benchmarking, profiling
Profiling Nodejs
🌌 Collection of articles and tools to efficiently profile Node.js
Stars: ✭ 93 (+322.73%)
Mutual labels:  benchmarking, profiling
Profilinggo
A quick tour (or reminder) of Go performance tools
Stars: ✭ 219 (+895.45%)
Mutual labels:  benchmarking, profiling
benchkit
A developer-centric toolkit module for Android to facilitate in-depth profiling and benchmarking.
Stars: ✭ 48 (+118.18%)
Mutual labels:  benchmarking, profiling
blas-benchmarks
Timing results for BLAS (Basic Linear Algebra Subprograms) libraries in R
Stars: ✭ 24 (+9.09%)
Mutual labels:  benchmarking
witty.er
What is true, thank you, ernestly. A large variant benchmarking tool analogous to hap.py for small variants.
Stars: ✭ 22 (+0%)
Mutual labels:  benchmarking
Openrunner
Computest Openrunner: Benchmark and functional testing for frontend-heavy web applications
Stars: ✭ 16 (-27.27%)
Mutual labels:  benchmarking
ReBench
Execute and document benchmarks reproducibly.
Stars: ✭ 48 (+118.18%)
Mutual labels:  benchmarking
COVID19
Using Kalman Filter to Predict Corona Virus Spread
Stars: ✭ 78 (+254.55%)
Mutual labels:  prediction
MSTA
Multi Strategy Trading Algorithm
Stars: ✭ 34 (+54.55%)
Mutual labels:  prediction
perfume
Interactive performance benchmarking in Jupyter
Stars: ✭ 33 (+50%)
Mutual labels:  benchmarking
foot
foot是一个集足球数据采集器,简单分析的项目.AI足球球探为程序全自动处理,全程无人为参与干预足球分析足球预测程序.程序根据各大指数多维度数据,结合作者多年足球分析经验,精雕细琢,集天地之灵气,汲日月之精华,历时七七四十九天,经Bug九九八十一个,编码而成.有兴趣的朋友,可以关注一下公众号AI球探(微信号ai00268).
Stars: ✭ 96 (+336.36%)
Mutual labels:  prediction
p3arsec
Parallel Patterns Implementation of PARSEC Benchmark Applications
Stars: ✭ 12 (-45.45%)
Mutual labels:  benchmarking
LSQ
Linked SPARQL Queries (LSQ): Framework for RDFizing triple store (web) logs and performing SPARQL query extraction, analysis and benchmarking in order to produce datasets of Linked SPARQL Queries
Stars: ✭ 23 (+4.55%)
Mutual labels:  benchmarking

Machine-learning Based Dynamic Resource Allocation in Network Function Virtualization

Virtual network functions (VNFs), e.g., firewalls or video optimizers, can run on standard x86 servers and can be instantiated, terminated, or migrated according to the current demand. Depending on the load a VNF instance has to process, it requires more or less resources (e.g., CPU) to function properly. Dynamically allocating a suitable amount of resources to each VNF instance is non trivial and depends on the characteristics of the VNF and its current load. Here, we propose to use machine learning regression algorithms to predict VNF resource requirements by learning from raw VNF performance measurements. The resulting machine learning models can be integrated and used in existing VNF placement algorithms to automatically assign the right amount of resources to each new VNF instance or to dynamically adjust allocated resources of already deployed VNF instances.

This repository contains real-world VNF performance data from the SNDZoo, code to train machine learning models on this data, as well as trained and saved models, which are ready to use. It also contains all data used to evaluate the impact of using machine learning in VNF placement algorithms. As an example, we adjusted the B-JointSP algorithm for joint scaling and placement of VNFs to use our machine learning models (see B-JointSP repo with our adjustments).

If you use this repository, please cite our paper:

"Machine Learning for Dynamic Resource Allocation in Network Function Virtualization" by Stefan Schneider, Narayanan Puthenpurayil Satheeschandran, Manuel Peuster, and Holger Karl. IEEE Conference on Network Softwarization (NetSoft), 2020.

Setup

Requires Python 3.6+.

pip install -r requirements.txt

If there are issues with the installation, check requirements_freeze.txt, which is a superset of the required dependencies but with specific version numbers. With this environment, I successfully ran the notebooks.

Usage

All code in this repository is Python code running in Jupyter notebooks. After installing the requirements above, you can run Jupyter Lab as follows:

jupyter lab

This starts the Jupyter server and should open a browser tab showing the Jupyter Lab GUI with the available notebooks. The following notebooks are available:

  • example.ipynb: Code for generating example VNF data, training ML models on this data. Used for motivational example and illustration in paper.
  • synth_data.ipynb: Code for generating example VNF data, training and evaluating different ML models on this data.
  • vnf_web.ipynb: Code reading real-world VNF performance data, processing it, training multiple ML models, tuning hyperparamters of these models, and comparing their RMSE.
  • placement_eval.ipynb: Code parsing and plotting VNF placement results produced with the B-JointSP algorithm and different ML models.
  • runtime.ipynb: Code for measuring/parsing the runtimes of prediction and VNF placement with different models

In addition, we adjusted and used the B-JointSP VNF placement algorithm for applying our machine learning models to dynamic resource allocation in VNF placement.

Contact

This work was developed as part of the RealVNF project.

Lead developer: Stefan Schneider

For questions or support, please use GitHub's issue system.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].