-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update server configs generating scripts (#233)
* Fix python3 octal literals handling - ref: PEP 3127 * Add PMEM and slimcache support in server configs generating scripts Modify scripts which generate server config files for multiple instances to support PMEM and slimcache usage. Add new parameter to provide paths to PMEM mount points. Modifies scripts introduced in commit 809fb94
- Loading branch information
1 parent
1b5ac4d
commit 14050d3
Showing
4 changed files
with
102 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
## Examples | ||
|
||
For PMEM usage use `-m` parameter followed by a list of PMEM mount point paths. Without that parameter configs will be created for RAM usage. | ||
Note that the first mount point provided will be bound to the numa node 0, next mount point to the numa node 1, etc. | ||
Put a list of mount points in quotes when providing more than one path. | ||
|
||
Twemcache: | ||
|
||
``` | ||
# generating configs without PMEM support | ||
./generate.sh -s -p pelikan/_build/_bin/pelikan_twemcache -c -r rpc-perf/target/release/rpc-perf -t 127.0.0.1 | ||
# generating configs with PMEM support for two mount points | ||
./generate.sh -s -p pelikan/_build/_bin/pelikan_twemcache -c -r rpc-perf/target/release/rpc-perf -t 127.0.0.1 -m "/mnt/pmem0 /mnt/pmem1" | ||
``` | ||
|
||
Slimcache: | ||
|
||
``` | ||
# generating configs without PMEM support | ||
./generate.sh -s -p pelikan/_build/_bin/pelikan_slimcache -c -r rpc-perf/target/release/rpc-perf -t 127.0.0.1 | ||
# generating configs with PMEM support for two mount points | ||
./generate.sh -s -p pelikan/_build/_bin/pelikan_slimcache -c -r rpc-perf/target/release/rpc-perf -t 127.0.0.1 -m "/mnt/pmem0 /mnt/pmem1" | ||
``` | ||
|
||
To run benchmarks provide paths to generated config directories: | ||
``` | ||
./runtest.sh -c rpcperf_100_1024_4 -s pelikan_1024_4 -t 127.0.0.1 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters