Commit 6fde5a17 authored by TousakaRin's avatar TousakaRin

Adjust test cases

parent 6ae39ecd
--case_file=test_case_test #client settings
--case_file=test_case_test.json
--client_qps_change_interval_us=50000 --client_qps_change_interval_us=50000
--max_retry=0 --max_retry=0
--auto_cl_overload_threshold=0.3 #auto_cl settings
--auto_cl_initial_max_concurrency=16 --auto_cl_initial_max_concurrency=40
--auto_cl_max_explore_ratio=0.3
--auto_cl_min_explore_ratio=0.06
--auto_cl_change_rate_of_explore_ratio=0.02
--auto_cl_reduce_ratio_while_remeasure=0.9
--auto_cl_latency_fluctuation_correction_factor=2
#server setings for async sleep
--latency_change_interval_us=50000 --latency_change_interval_us=50000
--server_bthread_concurrency=4 --server_bthread_concurrency=4
--server_sync_sleep_us=2500 --server_sync_sleep_us=2500
--use_usleep=false --use_usleep=false
#server setings for sync sleep
#--latency_change_interval_us=50000
#--server_bthread_concurrency=16
#--server_max_concurrency=15
#--server_sync_sleep_us=2500
#--use_usleep=true
--case_file=test_case_test
--client_qps_change_interval_us=50000
--max_retry=0
--auto_cl_overload_threshold=0.3
--auto_cl_initial_max_concurrency=16
--latency_change_interval_us=50000
--server_bthread_concurrency=16
--server_max_concurrency=15
--server_sync_sleep_us=2500
--use_usleep=true
...@@ -29,12 +29,6 @@ ...@@ -29,12 +29,6 @@
"max_concurrency":"auto", "max_concurrency":"auto",
"qps_stage_list": "qps_stage_list":
[ [
{
"lower_bound":100,
"upper_bound":1500,
"duration_sec":10,
"type":2
},
{ {
"lower_bound":1500, "lower_bound":1500,
"upper_bound":1500, "upper_bound":1500,
...@@ -59,12 +53,6 @@ ...@@ -59,12 +53,6 @@
"max_concurrency":"auto", "max_concurrency":"auto",
"qps_stage_list": "qps_stage_list":
[ [
{
"lower_bound":100,
"upper_bound":300,
"duration_sec":10,
"type":2
},
{ {
"lower_bound":300, "lower_bound":300,
"upper_bound":1800, "upper_bound":1800,
...@@ -89,12 +77,6 @@ ...@@ -89,12 +77,6 @@
"max_concurrency":"auto", "max_concurrency":"auto",
"qps_stage_list": "qps_stage_list":
[ [
{
"lower_bound":200,
"upper_bound":3000,
"duration_sec":20,
"type":2
},
{ {
"lower_bound":3000, "lower_bound":3000,
"upper_bound":3000, "upper_bound":3000,
...@@ -118,12 +100,6 @@ ...@@ -118,12 +100,6 @@
"max_concurrency":"auto", "max_concurrency":"auto",
"qps_stage_list": "qps_stage_list":
[ [
{
"lower_bound":200,
"upper_bound":3000,
"duration_sec":20,
"type":2
},
{ {
"lower_bound":3000, "lower_bound":3000,
"upper_bound":3000, "upper_bound":3000,
...@@ -213,70 +189,65 @@ ...@@ -213,70 +189,65 @@
] ]
}, },
{ {
"case_name":"qps_fluctuate_noload, latency_fluctuate_noload", "case_name":"qps_stable_noload, latency_leap_raise",
"max_concurrency":"auto", "max_concurrency":"auto",
"qps_stage_list": "qps_stage_list":
[ [
{ {
"lower_bound":100, "lower_bound":300,
"upper_bound":300, "upper_bound":1800,
"duration_sec":10, "duration_sec":20,
"type":2 "type":2
}, },
{ {
"lower_bound":300, "lower_bound":1800,
"upper_bound":1800, "upper_bound":1800,
"duration_sec":190, "duration_sec":220,
"type":1 "type":2
} }
], ],
"latency_stage_list": "latency_stage_list":
[ [
{ {
"lower_bound":30000, "lower_bound":30000,
"upper_bound":30000,
"duration_sec":100,
"type":2
},
{
"lower_bound":50000,
"upper_bound":50000, "upper_bound":50000,
"duration_sec":200, "duration_sec":100,
"type":1 "type":2
} }
] ]
}, },
{ {
"case_name":"qps_stable_noload, latency_leap_raise", "case_name":"qps_fluctuate_noload, latency_fluctuate_noload",
"max_concurrency":"auto", "max_concurrency":"auto",
"qps_stage_list": "qps_stage_list":
[ [
{ {
"lower_bound":300, "lower_bound":300,
"upper_bound":1800, "upper_bound":1800,
"duration_sec":20, "duration_sec":190,
"type":2 "type":1
},
{
"lower_bound":1800,
"upper_bound":1800,
"duration_sec":220,
"type":2
} }
], ],
"latency_stage_list": "latency_stage_list":
[ [
{ {
"lower_bound":30000, "lower_bound":30000,
"upper_bound":30000,
"duration_sec":100,
"type":2
},
{
"lower_bound":50000,
"upper_bound":50000, "upper_bound":50000,
"duration_sec":100, "duration_sec":200,
"type":2 "type":1
} }
] ]
} }
]} ]}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment