Giter Site home page Giter Site logo

cloning-apps's Introduction

Applications for showcasing Nephele

This repo wraps a range of applications that can be used for testing and evaluating the Nephele cloning solution for unikernel-based VMs. The applications run on Mini-OS and Unikraft unikernels, but also as Linux processes. Based on the build configuration, a binary image can run one or more of the following:

  • counter
  • simple UDP server used in the instantiation and memory consumption microbenchmarks of Nephele
  • simple TCP server
  • measure-fork was used for measuring the fork() duration for different memory sizes in the Nephele paper
  • memory-overhead measures the overhead added by Nephele for memory accesses after cloning a parent guest
  • files tests the cloning support for 9pfs
  • children is a fork server that waits for incoming requests to clone

How to build

Mini-OS

Our modified Mini-OS can be built together with the cloning applications by setting the CLONING_APPS_DIR and APP environment variables. For a thorough example, please check the build.sh script in our experiments repo. To build a Mini-OS image, run the following command in the Mini-OS tree:

make <other parameters ..>  CLONING_APPS_DIR=<path> APP=server-udp

Unikraft

The current tree is created also as a regular Unikraft application tree, providing the files needed for building it as Unikraft application: Config.uk, Makefile.uk and Makefile.unikraft. Thus the following command will built the binary image for Unikraft guests:

make -f Makefile.unikraft

You should use the Unikraft kernel modified for Nephele and the libraries (e.g., pthread-embedded, newlib, lwip, mimalloc) provided by our Unikraft-related repositories. The build.sh script in our experiments repo builds both Mini-OS and Unikraft images by running:

./build.sh guests

Linux

To build for Linux, run:

make -f Makefile.linux

cloning-apps's People

Contributors

clupuishere 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.