Giter Club home page Giter Club logo

nu's Introduction

Nu System

Nu is a new datacenter system that enables developers to build fungible applications that can use datacenter resources wherever they are—even if they come from different machines—without the need of reserving them, thereby significantly improving resource efficiency. Currently, Nu supports C++ applications.

Paper

Supported Platform

We recommend you run Nu on Cloudlab. Currently, Nu supports Cloudlab's r650, r6525, c6525, d6515, and xl170 instances. In theory, Nu is compatible with any X86 server equipped with a Mellanox CX5/CX6 NIC and Ethernet network. However, it may require some porting effort to adapt Nu to other platforms not listed above.

Build Instructions

Configure Cloudlab Instances

  1. Apply for a Cloudlab account if you do not have one.
  2. Now you have logged into the Cloublab console. Click Experiments|-->Create Experiment Profile. Upload the cloudlab.profile we provided.
  3. Instantiate machines using the profile.

Build Nu

You can build Nu by simply executing the build.sh script we provided. You can either build on all of your machines using the same path or build on one machine and then distribute the folder to other machines. The build script will automatically execute the setup.sh script to correctly set up the environment for running Nu. You need to manually rerun the setup script each time after rebooting the machine.

After building Nu, you can test it by executing the test.sh script on one machine (don't run it simultaneously on multiple machines as it will cause interference). You are expected to see all unit tests passed. All test files are located in the test folder; they also serve as a good reference for how to write Nu programs.

Reproducing Paper Results

You can find our code and push-button scripts in the exp folder.

Repo Structure

Github Repo Root
 |---- app                 # Ported applications.
 |---- bench               # Microbenhmarks.
 |---- bin                 # AIFM code base.
 |---- caladan             # A modified Caladan used by Nu. DO NOT USE OTHER VERSIONS.
 |---- inc                 # Header files.
 |---- src                 # Source files.
 |---- test                # All unit tests.
 |---- 5.10-prezero.patch  # A kernel patch that speeds up mmap() by prezeroing pages.
 |---- build.sh            # A push-button build script.
 |---- cloudlab.profile    # Our cloudlab profile.
 |---- setup.sh            # A script that sets up the environment for running Nu.
 |---- shared.sh           # A helper script used by other scripts.
 |---- test.sh             # A push-button test script that runs all unit tests.

Contact

Contact Zain Ruan for any questions.

nu's People

Contributors

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