Skip to content

Commit d90d354

Browse files
committed
README updated
1 parent e071c47 commit d90d354

File tree

3 files changed

+24
-5
lines changed

3 files changed

+24
-5
lines changed

README.md

+20-1
Original file line numberDiff line numberDiff line change
@@ -259,11 +259,30 @@ PosixPassthrough Statistics
259259

260260
### Scalability test
261261

262+
To test the data plane scalability, one can also resort to the `padll_scalability_bench` benchmark.
263+
The following configurations are only the changes with respect to the "Simple test" example.
264+
265+
**PADLL configurations: options header**
266+
```yaml
267+
# include/padll/options/options.hpp
268+
- option_default_hsk_rules_file : "hsk-scale-test"
269+
```
270+
271+
**PAIO configurations: options header**
272+
```yaml
273+
# include/paio/options/options.hpp
274+
- option_default_channel_differentiation_workflow : true
275+
- option_default_channel_differentiation_operation_type : false
276+
```
277+
262278
```shell
263279
$ cd /path/to/padll
264-
$ LD_PRELOAD=$PATH_PADLL/libpadll.so ./build/padll_scalability_bench
280+
$ vi benchmarking/bench.sh # set the padll_path to the correct pathname
281+
# maximum number of threads is currently set to 128
282+
$ ./benchmarking/bench.sh Execute <number-of-stages> <number-of-threads/workflows>
265283
```
266284

285+
267286
### Connecting to the Cheferd control plane
268287

269288
To execute with the [Cheferd](https://github.com/dsrhaslab/cheferd) control plane, one must set the following configurations at the options header file ([options.hpp](https://github.com/dsrhaslab/padll/blob/master/include/padll/options/options.hpp)).

benchmarking/bench.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# padll_path='/home1/07853/rgmacedo/padll/build'
44
padll_path='path/to/padll/build'
55

6-
iops=100000000
6+
iops=10000000
77
num_runs=1
88

99
# $1 = number of stages
@@ -15,9 +15,9 @@ function Execute {
1515
export padll_workflows=$2
1616
for (( stage=1; stage<($1+1); stage++ )); do
1717
LD_PRELOAD=$padll_path/libpadll.so $padll_path/padll_scalability_bench $num_runs $2 $iops $1 > /dev/null 2>&1 &
18-
echo "$?"
18+
# echo "$?"
1919
done
20-
echo ""
20+
echo ""; echo "Results are placed at /tmp/padll-scalability-results/."; echo "";
2121
}
2222

2323
"$@"

files/hsk-simple-test

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
1 create_channel 1000 posix 1000 open no_op
2-
2 create_object 1000 1 posix no_op no_op drl 10000 1000
2+
2 create_object 1000 1 posix no_op no_op drl 10000 20000

0 commit comments

Comments
 (0)