|
1 | 1 | # Running fdb-hammer with Parallax |
2 | 2 |
|
3 | | -1. **Edit the Configuration File** |
4 | | -- Open the configuration file: |
5 | | - ``` |
6 | | - fdb-kv/tests/fdb/etc/fdb/config.yaml |
7 | | - ``` |
8 | | -- Set the engine to either `parallax` or `daos`: |
9 | | - - `parallax` for Parallax engine |
10 | | - - `daos` for the dummy DAOS implementation that uses Parallax |
| 3 | +1. **Build fdb-kv** |
| 4 | + - Read the `README.md` file in the project, and also check the `Dockerfile` to understand how to download the necessary dependencies for the project. |
| 5 | + - **IMPORTANT:** |
| 6 | + - Use both of these flags: |
| 7 | + ``` |
| 8 | + -DUSE_PARALLAX=ON -DHAVE_PARALLAXFDB=ON |
| 9 | + ``` |
11 | 10 |
|
12 | | -2. **Build fdb-kv** |
13 | | -- Read the `README.md` file in the project, and also check the `Dockerfile` to understand how to download the necessary dependencies for the project. |
14 | | -- **IMPORTANT:** |
15 | | - - To use the dummy DAOS implementation, set the following flag: |
16 | | - ``` |
17 | | - -DUSE_PARALLAX=ON |
18 | | - ``` |
19 | | - - To build with the Parallax engine, use both of these flags: |
20 | | - ``` |
21 | | - -DUSE_PARALLAX=ON -DHAVE_PARALLAXFDB=ON |
22 | | - ``` |
23 | | -
|
24 | | -3. **Build Parallax** |
| 11 | +2. **Build Parallax** |
| 12 | + - Checkout the branch `parallax_server_msg_rework`: |
| 13 | + ``` |
| 14 | + git checkout parallax_server_msg_rework |
| 15 | + ``` |
25 | 16 | - Build Parallax with the following flag enabled: |
26 | 17 | ``` |
27 | | - -DKV_MAX_SIZE_128K=ON |
| 18 | + -DSEGMENT_SIZE=134217728 -DCUSTOM_KV_MAX_SIZE=4194304 |
28 | 19 | ``` |
29 | 20 | - Follow the Parallax build instructions if additional guidance is needed. |
30 | 21 |
|
31 | | -4. **Start the Parallax Server** |
| 22 | +3. **Start the Parallax Server** |
32 | 23 | - Run the Parallax server executable on `localhost:8080`. |
33 | 24 | - Ensure the server is running before starting `fdb-hammer`. |
34 | 25 |
|
35 | | -
|
36 | | -5. **Run the fdb-hammer executable** |
| 26 | +4. **Run the fdb-hammer executable** |
37 | 27 | - Execute the `fdb-hammer` binary with the required parameters. |
38 | 28 | - **IMPORTANT:** Always set the `nparams` parameter to `4` when running the executable. |
0 commit comments