Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

πŸ› [BUG] - Performance Gap for Gather-Scatter Kernel #221

Open
radelja opened this issue Oct 4, 2024 · 0 comments
Open

πŸ› [BUG] - Performance Gap for Gather-Scatter Kernel #221

radelja opened this issue Oct 4, 2024 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@radelja
Copy link
Contributor

radelja commented Oct 4, 2024

πŸ’Ώ OS

RHEL 8

πŸ—οΈ Architecture

x86_64

πŸ“ Description

There is a performance gap between versions 1.1 and 2.0 of Spatter for the OpenMP gather-scatter kernel. This has been mentioned in the wiki, and this gap remains despite changes to the OpenMP kernels to align the disassembled instructions of Spatter 2.0 with version 1.1. The bandwidth reported by Spatter 2.0 is nearly half the bandwidth of version 1.1 on Cascade Lake and Sandy Bridge.

πŸ”„ Reproduction steps

  1. Go to project directory
  2. Run CMake to build OpenMP backend with cmake -DUSE_OPENMP=1 -B build_openmp -S . && make -j$(nproc) -C build_openmp
  3. Run Spatter with a gather-scatter pattern using -gUNIFORM:8:1 -uUNIFORM:8:1 -ksg -l16777216 -v2 -t12

πŸ’¬ Logs

Running Spatter version 1.1
Compiler: GNU ver. 8.5.0
Backend: OpenMP
Aggregate Results? NO

Run Configurations
[ {'id': 0, 'kernel': 'sg', 'pattern': [], 'pattern-gather': [0, 1, 2, 3, 4, 5, 6, 7], 'pattern-scatter': [0, 1, 2, 3, 4, 5, 6, 7], 'delta': 8, 'delta-gather': 8, 'delta-scatter': 8, 'count': 16777216, 'wrap': 1, 'threads': 12} ]

config         bytes          time(s)        bw(MB/s)       
0              2147483648     0.0396006      54228.6
@radelja radelja added bug Something isn't working enhancement New feature or request labels Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant