File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11571157 - ' --ipv4={ipv4}'
11581158 vars :
11591159 - ' num_servers=0'
1160- - ' memsize=0.5 '
1160+ - ' memsize=0.25 '
11611161 - ' fast_threads_ratio=0.75'
11621162 - ' slow_to_fast_ratio=3'
11631163 - ' warmup_time=0'
1164- - ' test_time=30 '
1164+ - ' test_time=15 '
11651165 - ' num_clients=2'
1166- - ' clients_per_thread=0 '
1166+ - ' clients_per_thread=190 '
11671167 - ' bind_cpu=1'
11681168 - ' bind_mem=1'
1169- - ' stats_interval=5000 '
1169+ - ' stats_interval=1000 '
11701170 - ' port_number_start=11211'
11711171 - ' disable_tls=0'
1172- - ' timeout_buffer=30 '
1172+ - ' timeout_buffer=10 '
11731173 - ' num_slow_threads=0'
11741174 - ' num_fast_threads=0'
1175+ # 0 = scale the client with usable cores: max(1, cores-6, cores*0.8).
11751176 - ' num_client_threads=0'
11761177 - ' warmup_timeout_buffer=0'
11771178 - ' test_timeout_buffer=0'
Original file line number Diff line number Diff line change @@ -202,6 +202,12 @@ minimal settings to enable quick testing and validation.
202202A ` breakdown.csv ` file will be generated in the results to track runtime breakdowns,
203203which can be used to filter metrics for the actual benchmark execution time.
204204
205+ #### How to tune the memory usage
206+
207+ ` memsize ` (the server cache) is the key knob that determines the memory usage of the benchmark.
208+ The default value is ` 0.25 ` which allocates about ~ 200MB memory.
209+
210+
205211### Result reporting
206212
207213Once the tao_bench benchmark finishes, benchpress will report the results in JSON format
You can’t perform that action at this time.
0 commit comments