Giter Club home page Giter Club logo

benchmarking-aws's Introduction

benchmarking-aws

A repo where I benchmark exotic and ridiculously powerful machines on AWS

Results

benchmark metrics

Pricing data

Tools

Installing on Amazon Linux

curl -s https://packagecloud.io/install/repositories/akopytov/sysbench/script.rpm.sh | sudo bash
sudo yum -y install sysbench

Alternatively run:

make benchmark-sysbench-amazon

install and benchmark cmd:

python3 -m venv ~/.benchmark\
    && source ~/.benchmark/bin/activate\
    && make install\
    && make benchmark-kmeans

run:

make benchmark-kmeans

Machines

Github Codespaces 4-core Ubuntu

  • Kmeans
(.venv) @noahgift ➜ /workspaces/benchmarking-aws (main) $ make benchmark-kmeans 
./benchmark.py
KMeans cluster fit in 3.0112905502319336
KMeans cluster fit in 3.0478947162628174
KMeans cluster fit in 3.1041808128356934
KMeans cluster fit in 3.089890718460083
Performed 4 KMeans in total time: 3.303737163543701
Kmeans/sec:  1.2107500693879243
  • sysbench
(.venv) @noahgift ➜ /workspaces/benchmarking-aws (main ✗) $ ./benchmark.sh 
Running with CPU Count and Threads:  4
sysbench 1.0.20 (using bundled LuaJIT 2.1.0-beta2)

Running the test with following options:
Number of threads: 4
Initializing random number generator from current time


Prime numbers limit: 10000

Initializing worker threads...

Threads started!

CPU speed:
    events per second:  3397.18

General statistics:
    total time:                          10.0012s
    total number of events:              33981

Latency (ms):
         min:                                    0.83
         avg:                                    1.18
         max:                                   18.46
         95th percentile:                        1.27
         sum:                                39979.04

Threads fairness:
    events (avg/stddev):           8495.2500/94.27
    execution time (avg/stddev):   9.9948/0.00

Macbook Pro (16-inch, 2021), Apple M1 Max, Memory 64GB

  • kmeans
(.benchmark) ➜  benchmarking-aws git:(main) make benchmark-kmeans 
./benchmark.py
KMeans cluster fit in 0.9891571998596191
KMeans cluster fit in 0.9297049045562744
KMeans cluster fit in 0.965522050857544
KMeans cluster fit in 0.9847841262817383
KMeans cluster fit in 0.9845497608184814
KMeans cluster fit in 0.9792351722717285
KMeans cluster fit in 0.986346960067749
KMeans cluster fit in 0.9968240261077881
KMeans cluster fit in 0.97275710105896
KMeans cluster fit in 1.001432180404663
Performed 10 KMeans in total time: 1.4205470085144043
Kmeans/sec:  7.039541768109394
  • sysbench
./benchmark.sh
Running with CPU Count and Threads:  10
sysbench 1.0.20 (using system LuaJIT 2.1.0-beta3)

Running the test with following options:
Number of threads: 10
Initializing random number generator from current time


Prime numbers limit: 10000

Initializing worker threads...

Threads started!

CPU speed:
    events per second: 6801315.33

General statistics:
    total time:                          10.0001s
    total number of events:              68015731

Latency (ms):
         min:                                    0.00
         avg:                                    0.00
         max:                       18446744073709.55
         95th percentile:                        0.00
         sum:                                25764.58

Threads fairness:
    events (avg/stddev):           6801573.1000/54711.67
    execution time (avg/stddev):   2.5765/0.09

References

benchmarking-aws's People

Contributors

noahgift avatar

Stargazers

 avatar Jeffery Padgett avatar Yuliana avatar

Watchers

 avatar James Cloos avatar  avatar

benchmarking-aws's Issues

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.