You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add CS, PRL, LDC and RDC access patterns with supporting config (#118)
* Add CS, PRL, RDC, and LDC patterns and supporting config
* Remove extra whitespace
* Add Readme for the new patterns
* Bugfix: Checks on parameter values separated for different access patterns
* Add and modify code documentation
* Remove unused parameters to functions
* Committing clang-format changes
4 new patterns are added to the h5bench read benchmark:
3
+
1. CS: Refers to the Cross Stencil data access pattern. A block of fixed sides is used to read data from HDF5. This block is given a fixed stride in each dimension and data till end of file is read.
4
+
2. LDC: Refers to the Left Diagonal Corner data access pattern. Data is read from two identical blocks of fixed sides, one in the top left corner and the other in the bottom right corner in the 2D HDF5 file
5
+
3. RDC: Refers to the Right Diagonal Corner data access pattern. Data is read from two identical blocks of fixed sides, one in the top right corner and the other in the bottom left corner in the 2D HDF5 file
6
+
4. PRL: Refers to the Peripheral data access pattern. Data is read from the periphery of the file, which is a frame of fixed width and height around the file.
7
+
8
+
These patterns work with a single MPI process. In case multiple processes are used, only the root performs the read operations and all other processes skip the reads. Illustrations of the patterns are given in the table below:
Steps for running these benchmarks are the same as the other benchmarks. All parameter and requirements and running instructions remain same, except for the following parameters which are additionally required to be provided in the configuration:
17
+
1. CS
18
+
| Parameter | Description |
19
+
| --------- | ----------- |
20
+
|`BLOCK_SIZE`| Size of the block of data along `dim_1`|
21
+
|`BLOCK_SIZE_2`| Size of the block of data along `dim_2`|
22
+
|`STRIDE_SIZE`| Size of the block of data along `dim_1`|
23
+
|`STRIDE_SIZE_2`| Size of the block of data along `dim_2`|
24
+
25
+
2. LDC/RDC
26
+
| Parameter | Description |
27
+
| --------- | ----------- |
28
+
|`BLOCK_SIZE`| Size of the block of data along `dim_1`|
29
+
|`BLOCK_SIZE_2`| Size of the block of data along `dim_2`|
30
+
31
+
3. PRL
32
+
| Parameter | Description |
33
+
| --------- | ----------- |
34
+
|`BLOCK_SIZE`| Size of the frame along `dim_1`|
35
+
|`BLOCK_SIZE_2`| Size of the frame along `dim_2`|
36
+
37
+
Exmaples of some configurations are provided in `h5bench/samples/sync-write-1d-contig-contig-read-<pattern>.json`
0 commit comments