Path: blob/main/dev/loadgen/configs/workspace-preview-benchmark.yaml
2498 views
workspaces: 121ideImage: eu.gcr.io/gitpod-core-dev/build/ide/code:commit-ff263e14024f00d0ed78386b4417dfa6bcd4ae2f2waitForRunning: "630s"3waitForStopping: "630s"4successRate: 15environment:6- name: "THEIA_SUPERVISOR_TOKENS"7value: '[{"token":"foobar","host":"gitpod-staging.com","scope":["function:getWorkspace","function:getLoggedInUser","function:getWorkspaceOwner","function:getWorkspaceUsers","function:isWorkspaceOwner","function:controlAdmission","function:setWorkspaceTimeout","function:getWorkspaceTimeout","function:sendHeartBeat","function:getOpenPorts","function:openPort","function:closePort","function:generateNewGitpodToken","function:takeSnapshot","function:stopWorkspace","resource:workspace::fa498dcc-0a84-448f-9666-79f297ad821a::get/update","resource:workspaceInstance::e0a17083-6a78-441a-9b97-ef90d6aff463::get/update/delete","resource:snapshot::*::create/get","resource:gitpodToken::*::create","resource:userStorage::*::create/get/update"],"expiryDate":"2020-12-01T07:55:12.501Z","reuse":2}]'8workspaceClass: ""9workspaceTimeout: 1h10repos:11- cloneURL: https://github.com/gitpod-io/workspace-stress12cloneTarget: main13score: 2014workspaceImage: registry.hub.docker.com/gitpod/workspace-full:latest15environment:16# cpu17- name: "CPU_COUNT" # start N workers18value: "1"19- name: "CPU_BACKOFF" # wait N microseconds between the start of each stress worker process20value: "10000000"21- name: "CPU_TIMEOUT" # stop cpu stress test after N seconds22value: "600s"23# common IO24- name: "DISK_IO_FILE_SIZE" # how big of a test-file should be used25value: "2g"26- name: "DISK_IO_TOTAL" # specifies how much I/O will be done27value: "100g"28- name: "DISK_IO_TIMEOUT" # stop io stress test after N seconds29value: "600"30# random read/write IO31# - name: DISK_IO_MODE # values can be read, write, rw, randreadm randwrite, randrw32# value: "randrw"33# - name: "DISK_IO_BLOCKSIZE" # specifies the block-size that will be used34# value: "8k"35# - name: "DISK_IO_FSYNC" # sync command which writes kernel cached pages to disk every number of blocks specified36# value: 100037# - name: "DISK_IO_DEPTH" # specifies number of I/O units to keep in-flight38# value: 1039# - name: "DISK_IO_JOBS" # specifies the number of jobs40# value: 2041# sequential read/write IO42- name: DISK_IO_MODE # values can be read, write, rw, randreadm randwrite, randrw43value: "rw"44- name: "DISK_IO_BLOCKSIZE" # specifies the block-size that will be used45value: "1024k"46- name: "DISK_IO_FSYNC" # sync command which writes kernel cached pages to disk every number of blocks specified47value: 1000048- name: "DISK_IO_DEPTH" # specifies number of I/O units to keep in-flight49value: 3250- name: "DISK_IO_JOBS" # specifies the number of jobs51value: 152# memory53- name: "MEMORY_BYTES" # systems if not enough physical memory and swap is not available54value: "2G"55- name: "MEMORY_TIMEOUT" # stop cpu stress test after N seconds56value: "600s"57# backup58- name: "BACKUP_SIZE" # size of the backup in gigabyte59value: 1260# network61- name: "NETWORK_WORKERS" # number of workers stressin62value: 163# tasks64- name: "GITPOD_TASKS"65value: "[{\"name\":\"Setup\",\"init\":\"sudo install-packages stress-ng fio && gp sync-done setup\"},{\"name\":\"start cpu stress\",\"init\":\"gp sync-await setup\",\"command\":\"stress-ng --cpu ${CPU_COUNT:-3} --backoff ${CPU_BACKOFF:-10000000} --timeout ${CPU_TIMEOUT:-600s}\"},{\"name\":\"start io stress\",\"init\":\"gp sync-await setup\",\"command\":\"fio --name io-stress --eta-newline=5s --filename=/workspace/gitpod.temp --rw=${DISK_IO_MODE} --size=${DISK_IO_FILE_SIZE:-2g} --io_size=${DISK_IO_TOTAL:-50g} --blocksize=${DISK_IO_BLOCKSIZE} --ioengine=libaio --fsync=${DISK_IO_FSYNC} --iodepth=${DISK_IO_DEPTH} --direct=1 --numjobs=${DISK_IO_JOBS} --runtime=${DISK_IO_TIMEOUT:-600}\"},{\"name\":\"start memory stress\",\"init\":\"gp sync-await setup\",\"command\":\"stress-ng --vm 1 --vm-keep --vm-bytes ${MEMORY_BYTES:-6G} --timeout ${MEMORY_TIMEOUT:-600s}\"},{\"name\":\"create backup file\",\"init\":\"gp sync-await setup\",\"command\":\"dd if=/dev/zero of=/workspace/benchmark-backup bs=1000M count=${BACKUP_SIZE:-2}\"},{\"name\":\"start network stress\",\"init\":\"gp sync-await setup\",\"command\":\"stress-ng --class network --all ${NETWORK_WORKERS:-4}\"}]"66- cloneURL: https://github.com/gitpod-io/template-typescript-node67cloneTarget: master68score: 2069workspaceImage: registry.hub.docker.com/gitpod/workspace-full:latest70- cloneURL: https://github.com/gitpod-io/template-typescript-react71cloneTarget: main72score: 2073workspaceImage: registry.hub.docker.com/gitpod/workspace-full:latest74- cloneURL: https://github.com/gitpod-io/template-python-django75cloneTarget: main76score: 2077workspaceImage: registry.hub.docker.com/gitpod/workspace-full:latest78- cloneURL: https://github.com/gitpod-io/non-gitpodified-repo79score: 2080cloneTarget: main81workspaceImage: registry.hub.docker.com/gitpod/workspace-full:latest828384