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

How to perform the VectorAdd test #53

Open
LIULIU7450 opened this issue Jan 27, 2025 · 0 comments
Open

How to perform the VectorAdd test #53

LIULIU7450 opened this issue Jan 27, 2025 · 0 comments

Comments

@LIULIU7450
Copy link

Hello,
I have successfully compiled and deployed BaM without changing any code, and successfully conducted ./bin/nvm-block-bench test. Then I want to do a vectoradd test and manually generate two uint64_t-type array files myself. But I didn't seem to get the right result when I executed the order.
Am I doing something wrong? Looking forward to hearing from you.

The dataset format is similar to: 11979491907981575361 14781399720832619079 6295093674802734779 4029032006792990171 1846864827012633614 12460109068955325311 2635881568147141554 1514833615616068322 ....

./nvm-vectoradd-bench --input_a "/home/1733/dataset/a" --input_b "/home/1733/dataset/b"
A: /home/1733/dataset/a B: /home/1733/dataset/b
Total elements: 1048576
file read time: 0.0129816
Allocation finished
Initialization done
launching optimized: blockDim.x :64 numthreads:1024
sum: 0

VA 0 A:/home/1733/dataset/a B:/home/1733/dataset/b Impl: 1 SSD: 1 CL: 4096 Cache: 8589934592 Stride: 1 TotalTime 0. 023552 ms

./nvm-vectoradd-bench --input_a "/home/1733/dataset/a" --input_b "/home/1733/dataset/b" - -memalloc 6 --impl_type 3
A: /home/1733/dataset/a B: /home/1733/dataset/b
Total elements: 1048576
Allocation finished
page size: 4096, pc_entries: 2097152
SQs: 63 CQs: 63 n_qps: 63
Controllers Created
Initialization done
n_ranges_bits: 6
n_ranges_mask: 63
pages_dma: 0x7f7c34010000 d0010010000
HEREN
Cond1
200000 8 1 200000
Finish Making Page Cache
Page cache initialized
launching optimized: blockDim.x :64 numthreads:1024
sum: 0
#READ IOs: 0 #Accesses:0 #Misses:0 Miss Rate:-nan #Hits: 0 Hit Rate:-nan CLSize:4096


#READ IOs: 0 #Accesses:0 #Misses:0 Miss Rate:-nan #Hits: 0 Hit Rate:-nan CLSize:4096


VA 0 A:/home/1733/dataset/a B:/home/1733/dataset/b Impl: 3 SSD: 1 CL: 4096 Cache: 8589934592 Stride: 1 TotalTime 0. 119808 ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant