Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carv-ics-forth/cccbench
A Benchmark that quantifies the performance of of the cache hierarchy and on-chip components
https://github.com/carv-ics-forth/cccbench
Last synced: about 24 hours ago
JSON representation
A Benchmark that quantifies the performance of of the cache hierarchy and on-chip components
- Host: GitHub
- URL: https://github.com/carv-ics-forth/cccbench
- Owner: CARV-ICS-FORTH
- License: bsd-3-clause
- Created: 2022-12-07T09:27:29.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-03T12:36:57.000Z (6 months ago)
- Last Synced: 2024-11-10T16:37:13.614Z (about 2 months ago)
- Language: C
- Homepage:
- Size: 89.8 KB
- Stars: 2
- Watchers: 8
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
cccbench
=======cccbench (carv-ccbench) is a benchmark that measures the communication latency between two cores for very small (single cache line) messages.
To achieve this, the benchmark ping-pongs a single cache line between the two cores.
The initial inspitation for this benchmark is ccbench, written by Vasileios Trigonakis . In fact before deciding to write
a benchmark from scratch, we decided to adapt ccbench to our requirements. Although, we have now taken a different approach, the porting effort and additional features we added to the original ccbench can be found in the `ccbench-port` branch of this repository.cccbench can be used as a standalone tool or as a library. Within the source directory an example script `example-script.sh` is provided, demonstrating how to benchmark can be used to create a csv file, for a multi-iteration run that collects results for a set of cores of a machine.
The library interface of cccbench can be found in the `c2c.h` header file## System Requirements
- OS: linux
- At least 2 cores## Use
### Example 1
```
git clone https://github.com/CARV-ICS-FORTH/cccbench.git
mkdir build
cd build
cmake ..
make
cp ../scripts/example-script.sh .
./example-script.sh
```
### Example 2```
git clone https://github.com/CARV-ICS-FORTH/cccbench.git
mkdir build
cd build
cmake ..
make
./alltoall 0 8 4 alltoall-cores0to8-4iterations.csv
```