Skip to content

Commit fb38aea

Browse files
[doc] Update README with new Parallax setup and branch
1 parent 2975a6f commit fb38aea

File tree

1 file changed

+15
-25
lines changed

1 file changed

+15
-25
lines changed
Lines changed: 15 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,28 @@
11
# Running fdb-hammer with Parallax
22

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+
```
1110
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+
```
2516
- Build Parallax with the following flag enabled:
2617
```
27-
-DKV_MAX_SIZE_128K=ON
18+
-DSEGMENT_SIZE=134217728 -DCUSTOM_KV_MAX_SIZE=4194304
2819
```
2920
- Follow the Parallax build instructions if additional guidance is needed.
3021
31-
4. **Start the Parallax Server**
22+
3. **Start the Parallax Server**
3223
- Run the Parallax server executable on `localhost:8080`.
3324
- Ensure the server is running before starting `fdb-hammer`.
3425
35-
36-
5. **Run the fdb-hammer executable**
26+
4. **Run the fdb-hammer executable**
3727
- Execute the `fdb-hammer` binary with the required parameters.
3828
- **IMPORTANT:** Always set the `nparams` parameter to `4` when running the executable.

0 commit comments

Comments
 (0)