Screen annotation software which allows drawing directly on the screen.
Project description
Simple RAM benchmark for Linux.
Simple RAM Benchmark
This is a simple RAM benchmark written ad-hoc. It allows to check approximate RAM speed. The code creates 1 GiB (1024*1024*1024 bytes) buffer and fill it with zeroes, scans the buffer and mesure the time.
Note: This is only experimental code written to check the RAM speed on Linux. There are probably better tools available like memtest86.
Requirements
- Unix/Linux OS (can be easily ported to Windows)
- g++ compiler compatible with OpenMP (for multi-threaded variant)
- at least 1 GB free RAM (for buffer)
Running
To execute the benchmark you only have to meet the requirements and run below commands:
pip install rambenchmark
rambenchmark
Tests
The benchmark uses two functions for tests:
- memset()
- memchr()
Output
The benchmark produces below example output:
======================================================================
BENCHMARKING RAM WITH MULTI THREADS
(...please wait...)
4 concurrent threads are supported.
----------------------------------------------------------------------
MEMSET TEST
RESULT of filling 1GiB buffer with zeros.
>>> 0.0654 (s) / 16415.2 (MB/s) <<<
Details
#Threads Time (s) Speed (MB/s)
1 0.0654 (s) 16415.2 (MB/s)
2 0.0663 (s) 16189.3 (MB/s)
3 0.0708 (s) 15161.6 (MB/s)
4 0.0750 (s) 14299.5 (MB/s)
----------------------------------------------------------------------
MEMCHR TEST
RESULT of scanning 1GiB buffer.
>>> 0.0776 (s) / 13820.1 (MB/s) <<<
Details
#Threads Time (s) Speed (MB/s)
1 0.1686 (s) 6365.2 (MB/s)
2 0.0985 (s) 10893.6 (MB/s)
3 0.0874 (s) 12281.8 (MB/s)
4 0.0776 (s) 13820.1 (MB/s)
======================================================================
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rambenchmark-1.1.tar.gz
(5.7 kB
view hashes)
Built Distribution
Close
Hashes for rambenchmark-1.1-cp35-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 105c3b04ade8cd48cc4c46b64dfaa1499f8bf5c85aa15adbcb43997b1ced0973 |
|
MD5 | eca440b78cd52584bfe143dbf55253f4 |
|
BLAKE2b-256 | 41ec7c5a19920669e26f7436661d641be6801c0d8c0318726182b46ea9c8859a |