This repository was archived by the owner on Dec 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
[DCOS-59736] Add MWT #21 parameter files. #552
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,170 @@ | ||
# Depends on: | ||
# - TEST_NAME | ||
# - TEST_S3_BUCKET | ||
# - TEST_S3_FOLDER | ||
|
||
# Workload configuration ####################################################### | ||
# | ||
# Total CPU quota: 88 | ||
# Total MEM quota: 200000 | ||
# Total GPU quota: 40 | ||
|
||
CLUSTER_URL="https://mwt21dr.scaletesting.mesosphe.re" | ||
SECURITY="strict" | ||
|
||
DCOS_CLI_URL="https://downloads.dcos.io/cli/releases/binaries/dcos/linux/x86-64/latest/dcos" | ||
|
||
# Test configuration ########################################################### | ||
|
||
SHOULD_INSTALL_INFRASTRUCTURE=true | ||
SHOULD_INSTALL_NON_GPU_DISPATCHERS=true | ||
SHOULD_INSTALL_GPU_DISPATCHERS=false | ||
SHOULD_RUN_FINITE_STREAMING_JOBS=true | ||
SHOULD_RUN_INFINITE_STREAMING_JOBS=true | ||
SHOULD_RUN_BATCH_JOBS=true | ||
SHOULD_RUN_GPU_BATCH_JOBS=false | ||
SHOULD_UNINSTALL_INFRASTRUCTURE_AT_THE_END=false | ||
|
||
# Infrastructure configuration ################################################# | ||
|
||
GROUP_NAME="${TEST_NAME}" | ||
|
||
SERVICE_NAMES_PREFIX="${TEST_NAME}/" | ||
INFRASTRUCTURE_OUTPUT_FILE="infrastructure.json" | ||
|
||
KAFKA_CLUSTER_COUNT=1 | ||
CASSANDRA_CLUSTER_COUNT=1 | ||
|
||
ZOOKEEPER_CPUS=10 | ||
ZOOKEEPER_MEM=20000 | ||
ZOOKEEPER_CONFIG='scale-tests/configs/kafka-zookeeper-options.json' | ||
# Note: empty package repo values will default to latest Universe packages. | ||
ZOOKEEPER_PACKAGE_REPO="https://universe-converter.mesosphere.com/transform?url=https://infinity-artifacts.s3.amazonaws.com/permanent/confluent-zookeeper/assets/2.6.1-5.1.2e/stub-universe-confluent-zookeeper.json" | ||
# 2.6.0-5.1.2e from the Universe didn't have role-enforcement support. Used | ||
# 2.6.1-5.1.2e permanent stub above. | ||
|
||
KAFKA_CPUS=10 | ||
KAFKA_MEM=20000 | ||
KAFKA_CONFIG='scale-tests/configs/kafka-options.json' | ||
# Note: empty package repo values will default to latest Universe packages. | ||
KAFKA_PACKAGE_REPO="https://universe-converter.mesosphere.com/transform?url=https://infinity-artifacts.s3.amazonaws.com/permanent/confluent-kafka/assets/2.7.1-5.3.0/stub-universe-confluent-kafka.json" | ||
# 2.7.0-5.3.0 from the Universe didn't have role-enforcement support. Used | ||
# 2.7.1-5.3.0 permanent stub above. | ||
|
||
CASSANDRA_CPUS=10 | ||
CASSANDRA_MEM=20000 | ||
CASSANDRA_CONFIG='scale-tests/configs/cassandra-options.json' | ||
# Note: empty package repo values will default to latest Universe packages. | ||
CASSANDRA_PACKAGE_REPO= | ||
# 2.7.0-3.11.4 from the Universe. | ||
|
||
# DSEngine configuration ####################################################### | ||
|
||
DSENGINE_CPUS=10 | ||
DSENGINE_MEM=20000 | ||
DSENGINE_GPUS=40 | ||
DSENGINE_PACKAGE_REPO= | ||
|
||
# Spark configuration ########################################################## | ||
|
||
SPARK_CONFIG='scale-tests/configs/spark-options.json' | ||
|
||
# Note: empty package repo values will default to latest Universe packages. | ||
# 2.9.0-2.4.3 from the Universe. | ||
SPARK_PACKAGE_REPO= | ||
|
||
# Note: leaving the Spark executor Docker image empty so that executors inherit | ||
# the image used for dispatchers. | ||
SPARK_EXECUTOR_DOCKER_IMAGE= | ||
|
||
# Non-GPU Spark dispatchers configuration ###################################### | ||
|
||
# Not currently used. | ||
BATCH_MAX_NON_GPU_JOBS=30 | ||
|
||
SPARK_NON_GPU_DISPATCHERS=3 | ||
SPARK_NON_GPU_DISPATCHERS_OUTPUT_FILE="non-gpu-dispatchers.out" | ||
# Note: this name is built internally by the deploy-dispatchers.py script. | ||
SPARK_NON_GPU_DISPATCHERS_JSON_OUTPUT_FILE="${SPARK_NON_GPU_DISPATCHERS_OUTPUT_FILE}-dispatchers.json" | ||
# Note: driver resources used per dispatcher (1 dispatcher will be able to run | ||
# 8 drivers since each driver requires 1 CPU). | ||
SPARK_NON_GPU_QUOTA_DRIVERS_CPUS=8 | ||
SPARK_NON_GPU_QUOTA_DRIVERS_MEM=20000 | ||
# Note: executor resources used per job (1 driver will run 1 job). | ||
SPARK_NON_GPU_QUOTA_EXECUTORS_CPUS=8 | ||
SPARK_NON_GPU_QUOTA_EXECUTORS_MEM=20000 | ||
|
||
# GPU Spark dispatchers configuration ########################################## | ||
|
||
# Not currently used. | ||
BATCH_MAX_GPU_JOBS=2 | ||
|
||
SPARK_GPU_DISPATCHERS=0 | ||
SPARK_GPU_DISPATCHERS_OUTPUT_FILE="gpu-dispatchers.out" | ||
SPARK_GPU_DISPATCHERS_JSON_OUTPUT_FILE="${SPARK_GPU_DISPATCHERS_OUTPUT_FILE}-dispatchers.json" # NOTE: this name is built internally by the deploy-dispatchers.py script. | ||
SPARK_GPU_QUOTA_DRIVERS_CPUS= | ||
SPARK_GPU_QUOTA_DRIVERS_MEM= | ||
SPARK_GPU_QUOTA_DRIVERS_GPUS= | ||
SPARK_GPU_QUOTA_EXECUTORS_CPUS= | ||
SPARK_GPU_QUOTA_EXECUTORS_MEM= | ||
SPARK_GPU_QUOTA_EXECUTORS_GPUS= | ||
|
||
# Common streaming jobs configuration ########################################## | ||
|
||
TEST_ASSEMBLY_JAR_URL='http://infinity-artifacts.s3.amazonaws.com/scale-tests/dcos-spark-scala-tests-assembly-2.4.0-20190325.jar' | ||
DISPATCHERS_JSON_OUTPUT_FILE="all-dispatchers.json" | ||
|
||
# Finite streaming jobs configuration ########################################## | ||
|
||
STREAMING_FINITE_SUBMISSIONS_OUTPUT_FILE="finite-submissions.out" | ||
STREAMING_FINITE_PRODUCERS_PER_KAFKA="${SPARK_NON_GPU_DISPATCHERS}" # 1 Kafka and 3 dispatchers -> 3 producers. | ||
STREAMING_FINITE_CONSUMERS_PER_PRODUCER=1 # 3 producers -> 3 consumers. | ||
# 3 producers + 3 consumers = 6 total finite streaming jobs | ||
STREAMING_FINITE_PRODUCER_NUMBER_OF_WORDS=7692 | ||
STREAMING_FINITE_PRODUCER_WORDS_PER_SECOND=1 | ||
# 7692 words / 1 word per second -> ~2h runtime. | ||
STREAMING_FINITE_PRODUCER_SPARK_CORES_MAX=2 | ||
STREAMING_FINITE_PRODUCER_SPARK_EXECUTOR_CORES=2 | ||
STREAMING_FINITE_CONSUMER_BATCH_SIZE_SECONDS=10 | ||
STREAMING_FINITE_CONSUMER_SPARK_CORES_MAX=1 | ||
STREAMING_FINITE_CONSUMER_SPARK_EXECUTOR_CORES=1 | ||
|
||
# Infinite streaming jobs configuration ######################################## | ||
|
||
STREAMING_INFINITE_SUBMISSIONS_OUTPUT_FILE="infinite-submissions.out" | ||
STREAMING_INFINITE_PRODUCERS_PER_KAFKA="${SPARK_NON_GPU_DISPATCHERS}" # 1 Kafka and 3 dispatchers -> 3 producers. | ||
STREAMING_INFINITE_CONSUMERS_PER_PRODUCER=1 # 3 producers -> 3 consumers. | ||
# 3 producers + 3 consumers = 6 total infinite streaming jobs | ||
STREAMING_INFINITE_PRODUCER_NUMBER_OF_WORDS=0 | ||
STREAMING_INFINITE_PRODUCER_WORDS_PER_SECOND=1 | ||
STREAMING_INFINITE_PRODUCER_SPARK_CORES_MAX=2 | ||
STREAMING_INFINITE_PRODUCER_SPARK_EXECUTOR_CORES=2 | ||
STREAMING_INFINITE_CONSUMER_BATCH_SIZE_SECONDS=10 | ||
STREAMING_INFINITE_CONSUMER_SPARK_CORES_MAX=1 | ||
STREAMING_INFINITE_CONSUMER_SPARK_EXECUTOR_CORES=1 | ||
|
||
# Batch jobs configuration ##################################################### | ||
|
||
SPARK_NON_GPU_DISPATCHERS_JSON_OUTPUT_FILE_URL="https://${TEST_S3_BUCKET}.s3.amazonaws.com/${TEST_S3_FOLDER}/${SPARK_NON_GPU_DISPATCHERS_JSON_OUTPUT_FILE}" | ||
|
||
BATCH_APP_ID="/${SERVICE_NAMES_PREFIX}batch-workload" | ||
BATCH_SCRIPT_CPUS=6 | ||
BATCH_SCRIPT_MEM=12288 | ||
BATCH_SUBMITS_PER_MIN=13 | ||
# TODO: update to master for the next MWT. | ||
BATCH_SPARK_BUILD_BRANCH="dcos-58437-deploy-workloads-under-role-enforced-group" | ||
|
||
# Batch GPU jobs configuration ################################################# | ||
|
||
SPARK_GPU_DISPATCHERS_JSON_OUTPUT_FILE_URL="https://${TEST_S3_BUCKET}.s3.amazonaws.com/${TEST_S3_FOLDER}/${SPARK_GPU_DISPATCHERS_JSON_OUTPUT_FILE}" | ||
|
||
GPU_APP_ID="/${SERVICE_NAMES_PREFIX}gpu-batch-workload" | ||
GPU_SCRIPT_CPUS=2 | ||
GPU_SCRIPT_MEM=4096 | ||
GPU_DOCKER_IMAGE='samvantran/spark-dcos-gpu:metrics' | ||
GPU_SUBMITS_PER_MIN=5 | ||
GPU_MAX_DISPATCHERS=${SPARK_GPU_DISPATCHERS} | ||
GPU_SPARK_CORES_MAX=4 | ||
GPU_SPARK_MESOS_EXECUTOR_GPUS=4 | ||
GPU_SPARK_MESOS_MAX_GPUS=4 | ||
GPU_SPARK_BUILD_BRANCH=master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,170 @@ | ||
# Depends on: | ||
# - TEST_NAME | ||
# - TEST_S3_BUCKET | ||
# - TEST_S3_FOLDER | ||
|
||
# Workload configuration ####################################################### | ||
# | ||
# Total CPU quota: 2290 | ||
# Total MEM quota: 4580000 | ||
# Total GPU quota: 40 | ||
|
||
CLUSTER_URL="https://mwt21.scaletesting.mesosphe.re" | ||
SECURITY="strict" | ||
|
||
DCOS_CLI_URL="https://downloads.dcos.io/cli/releases/binaries/dcos/linux/x86-64/latest/dcos" | ||
|
||
# Test configuration ########################################################### | ||
|
||
SHOULD_INSTALL_INFRASTRUCTURE=true | ||
SHOULD_INSTALL_NON_GPU_DISPATCHERS=true | ||
SHOULD_INSTALL_GPU_DISPATCHERS=false | ||
SHOULD_RUN_FINITE_STREAMING_JOBS=true | ||
SHOULD_RUN_INFINITE_STREAMING_JOBS=true | ||
SHOULD_RUN_BATCH_JOBS=true | ||
SHOULD_RUN_GPU_BATCH_JOBS=false | ||
SHOULD_UNINSTALL_INFRASTRUCTURE_AT_THE_END=false | ||
|
||
# Infrastructure configuration ################################################# | ||
|
||
GROUP_NAME="${TEST_NAME}" | ||
|
||
SERVICE_NAMES_PREFIX="${TEST_NAME}/" | ||
INFRASTRUCTURE_OUTPUT_FILE="infrastructure.json" | ||
|
||
KAFKA_CLUSTER_COUNT=1 | ||
CASSANDRA_CLUSTER_COUNT=1 | ||
|
||
ZOOKEEPER_CPUS=10 | ||
ZOOKEEPER_MEM=20000 | ||
ZOOKEEPER_CONFIG='scale-tests/configs/kafka-zookeeper-options.json' | ||
# Note: empty package repo values will default to latest Universe packages. | ||
ZOOKEEPER_PACKAGE_REPO="https://universe-converter.mesosphere.com/transform?url=https://infinity-artifacts.s3.amazonaws.com/permanent/confluent-zookeeper/assets/2.6.1-5.1.2e/stub-universe-confluent-zookeeper.json" | ||
# 2.6.0-5.1.2e from the Universe didn't have role-enforcement support. Used | ||
# 2.6.1-5.1.2e permanent stub above. | ||
|
||
KAFKA_CPUS=10 | ||
KAFKA_MEM=20000 | ||
KAFKA_CONFIG='scale-tests/configs/kafka-options.json' | ||
# Note: empty package repo values will default to latest Universe packages. | ||
KAFKA_PACKAGE_REPO="https://universe-converter.mesosphere.com/transform?url=https://infinity-artifacts.s3.amazonaws.com/permanent/confluent-kafka/assets/2.7.1-5.3.0/stub-universe-confluent-kafka.json" | ||
# 2.7.0-5.3.0 from the Universe didn't have role-enforcement support. Used | ||
# 2.7.1-5.3.0 permanent stub above. | ||
|
||
CASSANDRA_CPUS=10 | ||
CASSANDRA_MEM=20000 | ||
CASSANDRA_CONFIG='scale-tests/configs/cassandra-options.json' | ||
# Note: empty package repo values will default to latest Universe packages. | ||
CASSANDRA_PACKAGE_REPO= | ||
# 2.7.0-3.11.4 from the Universe. | ||
|
||
# DSEngine configuration ####################################################### | ||
|
||
DSENGINE_CPUS=10 | ||
DSENGINE_MEM=20000 | ||
DSENGINE_GPUS=40 | ||
DSENGINE_PACKAGE_REPO= | ||
|
||
# Spark configuration ########################################################## | ||
|
||
SPARK_CONFIG='scale-tests/configs/spark-options.json' | ||
|
||
# Note: empty package repo values will default to latest Universe packages. | ||
# 2.9.0-2.4.3 from the Universe. | ||
SPARK_PACKAGE_REPO= | ||
|
||
# Note: leaving the Spark executor Docker image empty so that executors inherit | ||
# the image used for dispatchers. | ||
SPARK_EXECUTOR_DOCKER_IMAGE= | ||
|
||
# Non-GPU Spark dispatchers configuration ###################################### | ||
|
||
# Not currently used. | ||
BATCH_MAX_NON_GPU_JOBS=1000 | ||
|
||
SPARK_NON_GPU_DISPATCHERS=50 | ||
SPARK_NON_GPU_DISPATCHERS_OUTPUT_FILE="non-gpu-dispatchers.out" | ||
# Note: this name is built internally by the deploy-dispatchers.py script. | ||
SPARK_NON_GPU_DISPATCHERS_JSON_OUTPUT_FILE="${SPARK_NON_GPU_DISPATCHERS_OUTPUT_FILE}-dispatchers.json" | ||
# Note: driver resources used per dispatcher (1 dispatcher will be able to run | ||
# 20 drivers since each driver requires 1 CPU). | ||
SPARK_NON_GPU_QUOTA_DRIVERS_CPUS=20 | ||
SPARK_NON_GPU_QUOTA_DRIVERS_MEM=50000 | ||
# Note: executor resources used per job (1 driver will run 1 job). | ||
SPARK_NON_GPU_QUOTA_EXECUTORS_CPUS=25 | ||
SPARK_NON_GPU_QUOTA_EXECUTORS_MEM=40000 | ||
|
||
# GPU Spark dispatchers configuration ########################################## | ||
|
||
# Not currently used. | ||
BATCH_MAX_GPU_JOBS=10 | ||
|
||
SPARK_GPU_DISPATCHERS=0 | ||
SPARK_GPU_DISPATCHERS_OUTPUT_FILE="gpu-dispatchers.out" | ||
SPARK_GPU_DISPATCHERS_JSON_OUTPUT_FILE="${SPARK_GPU_DISPATCHERS_OUTPUT_FILE}-dispatchers.json" # NOTE: this name is built internally by the deploy-dispatchers.py script. | ||
SPARK_GPU_QUOTA_DRIVERS_CPUS= | ||
SPARK_GPU_QUOTA_DRIVERS_MEM= | ||
SPARK_GPU_QUOTA_DRIVERS_GPUS= | ||
SPARK_GPU_QUOTA_EXECUTORS_CPUS= | ||
SPARK_GPU_QUOTA_EXECUTORS_MEM= | ||
SPARK_GPU_QUOTA_EXECUTORS_GPUS= | ||
|
||
# Common streaming jobs configuration ########################################## | ||
|
||
TEST_ASSEMBLY_JAR_URL='http://infinity-artifacts.s3.amazonaws.com/scale-tests/dcos-spark-scala-tests-assembly-2.4.0-20190325.jar' | ||
DISPATCHERS_JSON_OUTPUT_FILE="all-dispatchers.json" | ||
|
||
# Finite streaming jobs configuration ########################################## | ||
|
||
STREAMING_FINITE_SUBMISSIONS_OUTPUT_FILE="finite-submissions.out" | ||
STREAMING_FINITE_PRODUCERS_PER_KAFKA="${SPARK_NON_GPU_DISPATCHERS}" # 1 Kafka and 50 dispatchers -> 50 producers. | ||
STREAMING_FINITE_CONSUMERS_PER_PRODUCER=1 # 50 producers -> 50 consumers. | ||
# 50 producers + 50 consumers = 100 total finite streaming jobs | ||
STREAMING_FINITE_PRODUCER_NUMBER_OF_WORDS=7692 | ||
STREAMING_FINITE_PRODUCER_WORDS_PER_SECOND=1 | ||
# 7692 words / 1 word per second -> ~2h runtime. | ||
STREAMING_FINITE_PRODUCER_SPARK_CORES_MAX=2 | ||
STREAMING_FINITE_PRODUCER_SPARK_EXECUTOR_CORES=2 | ||
STREAMING_FINITE_CONSUMER_BATCH_SIZE_SECONDS=10 | ||
STREAMING_FINITE_CONSUMER_SPARK_CORES_MAX=1 | ||
STREAMING_FINITE_CONSUMER_SPARK_EXECUTOR_CORES=1 | ||
|
||
# Infinite streaming jobs configuration ######################################## | ||
|
||
STREAMING_INFINITE_SUBMISSIONS_OUTPUT_FILE="infinite-submissions.out" | ||
STREAMING_INFINITE_PRODUCERS_PER_KAFKA="${SPARK_NON_GPU_DISPATCHERS}" # 1 Kafka and 50 dispatchers -> 50 producers. | ||
STREAMING_INFINITE_CONSUMERS_PER_PRODUCER=1 # 50 producers -> 50 consumers. | ||
# 50 producers + 50 consumers = 100 total infinite streaming jobs | ||
STREAMING_INFINITE_PRODUCER_NUMBER_OF_WORDS=0 | ||
STREAMING_INFINITE_PRODUCER_WORDS_PER_SECOND=1 | ||
STREAMING_INFINITE_PRODUCER_SPARK_CORES_MAX=2 | ||
STREAMING_INFINITE_PRODUCER_SPARK_EXECUTOR_CORES=2 | ||
STREAMING_INFINITE_CONSUMER_BATCH_SIZE_SECONDS=10 | ||
STREAMING_INFINITE_CONSUMER_SPARK_CORES_MAX=1 | ||
STREAMING_INFINITE_CONSUMER_SPARK_EXECUTOR_CORES=1 | ||
|
||
# Batch jobs configuration ##################################################### | ||
|
||
SPARK_NON_GPU_DISPATCHERS_JSON_OUTPUT_FILE_URL="https://${TEST_S3_BUCKET}.s3.amazonaws.com/${TEST_S3_FOLDER}/${SPARK_NON_GPU_DISPATCHERS_JSON_OUTPUT_FILE}" | ||
|
||
BATCH_APP_ID="/${SERVICE_NAMES_PREFIX}batch-workload" | ||
BATCH_SCRIPT_CPUS=6 | ||
BATCH_SCRIPT_MEM=12288 | ||
BATCH_SUBMITS_PER_MIN=13 | ||
# TODO: update to master for the next MWT. | ||
BATCH_SPARK_BUILD_BRANCH="dcos-58437-deploy-workloads-under-role-enforced-group" | ||
|
||
# Batch GPU jobs configuration ################################################# | ||
|
||
SPARK_GPU_DISPATCHERS_JSON_OUTPUT_FILE_URL="https://${TEST_S3_BUCKET}.s3.amazonaws.com/${TEST_S3_FOLDER}/${SPARK_GPU_DISPATCHERS_JSON_OUTPUT_FILE}" | ||
|
||
GPU_APP_ID="/${SERVICE_NAMES_PREFIX}gpu-batch-workload" | ||
GPU_SCRIPT_CPUS=2 | ||
GPU_SCRIPT_MEM=4096 | ||
GPU_DOCKER_IMAGE='samvantran/spark-dcos-gpu:metrics' | ||
GPU_SUBMITS_PER_MIN=5 | ||
GPU_MAX_DISPATCHERS=${SPARK_GPU_DISPATCHERS} | ||
GPU_SPARK_CORES_MAX=4 | ||
GPU_SPARK_MESOS_EXECUTOR_GPUS=4 | ||
GPU_SPARK_MESOS_MAX_GPUS=4 | ||
GPU_SPARK_BUILD_BRANCH=master |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.