GithubHelp home page GithubHelp logo

data-acc's Introduction

Data Accelerator

Data Accelerator uses commodity storage to accelerate HPC jobs. Currently targeting initial integration with the Slurm Burst Buffer plugin, with Lustre over Intel P4600 attached to Dell R730 with 2x100Gb/s OPA.

Demo

To see end to end demo with Slurm (not currently working):

cd docker-slurm
./update_burstbuffer.sh

To clean up after the demo:

docker-compose down --vol

Build

To build it locally and run tests:

dep ensure
make
make test

Code Introduction

Here is a quick introduction to the code.

Dependencies

All components depend on etcd (v3 API), both to store its state, and communicate via watching for state changes.

You can configure the system to access a locally running etcd by setting:

export ETCDCTL_ENDPOINTS=127.0.0.1:2379

Go's dep is used to manage code dependencies. To get the dependencies sorted run:

dep ensure

To aid unit testing, generally all concrete implementations are created in the executable's main function.

Executables

There is a brick host manager, running on every data accelerator (DAC) node. It is responsible for reporting the installed disks, and watching for volume updates relating to any volume that has its primary brick (brick zero) assigned to that host.

There is fakewarp that helps integrate with Slurm's burst buffer system. It users the libs provided in this repo to create jobs and volumes, including assigning bricks to volumes, and request and report on volume state changes. The volume state changes are generally responded to by the above brick host manager.

Packages

  • "github.com/RSE-Cambridge/data-acc/internal/pkg/registry" is the core data model of the PoolRegistry and VolumeRegistry

  • "github.com/RSE-Cambridge/data-acc/internal/pkg/keystoreregistry" depends on a keystore interface, and implements the PoolRegistry and VolumeRegistry

  • "github.com/RSE-Cambridge/data-acc/internal/pkg/etcdregistry" implements the keystore interface using etcd

  • "github.com/RSE-Cambridge/data-acc/internal/pkg/lifecycle" provides business logic on top of registry interface

  • "github.com/RSE-Cambridge/data-acc/internal/pkg/pfsprovider" provides a plugin interface, and various implementations that implement needed configuration and setup of the data accelerator node

  • "github.com/RSE-Cambridge/data-acc/internal/pkg/fakewarp" this does the main work of implementing the CLI tool. While we use "github.com/urfave/cli" is used to build the cli, we keep this at arms length via a CliContext interface.

  • "github.com/RSE-Cambridge/data-acc/internal/pkg/fileio" interfaces to help with unit testing file reading and writing

  • "github.com/RSE-Cambridge/data-acc/internal/pkg/mocks" these are mock interfaces needed for unit testing, created using "github.com/golang/mock/gomock" and can be refreshed by running a build script.

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.