Multi-core Hash Joins
Main-memory hash join implementations for multi-core CPUs
npj_params.h
Go to the documentation of this file.
1
10#ifndef NPJ_PARAMS_H
11#define NPJ_PARAMS_H
12// DEBUG
13// KEY_8B
14// NO_TIMING
15// PREFETCH_NPJ
16
18#ifndef BUCKET_SIZE
19#define BUCKET_SIZE 2
20#endif
21
23#ifndef CACHE_LINE_SIZE
24#define CACHE_LINE_SIZE 64
25#endif
26
28#ifndef OVERFLOW_BUF_SIZE
29#define OVERFLOW_BUF_SIZE 1024
30#endif
31
33#ifndef PADDED_BUCKET
34#define PADDED_BUCKET 0 /* default case: not padded */
35#endif
36
37#ifndef PREFETCH_DISTANCE
38#define PREFETCH_DISTANCE 10
39#endif
40
41#endif /* NPJ_PARAMS_H */