NAU-IoT / benchmarks

Benchmarks for Raspberry Pi and NVIDIA Jetson performance
https://nau-iot.github.io/benchmarks/
MIT License
0 stars 1 forks source link

Docker Build Build Doxygen Documentation license benchmarks CUDA

Benchmarks

Simple repository comparing the Raspberry Pi 4, Raspberry Pi IO Board compute module and the NVIDIA Jetson Nano.

TODO, add a table here with some result

Tests for RPI's and Jetson Nano:

Tools used and needed:

Logic/algorithms implemented

Installation & Usage

Prerequisites

For running on bare system:

# compile
$ make compile
# install binary to /usr/bin
$ make install
# uninstall
$ make uninstall

Otherwise, use Docker...

# create docker image
$ make docker_img
# run
$ make docker_run
$ ./benchsys 
Usage: benchsys [-d | -b cpu | gpu ]
  -d : daemon mode to monitor system information
  -b : benchmark mode to run system stress tests with live monitoring
    cpu - run CPU-based benchmarks
    gpu - run GPU-based benchmarks

Installing CUDA

See here: https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=arm64-sbsa&Compilation=Native&Distribution=Ubuntu&target_version=20.04&target_type=deb_network

Base installation

$ wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/sbsa/cuda-keyring_1.1-1_all.deb
$ sudo dpkg -i cuda-keyring_1.1-1_all.deb
$ sudo apt-get update
$ sudo apt-get -y install cuda-toolkit-12-3

NVIDIA CUDA Drivers

$ sudo apt-get install -y cuda-drivers
$ sudo apt-get install -y nvidia-kernel-open-545
$ sudo apt-get install -y cuda-drivers-545

See here: https://docs.nvidia.com/cuda/cuda-installation-guide-linux/#switching-between-driver-module-flavors