Git Product home page Git Product logo

parallel-packed-csr's Introduction

Parallel Packed CSR

A parallel implementation of the packed CSR data structure, based on its initial single threaded design[1](https://github.com/wheatman/Packed-Compressed-Sparse-Row/) and further parallel extension [2]. Accepts a core graph, which it loads first and an update file, which it uses to update the core graph (insert or delete edges). Performs edge insertions and deletions in parallel and uses NUMA-aware placement of data and worker threads.

Prerequisites

  • CMAKE 3.8 or newer required.

Build

Create a build directory and run cmake & make there:

$ mkdir build && cd build
$ cmake ..
$ make

Running

Run the parallel-packed-csr binary from your build directory.

Command line options

  • -threads=: specifies number of threads to use for updates, default=8
  • -size=: specifies number of edges that will be read from the update file, default=1000000
  • -lock_free: runs the data structure lock-free version of binary search, locks during binary search by default
  • -partitions_per_domain=: specifies the number of graph partitions per NUMA domain
  • -insert: inserts the edges from the update file to the core graph
  • -delete: deletes the edges from the update file from the core graph
  • -core_graph=: specifies the filename of the core graph
  • -update_file=: specifies the filename of the update file
  • Available partitioning strategies (if multiple strategies are given, the last one is used):
    • -ppcsr: No partitioning
    • -pppcsr: Partitioning (1 partition per NUMA domain)
    • -pppcsrnuma: Partitioning with explicit NUMA optimizations (default)

Authors

  • Eleni Alevra
  • Christian Menges
  • Dom Margan

References

[1] Wheatman, B., & Xu, H. (2018). Packed Compressed Sparse Row: A Dynamic Graph Representation. 2018 IEEE High Performance Extreme Computing Conference, HPEC 2018.

[2] Alevra, E., & Pietzuch, P. (2020). A Parallel Data Structure for Streaming Graphs. Master’s thesis, Imperial College London, 2020.

parallel-packed-csr's People

Contributors

domargan avatar elenial avatar garfield96 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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