File tree 3 files changed +24
-5
lines changed
3 files changed +24
-5
lines changed Original file line number Diff line number Diff line change @@ -259,11 +259,30 @@ PosixPassthrough Statistics
259
259
260
260
# ## Scalability test
261
261
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
+
262
278
` ` ` shell
263
279
$ 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>
265
283
` ` `
266
284
285
+
267
286
# ## Connecting to the Cheferd control plane
268
287
269
288
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)).
Original file line number Diff line number Diff line change 3
3
# padll_path='/home1/07853/rgmacedo/padll/build'
4
4
padll_path=' path/to/padll/build'
5
5
6
- iops=100000000
6
+ iops=10000000
7
7
num_runs=1
8
8
9
9
# $1 = number of stages
@@ -15,9 +15,9 @@ function Execute {
15
15
export padll_workflows=$2
16
16
for (( stage= 1 ; stage< ($1 + 1 ); stage++ )) ; do
17
17
LD_PRELOAD=$padll_path /libpadll.so $padll_path /padll_scalability_bench $num_runs $2 $iops $1 > /dev/null 2>&1 &
18
- echo " $? "
18
+ # echo "$?"
19
19
done
20
- echo " "
20
+ echo " " ; echo " Results are placed at /tmp/padll-scalability-results/. " ; echo " " ;
21
21
}
22
22
23
23
" $@ "
Original file line number Diff line number Diff line change 1
1
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
You can’t perform that action at this time.
0 commit comments