Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,4 @@ workflows:
name: performance-regression-<< matrix.executor >>
requires:
- build-<< matrix.executor >>
matrix:
<<: *matrix
exclude:
- executor: "py27"
matrix: *matrix
2 changes: 2 additions & 0 deletions tests/performance/tests/api_description/api_description.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ modules:
services:
- module: shellexec
prepare:
- "ps aux | grep '[c]om.amazonaws.ml.mms.ModelServer' | awk '{print $2}' | xargs kill -9"
- "multi-model-server --start > /dev/null 2>&1"
- "sleep 10s"
post-process:
- "multi-model-server --stop > /dev/null 2>&1"
- "sleep 10s"
- module: server_local_monitoring
ServerLocalClient:
- interval: 1s
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ modules:
services:
- module: shellexec
prepare:
- "ps aux | grep '[c]om.amazonaws.ml.mms.ModelServer' | awk '{print $2}' | xargs kill -9"
- "curl -s -O https://s3.amazonaws.com/model-server/inputs/kitten.jpg"
- "multi-model-server --start > /dev/null 2>&1"
- "sleep 20s"
Expand All @@ -28,6 +29,7 @@ services:
- "curl -s -X PUT http://localhost:8081/models/squeezenet_v1.1?min_worker=2&synchronous=true"
post-process:
- "multi-model-server --stop > /dev/null 2>&1"
- "sleep 10"
- "rm kitten.jpg"
- module: server_local_monitoring # should be added in modules section
ServerLocalClient: # keyword from metrics_monitoring_inproc.Monitor
Expand Down
2 changes: 2 additions & 0 deletions tests/performance/tests/batch_inference/batch_inference.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ modules:
services:
- module: shellexec
prepare:
- "ps aux | grep '[c]om.amazonaws.ml.mms.ModelServer' | awk '{print $2}' | xargs kill -9"
- "curl -s -O https://s3.amazonaws.com/model-server/inputs/kitten.jpg"
- "multi-model-server --start > /dev/null 2>&1"
- "sleep 20s"
Expand All @@ -26,6 +27,7 @@ services:
- "curl -s -X PUT http://localhost:8081/models/resnet-152?min_worker=2&synchronous=true"
post-process:
- "multi-model-server --stop > /dev/null 2>&1"
- "sleep 10"
- "rm kitten.jpg"
- module: server_local_monitoring # should be added in modules section
ServerLocalClient: # keyword from metrics_monitoring_inproc.Monitor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ modules:
services:
- module: shellexec
prepare:
- "ps aux | grep '[c]om.amazonaws.ml.mms.ModelServer' | awk '{print $2}' | xargs kill -9"
- "curl -s -O https://s3.amazonaws.com/model-server/inputs/kitten.jpg"
- "multi-model-server --start > /dev/null 2>&1"
- "sleep 10s"
post-process:
- "multi-model-server --stop > /dev/null 2>&1"
- "sleep 10"
- "rm kitten.jpg"
- module: server_local_monitoring # should be added in modules section
ServerLocalClient: # keyword from metrics_monitoring_inproc.Monitor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@ modules:
services:
- module: shellexec
prepare:
- "ps aux | grep '[c]om.amazonaws.ml.mms.ModelServer' | awk '{print $2}' | xargs kill -9"
- "curl -s -O https://s3.amazonaws.com/model-server/inputs/kitten.jpg"
- "multi-model-server --start > /dev/null 2>&1"
- "sleep 10s"
post-process:
- "multi-model-server --stop > /dev/null 2>&1"
- "sleep 10"
- "rm kitten.jpg"
- module: server_local_monitoring # should be added in modules section
ServerLocalClient: # keyword from metrics_monitoring_inproc.Monitor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ scenarios:
services:
- module: shellexec
prepare:
- "ps aux | grep '[c]om.amazonaws.ml.mms.ModelServer' | awk '{print $2}' | xargs kill -9"
- "curl -s -O https://s3.amazonaws.com/model-server/inputs/kitten.jpg"
- "multi-model-server --start > /dev/null 2>&1"
- "sleep 10s"
post-process:
- "multi-model-server --stop > /dev/null 2>&1"
- "sleep 10"
- "rm kitten.jpg"
- module: monitoring
server-agent:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ scenarios:
services:
- module: shellexec
prepare:
- "ps aux | grep '[c]om.amazonaws.ml.mms.ModelServer' | awk '{print $2}' | xargs kill -9"
- "curl -s -O https://s3.amazonaws.com/model-server/inputs/kitten.jpg"
- "multi-model-server --start > /dev/null 2>&1"
- "sleep 10s"
post-process:
- "multi-model-server --stop > /dev/null 2>&1"
- "sleep 10"
- "rm kitten.jpg"
- module: monitoring
server-agent:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ scenarios:
services:
- module: shellexec
prepare:
- "ps aux | grep '[c]om.amazonaws.ml.mms.ModelServer' | awk '{print $2}' | xargs kill -9"
- "curl -s -O https://s3.amazonaws.com/model-server/inputs/kitten.jpg"
- "multi-model-server --start > /dev/null 2>&1"
- "sleep 10s"
post-process:
- "multi-model-server --stop > /dev/null 2>&1"
- "sleep 10"
- "rm kitten.jpg"

Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ modules:
services:
- module: shellexec
prepare:
- "ps aux | grep '[c]om.amazonaws.ml.mms.ModelServer' | awk '{print $2}' | xargs kill -9"
- "curl -s -O https://s3.amazonaws.com/model-server/inputs/kitten.jpg"
- "./tests/unregister_while_inferencing/custom_model_for_slow_inference.sh build"
- "multi-model-server --start --model-store=tmp_store > /dev/null 2>&1"
Expand All @@ -24,6 +25,7 @@ services:
- "curl -s -X PUT http://localhost:8081/models/squeezenet_v1.1?min_worker=1&synchronous=true"
post-process:
- "multi-model-server --stop > /dev/null 2>&1"
- "sleep 10"
- "./tests/unregister_while_inferencing/custom_model_for_slow_inference.sh clean"
- "rm kitten.jpg"
- module: server_local_monitoring
Expand Down
2 changes: 2 additions & 0 deletions tests/performance/tests/health_check/health_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ modules:
services:
- module: shellexec
prepare:
- "ps aux | grep '[c]om.amazonaws.ml.mms.ModelServer' | awk '{print $2}' | xargs kill -9"
- "multi-model-server --start > /dev/null 2>&1"
- "sleep 10s"
post-process:
- "multi-model-server --stop > /dev/null 2>&1"
- "sleep 10"
- module: server_local_monitoring
ServerLocalClient:
- interval: 1s
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ modules:
services:
- module: shellexec
prepare:
- "ps aux | grep '[c]om.amazonaws.ml.mms.ModelServer' | awk '{print $2}' | xargs kill -9"
- "curl -s -O https://s3.amazonaws.com/model-server/inputs/kitten.jpg"
- "multi-model-server --start > /dev/null 2>&1"
- "sleep 20s"
Expand All @@ -25,6 +26,7 @@ services:
- "curl -s -X PUT http://localhost:8081/models/resnet-18?min_worker=1&synchronous=true"
post-process:
- "multi-model-server --stop > /dev/null 2>&1"
- "sleep 10"
- "rm kitten.jpg"
- module: server_local_monitoring
ServerLocalClient:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ modules:
services:
- module: shellexec
prepare:
- "ps aux | grep '[c]om.amazonaws.ml.mms.ModelServer' | awk '{print $2}' | xargs kill -9"
- "curl -s -O https://s3.amazonaws.com/model-server/inputs/kitten.jpg"
- "multi-model-server --start > /dev/null 2>&1"
- "sleep 20s"
- "curl -s -X POST http://localhost:8081/models?url=https://s3.amazonaws.com/model-server/model_archive_1.0/squeezenet_v1.1.mar"
- "curl -s -X PUT http://localhost:8081/models/squeezenet_v1.1?min_worker=4&synchronous=true"
post-process:
- "multi-model-server --stop > /dev/null 2>&1"
- "sleep 10"
- "rm kitten.jpg"
- module: server_local_monitoring
ServerLocalClient:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ modules:
services:
- module: shellexec
prepare:
- "ps aux | grep '[c]om.amazonaws.ml.mms.ModelServer' | awk '{print $2}' | xargs kill -9"
- "curl -s -O https://s3.amazonaws.com/model-server/inputs/kitten.jpg"
- "multi-model-server --start > /dev/null 2>&1"
- "sleep 20s"
- "curl -s -X POST http://localhost:8081/models?url=https://s3.amazonaws.com/model-server/model_archive_1.0/squeezenet_v1.1.mar"
- "curl -s -X PUT http://localhost:8081/models/squeezenet_v1.1?min_worker=1&synchronous=true"
post-process:
- "multi-model-server --stop > /dev/null 2>&1"
- "sleep 10"
- "rm kitten.jpg"
- module: server_local_monitoring
ServerLocalClient:
Expand Down
2 changes: 2 additions & 0 deletions tests/performance/tests/list_models/list_models.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ modules:
services:
- module: shellexec
prepare:
- "ps aux | grep '[c]om.amazonaws.ml.mms.ModelServer' | awk '{print $2}' | xargs kill -9"
- "multi-model-server --start > /dev/null 2>&1"
- "sleep 20s"
- "curl -s -X POST http://localhost:8081/models?url=https://s3.amazonaws.com/model-server/model_archive_1.0/squeezenet_v1.1.mar"
- "curl -s -X POST http://localhost:8081/models?url=https://s3.amazonaws.com/model-server/model_archive_1.0/shufflenet.mar"
post-process:
- "multi-model-server --stop > /dev/null 2>&1"
- "sleep 10"
- module: server_local_monitoring
ServerLocalClient:
- interval: 1s
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ modules:
services:
- module: shellexec
prepare:
- "ps aux | grep '[c]om.amazonaws.ml.mms.ModelServer' | awk '{print $2}' | xargs kill -9"
- "multi-model-server --start > /dev/null 2>&1"
- "sleep 20s"
- "curl -s -X POST http://localhost:8081/models?url=https://s3.amazonaws.com/model-server/model_archive_1.0/squeezenet_v1.1.mar"
- "curl -s -X PUT http://localhost:8081/models/squeezenet_v1.1?min_worker=1&synchronous=true"
post-process:
- "multi-model-server --stop > /dev/null 2>&1"
- "sleep 10"
- module: server_local_monitoring
ServerLocalClient:
- interval: 1s
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ modules:
services:
- module: shellexec
prepare:
- "ps aux | grep '[c]om.amazonaws.ml.mms.ModelServer' | awk '{print $2}' | xargs kill -9"
- "curl -s -O https://s3.amazonaws.com/model-server/inputs/kitten.jpg"
- "multi-model-server --start > /dev/null 2>&1"
- "sleep 20s"
Expand All @@ -25,6 +26,7 @@ services:
- "curl -s -X PUT http://localhost:8081/models/resnet-18?min_worker=1&synchronous=true"
post-process:
- "multi-model-server --stop > /dev/null 2>&1"
- "sleep 10"
- "rm kitten.jpg"
- module: server_local_monitoring
ServerLocalClient:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ modules:
services:
- module: shellexec
prepare:
- "ps aux | grep '[c]om.amazonaws.ml.mms.ModelServer' | awk '{print $2}' | xargs kill -9"
- "curl -s -O https://s3.amazonaws.com/model-server/inputs/kitten.jpg"
- "multi-model-server --start > /dev/null 2>&1"
- "sleep 10s"
post-process:
- "multi-model-server --stop > /dev/null 2>&1"
- "sleep 10"
- "rm kitten.jpg"
- module: server_local_monitoring
ServerLocalClient:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ settings:
UNREG_RT: 150ms
TOTAL_PROCS_WITH_EXTRA_MODEL_AND_WORKERS : 5
TOTAL_PROCS_WITHOUT_EXTRA_MODEL : 2
TOTAL_FDS : 509
TOTAL_FDS : 524
FRNTEND_MEM : 425000000 #425MB
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ modules:
services:
- module: shellexec
prepare:
- "ps aux | grep '[c]om.amazonaws.ml.mms.ModelServer' | awk '{print $2}' | xargs kill -9"
- "curl -s -O https://s3.amazonaws.com/model-server/inputs/kitten.jpg"
- "multi-model-server --start > /dev/null 2>&1"
- "sleep 20s"
- "curl -s -X POST http://localhost:8081/models?url=https://s3.amazonaws.com/model-server/model_archive_1.0/resnet-18.mar"
post-process:
- "multi-model-server --stop > /dev/null 2>&1"
- "sleep 10"
- "rm kitten.jpg"
- module: server_local_monitoring
ServerLocalClient:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ settings:
TOTAL_WRKRS_AFTR_SCL_DWN : 2
FRNTEND_FDS : 494
TOTAL_WRKRS_FDS_B4_SCL_DWN: 43
TOTAL_WRKRS_FDS_AFTR_SCL_DWN: 24
TOTAL_WRKRS_FDS_AFTR_SCL_DWN: 17
FRNTEND_MEM : 770000000 #770MB
TOTAL_WRKRS_MEM_B4_SCL_DWN : 430000000 #430MB
TOTAL_WRKRS_MEM_AFTR_SCL_DWN : 220000000 #220MB
TOTAL_WRKRS_MEM_AFTR_SCL_DWN : 200000000 #200MB
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ modules:
services:
- module: shellexec
prepare:
- "ps aux | grep '[c]om.amazonaws.ml.mms.ModelServer' | awk '{print $2}' | xargs kill -9"
- "multi-model-server --start > /dev/null 2>&1"
- "sleep 20s"
- "curl -s -X POST http://localhost:8081/models?url=https://s3.amazonaws.com/model-server/model_archive_1.0/squeezenet_v1.1.mar"
- "curl -s -X PUT http://localhost:8081/models/squeezenet_v1.1?min_worker=4&synchronous=true"
post-process:
- "multi-model-server --stop > /dev/null 2>&1"
- "sleep 10"
- module: server_local_monitoring
ServerLocalClient:
- interval: 1s
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ modules:
services:
- module: shellexec
prepare:
- "ps aux | grep '[c]om.amazonaws.ml.mms.ModelServer' | awk '{print $2}' | xargs kill -9"
- "multi-model-server --start > /dev/null 2>&1"
- "sleep 20s"
- "curl -s -X POST http://localhost:8081/models?url=https://s3.amazonaws.com/model-server/model_archive_1.0/squeezenet_v1.1.mar"
- "curl -s -X PUT http://localhost:8081/models/squeezenet_v1.1?min_worker=1&synchronous=true"
post-process:
- "multi-model-server --stop > /dev/null 2>&1"
- "sleep 10"
- module: server_local_monitoring
ServerLocalClient:
- interval: 1s
Expand Down