Giter Club home page Giter Club logo

sas's Introduction

SAS

SAS logo

SAS crate SAS documentation

SAS (Salty-And-Sweet) is an one-line Rust runtime optimization library.

Features

  • NUMA-aware rayon: numa feature should be enabled
    • If you have 1 NUMA nodes, you can experience about 20% performance improvements if the tasks are completed at approximately equal times.
    • If you have 2+ NUMA nodes, you can experience extreme performance improvements.

Install

Simple one-shot mode

fn main() {
    // That's end!
    sas::init();

    // ... your heavy works
}

Advanced mode

TBD

Benchmarks

This sections describes the benchmark results. It uses default package features (zero-touch).

Note that the benchmark metrics are sensitive to process, so please benchmark each metric separately!

The lower elapsed time is the better.

Machine OS (in Docker) Kernel Metric Elapsed time (OFF) Elapsed time (ON) Performance Boost
NVIDIA DGX-2 Ubuntu 22.04 5.14.0-284.11.1.el9_2.x86_64 rayon_sum 5,175,824 ns/iter (+/- 2,767,386) 247,236 ns/iter (+/- 6,151) 20.93x

License

SAS is distributed under the terms of both the MIT license and the Apache License (Version 2.0). See LICENSE-APACHE and LICENSE-MIT for details. Opening a pull request is assumed to signal agreement with these licensing terms.

sas's People

Contributors

hokim98 avatar

Stargazers

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