GithubHelp home page GithubHelp logo

handong32 / cilantro Goto Github PK

View Code? Open in Web Editor NEW

This project forked from romilbhardwaj/cilantro

0.0 0.0 1.0 944 KB

Source code for OSDI 2023 paper titled "Cilantro - Performance-Aware Resource Allocation for General Objectives via Online Feedback"

License: MIT License

Shell 2.80% Python 97.10% Dockerfile 0.10%

cilantro's Introduction

Cilantro: Performance-Aware Resource Allocation for General Objectives via Online Feedback

Cilantro Architecture

Cilantro is a scheduling framework for performance-aware allocation of resources among competing jobs. Unlike other schedulers, which require jobs to state resource demands, Cilantro applies online-learning to dynamically allocate resources optimizing for the user stated objective. Objectives may be defined on individual utilities reported by jobs, such as latency and throughput SLOs.

For more details, please refer to our OSDI 2023 paper.

Running Cilantro Experiments

Below we link to two examples of running Cilantro on Kubernetes clusters. These experiments were used in our paper.

This experiment borrows the hotel-reservation benchmark from Deathstarbench to demonstrate the application of cilantro to an application composed of many microservices. Cilantro can optimize the end-to-end performance of the application by individually controlling the resource allocation of each microservice. See Section 6.2 in the paper for more details.

Please follow experiments/microservices/README.md for instructions on how to run this experiment.

This experiment evaluates Cilantro’s multi-tenant policies (Section 4.1.2 in the paper) on a 1000 CPU cluster shared by 20 users. Please refer to Section 6.1 in the paper for more details.

Please follow experiments/cluster_sharing/README.md for instructions on how to run this experiment.

Directory Structure

  • ./cilantro contains the core Cilantro code base.
  • ./experiments contains the code for running Cilantro experiments presented in our paper.
  • cilantro-workloads is a sister repository that contains the workloads used in our paper. These workloads are already compiled and pushed to Cilantro's ECR repository.

Notes

  • If you'd like to build your own image for Cilantro, please refer to ./eks/README.md for instructions on how to create your own image registry on AWS ECR and build/push cilantro images to it.
  • ./README_DEV.md contains instructions for developers who want to modify and extend Cilantro.

Citing Cilantro

If you found Cilantro useful, you can cite us:

@inproceedings {288542,
author = {Romil Bhardwaj and Kirthevasan Kandasamy and Asim Biswal and Wenshuo Guo and Benjamin Hindman and Joseph Gonzalez and Michael Jordan and Ion Stoica},
title = {Cilantro: {Performance-Aware} Resource Allocation for General Objectives via Online Feedback},
booktitle = {17th USENIX Symposium on Operating Systems Design and Implementation (OSDI 23)},
year = {2023},
isbn = {978-1-939133-34-2},
address = {Boston, MA},
pages = {623--643},
url = {https://www.usenix.org/conference/osdi23/presentation/bhardwaj},
publisher = {USENIX Association},
month = jul,
}

cilantro's People

Contributors

romilbhardwaj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.