Multi-core Hash Joins
Main-memory hash join implementations for multi-core CPUs
Macros
npj_params.h File Reference

Constant parameters used by No Partitioning Join implementations. More...

Go to the source code of this file.

Macros

#define BUCKET_SIZE   2
 
#define CACHE_LINE_SIZE   64
 
#define OVERFLOW_BUF_SIZE   1024
 
#define PADDED_BUCKET   0 /* default case: not padded */
 
#define PREFETCH_DISTANCE   10
 

Detailed Description

Constant parameters used by No Partitioning Join implementations.

Author
Cagri Balkesen cagri.nosp@m..bal.nosp@m.kesen.nosp@m.@inf.nosp@m..ethz.nosp@m..ch
Date
Tue May 22 13:39:58 2012
Version
Id
npj_params.h 3017 2012-12-07 10:56:20Z bcagri

Definition in file npj_params.h.

Macro Definition Documentation

◆ BUCKET_SIZE

#define BUCKET_SIZE   2

Number of tuples that each bucket can hold

Definition at line 19 of file npj_params.h.

◆ CACHE_LINE_SIZE

#define CACHE_LINE_SIZE   64

Size of system cache line in bytes

Definition at line 24 of file npj_params.h.

◆ OVERFLOW_BUF_SIZE

#define OVERFLOW_BUF_SIZE   1024

Pre-allocation size for overflow buffers

Definition at line 29 of file npj_params.h.

◆ PADDED_BUCKET

#define PADDED_BUCKET   0 /* default case: not padded */

Should hashtable buckets be padded to cache line size

Definition at line 34 of file npj_params.h.

◆ PREFETCH_DISTANCE

#define PREFETCH_DISTANCE   10

Definition at line 38 of file npj_params.h.