• Stars
    star
    343
  • Rank 123,371 (Top 3 %)
  • Language
    C
  • License
    MIT License
  • Created almost 12 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Simple benchmark for memory throughput and latency
This is a simple memory benchmark program, which tries to measure the peak
bandwidth of sequential memory accesses and the latency of random memory
accesses. Bandwidth is measured by running different assembly code for
the aligned memory blocks and attempting different prefetch strategies.

The benchmark results for some hardware can be found in the wiki page:
    https://github.com/ssvb/tinymembench/wiki

This program can be compiled in either linux or windows (via mingw32 and msys)
by simply running make:
    $ make

Adding extra optimization options is possible (in linux):
    $ CFLAGS="-O2 -march=atom -mtune=atom" make

Example of crosscompiling for ARM (also in linux):
    $ CC=arm-linux-gnueabihf-gcc CFLAGS="-O2 -mcpu=cortex-a9" make

Example of crosscompiling and running the benchmark on android device:
    $ CC=arm-linux-gnueabihf-gcc CFLAGS="-O2 -mcpu=cortex-a8 -static" make
    $ adb push tinymembench /data/local/tmp/tinymembench
    $ adb shell /data/local/tmp/tinymembench

More Repositories

1

xf86-video-fbturbo

Xorg DDX driver for ARM devices (Allwinner, RPi and others)
C
201
star
2

cpuburn-arm

A collection of cpuburn programs tuned for different ARM hardware
Assembly
88
star
3

lima-memtester

Memory stress testing tool, implemented by combining http://limadriver.org/ and http://pyropus.ca/software/memtester/
C
39
star
4

cpuminer

PS3 (Cell BE) optimized miner for Litecoin
C
13
star
5

sunxi-bootsetup

A set of scripts to provide installer initramfs for Allwinner hardware.
Ruby
12
star
6

a10-dram-tools

This is a set of tools, which can assist in configuring the Allwinner A10/A13/A20 DRAM controller.
Ruby
9
star
7

gentoo-overlay-mali-x11

A portage overlay for gentoo, intended to simplify installation of xf86-video-sunxifb
5
star
8

trimmed-cairo-traces

A trimmed variant of http://cgit.freedesktop.org/cairo-traces so that the traces run fast enough even on slow embedded systems
Shell
4
star
9

u-boot-sunxi-dram

Upstreaming sunxi DRAM initialization fixes
C
4
star
10

prng

PRNG experiments based on http://burtleburtle.net/bob/rand/smallprng.html
C
4
star
11

glmark2

A fork of https://launchpad.net/glmark2
C
3
star
12

render_bench

render_bench program from http://www.rasterman.com/files/render_bench.tar.gz
C
2
star
13

ssvb.github.com

my personal blog: http://ssvb.github.com
CSS
1
star
14

xrandr

C
1
star
15

dialog-sunxi

A patched version (to use FEL button on Allwinner hardware). The upstream project is at http://invisible-island.net/dialog/
C
1
star
16

adventofcode

Solutions for https://adventofcode.com
D
1
star
17

buildroot

This is a personal sandbox for experiments. The upstream repository is at git://git.buildroot.net/buildroot
Makefile
1
star
18

eglblobware

A set of shared library wrappers to handle the buggy proprietary GLES blobs
Assembly
1
star
19

libjpeg-turbo-linaro-armv8

A clone of https://git.linaro.org/gitweb?p=people/ragesh.r/libjpeg-turbo-armv8.git
C
1
star
20

speedy-stdio

A faster replacement for a subset of std.stdio module from D language
D
1
star