Code Monkey home page Code Monkey logo

hucx's Introduction




Unified Communication X

Unified Communication X (UCX) provides an optimized communication layer for Message Passing (MPI), PGAS/OpenSHMEM libraries and RPC/data-centric applications.

UCX utilizes high-speed networks for inter-node communication, and shared memory mechanisms for efficient intra-node communication.

Using UCX

Building and Running Internal Unit Tests

$ ./autogen.sh
$ ./contrib/configure-devel
$ make
$ make -C test/gtest test

UCX Performance Test

Start server:

$ ./src/tools/perf/ucx_perftest -c 0

Connect client:

$ ./src/tools/perf/ucx_perftest <server-hostname> -t tag_lat -c 0

Our Community

Licenses

UCX is licensed as:

Contributor Agreement and Guidelines

In order to contribute to UCX, please sign up with an appropriate Contributor Agreement.

Follow these instructions when submitting contributions and changes.

UCX Publications

To reference UCX in a publication, please use the following entry:

@inproceedings{shamis2015ucx,
  title={UCX: an open source framework for HPC network APIs and beyond},
  author={Shamis, Pavel and Venkata, Manjunath Gorentla and Lopez, M Graham and Baker, Matthew B and Hernandez, Oscar and Itigin, Yossi and Dubman, Mike and Shainer, Gilad and Graham, Richard L and Liss, Liran and others},
  booktitle={2015 IEEE 23rd Annual Symposium on High-Performance Interconnects},
  pages={40--43},
  year={2015},
  organization={IEEE}
}

To reference the UCX website:

@misc{openucx-website,
    title = {{The Unified Communication X Library}},
    key = {{{The Unified Communication X Library}},
    howpublished = {{\url{http://www.openucx.org}}}
}

UCX Architecture

Component Role Description
UCP Protocol Implements high-level abstractions such as tag-matching, streams, connection negotiation and establishment, multi-rail, and handling different memory types
UCT Transport Implements low-level communication primitives such as active messages, remote memory access, and atomic operations
UCS Services A collection of data structures, algorithms, and system utilities for common use
UCM Memory Intercepts memory allocation and release events, used by the memory registration cache

Supported Transports

Supported CPU Architectures

Huawei Optimization Introduction

Based on performance consideration, UCX DO NOT provide the functionalities related to transmission security.

There are three optimized collective operations:

  • MPI_Allreduce
  • MPI_Bcast
  • MPI_Barrier

New algorithms are as follows:

  • Binomial tree
  • Ring
  • Recursive
  • Topo-aware Binomial tree
  • Topo-aware K-nomial tree
  • Topo-aware Recursive + Binomial(intra)
  • Topo-aware Recursive + K-nomial(intra)

Select specific algorithm with parameters which is showed in the table below.

Bcast:

UCX_BUILTIN_BCAST_ALGORITHM Algorithm
1 Binomial tree
2 Topo-aware Binomial tree
3 Topo-aware K-nomial tree
4 Topo-aware K-nomial tree + Binomial tree(intra)

Allreduce:

UCX_BUILTIN_ALLREDUCE_ALGORITHM Algorithm
1 Recursive
2 Topo-aware Recursive + Binomial(intra)(Node)
3 Topo-aware Recursive + Binomial(intra)(Socket)
4 Ring
5 Topo-aware Recursive + K-nomial (intra)(Node)
6 Topo-aware Recursive + K-nomial (intra)(Socket)
7 Topo-aware K-nomial(Node)
8 Topo-aware K-nomial(Socket)

Barrier:

UCX_BUILTIN_BARRIER_ALGORITHM Algorithm
1 Recursive
2 Topo-aware Recursive + Binomial(intra)(Node)
3 Topo-aware Recursive + Binomial(intra)(Socket)
4 Topo-aware Recursive + K-nomial (intra)(Node)
5 Topo-aware Recursive + K-nomial (intra)(Socket)
6 Topo-aware K-nomial(Node)
7 Topo-aware K-nomial(Socket)

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.