Skip to content

A fork of Nu that tracks metrics about remote communication to optimize for locality

License

Notifications You must be signed in to change notification settings

Bokai-Bi/Nu-LocalityMetrics

 
 

Repository files navigation

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/CX5 NIC and Ethernet network. However, it may take some porting effort to adapt Nu to the platform 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 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 to how to write Nu programs.

Reproducing Paper Results

Coming soon, stay tuned!

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.

About

A fork of Nu that tracks metrics about remote communication to optimize for locality

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 32.6%
  • C++ 26.6%
  • Lua 8.9%
  • Java 3.6%
  • HTML 3.2%
  • C# 3.0%
  • Other 22.1%