Skip to content
Open
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
37 changes: 18 additions & 19 deletions benchmark/config/buildbarn-frontend.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,30 @@
{
"httpListenAddress": ":8980",
"grpcServers": [
{
"listenAddresses": [":8980"],
"authentication": {
"allowAll": true
}
"authenticationPolicy": {"allow": {}}
}
],
" schedulers": {
"default": {
"endpoint": "buildbarn-scheduler:8982"
"schedulers": {
"": {
"endpoint": {"address": "buildbarn-scheduler:8982"}
}
},
"contentAddressableStorage": {
"shard": {
"shards": [
{
"backend": {
"grpc": {
"endpoint": "buildbarn-storage:8981"
}
},
"weight": 1
}
]
}
"backend": {
"grpc": {"client": {"address": "buildbarn-storage:8981"}}
},
"getAuthorizer": {"allow": {}},
"putAuthorizer": {"allow": {}},
"findMissingAuthorizer": {"allow": {}}
},
"actionCache": {
"backend": {
"grpc": {"client": {"address": "buildbarn-storage:8981"}}
},
"getAuthorizer": {"allow": {}},
"putAuthorizer": {"allow": {}}
},
"executeAuthorizer": {"allow": {}},
"maximumMessageSizeBytes": 16777216
}
9 changes: 9 additions & 0 deletions benchmark/config/buildbarn-runner.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"buildDirectoryPath": "/worker/build",
"grpcServers": [
{
"listenPaths": ["/worker/runner"],
"authenticationPolicy": {"allow": {}}
}
]
}
44 changes: 16 additions & 28 deletions benchmark/config/buildbarn-scheduler.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,32 @@
{
"httpListenAddress": ":8982",
"clientGrpcServers": [
{
"listenAddresses": [":8982"],
"authentication": {
"allowAll": true
}
"authenticationPolicy": {"allow": {}}
}
],
"workerGrpcServers": [
{
"listenAddresses": [":8983"],
"authentication": {
"allowAll": true
}
"authenticationPolicy": {"allow": {}}
}
],
"scheduler": {
"buildQueue": {
"redis": {
"endpoint": "buildbarn-redis:6379"
}
},
"actionRouter": {
"simple": {}
}
},
"contentAddressableStorage": {
"shard": {
"shards": [
{
"backend": {
"grpc": {
"endpoint": "buildbarn-storage:8981"
}
},
"weight": 1
}
]
"grpc": {"client": {"address": "buildbarn-storage:8981"}}
},
"executeAuthorizer": {"allow": {}},
"modifyDrainsAuthorizer": {"allow": {}},
"killOperationsAuthorizer": {"allow": {}},
"synchronizeAuthorizer": {"allow": {}},
"actionRouter": {
"simple": {
"platformKeyExtractor": {"action": {}},
"initialSizeClassAnalyzer": {
"defaultExecutionTimeout": "600s",
"maximumExecutionTimeout": "3600s"
}
}
},
"platformQueueWithNoWorkersTimeout": "900s",
"maximumMessageSizeBytes": 16777216
}
100 changes: 57 additions & 43 deletions benchmark/config/buildbarn-storage.json
Original file line number Diff line number Diff line change
@@ -1,52 +1,66 @@
{
"blobstore": {
"contentAddressableStorage": {
"sharding": {
"hashInitialization": 11946695773637837490,
"shards": [
{
"backend": {
"local": {
"keyLocationMap": {
"file": {
"path": "/storage/key_location_map",
"sizeBytes": 10000000
}
},
"keyLocationMapMaximumGetAttempts": 8,
"keyLocationMapMaximumPutAttempts": 32,
"oldBlockFiles": [
{
"path": "/storage/old_blocks",
"sizeBytes": 10000000000
}
],
"currentBlockFile": {
"path": "/storage/current_blocks",
"sizeBytes": 10000000000
}
}
},
"weight": 1
"grpcServers": [
{
"listenAddresses": [":8981"],
"authenticationPolicy": {"allow": {}}
}
],
"contentAddressableStorage": {
"backend": {
"local": {
"keyLocationMapOnBlockDevice": {
"file": {
"path": "/storage-cas/key_location_map",
"sizeBytes": 134217728
}
]
},
"keyLocationMapMaximumGetAttempts": 16,
"keyLocationMapMaximumPutAttempts": 64,
"oldBlocks": 8,
"currentBlocks": 24,
"newBlocks": 3,
"blocksOnBlockDevice": {
"source": {
"file": {
"path": "/storage-cas/blocks",
"sizeBytes": 8589934592
}
},
"spareBlocks": 3
}
}
},
"actionCache": {
"getAuthorizer": {"allow": {}},
"putAuthorizer": {"allow": {}},
"findMissingAuthorizer": {"allow": {}}
},
"actionCache": {
"backend": {
"local": {
"path": "/storage/ac",
"sizeBytes": 1000000000
"keyLocationMapOnBlockDevice": {
"file": {
"path": "/storage-ac/key_location_map",
"sizeBytes": 1048576
}
},
"keyLocationMapMaximumGetAttempts": 16,
"keyLocationMapMaximumPutAttempts": 64,
"oldBlocks": 8,
"currentBlocks": 24,
"newBlocks": 1,
"blocksOnBlockDevice": {
"source": {
"file": {
"path": "/storage-ac/blocks",
"sizeBytes": 67108864
}
},
"spareBlocks": 3
}
}
}
},
"getAuthorizer": {"allow": {}},
"putAuthorizer": {"allow": {}}
},
"httpListenAddress": ":8981",
"grpcServers": [
{
"listenAddresses": [":8981"],
"authentication": {
"allowAll": true
}
}
],
"maximumMessageSizeBytes": 16777216
}
58 changes: 30 additions & 28 deletions benchmark/config/buildbarn-worker.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,38 @@
{
"scheduler": {
"endpoint": "buildbarn-scheduler:8983"
"blobstore": {
"contentAddressableStorage": {
"grpc": {"client": {"address": "buildbarn-storage:8981"}}
},
"actionCache": {
"grpc": {"client": {"address": "buildbarn-storage:8981"}}
}
},
"contentAddressableStorage": {
"shard": {
"shards": [
"browserUrl": "http://localhost:7984",
"scheduler": {"address": "buildbarn-scheduler:8983"},
"maximumMessageSizeBytes": 16777216,
"buildDirectories": [
{
"native": {
"buildDirectoryPath": "/worker/build",
"cacheDirectoryPath": "/worker/cache",
"maximumCacheFileCount": 10000,
"maximumCacheSizeBytes": 1073741824,
"cacheReplacementPolicy": "LEAST_RECENTLY_USED"
},
"runners": [
{
"backend": {
"grpc": {
"endpoint": "buildbarn-storage:8981"
}
},
"weight": 1
"endpoint": {"address": "unix:///worker/runner"},
"concurrency": 4,
"platform": {"properties": []}
}
]
}
},
"buildDirectoryPath": "/worker/build",
"cacheDirectoryPath": "/worker/cache",
"maximumCacheFileCount": 10000,
"maximumCacheSizeBytes": 1073741824,
"instanceName": "",
"platform": {
"properties": [
{
"name": "OSFamily",
"value": "linux"
},
{
"name": "container-image",
"value": "docker://marketplace.gcr.io/google/rbe-ubuntu16-04"
}
]
],
"inputDownloadConcurrency": 10,
"outputUploadConcurrency": 10,
"directoryCache": {
"maximumCount": 1000,
"maximumSizeBytes": 1024000,
"cacheReplacementPolicy": "LEAST_RECENTLY_USED"
}
}
19 changes: 8 additions & 11 deletions benchmark/config/buildbuddy-config.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
# BuildBuddy Configuration
# Minimal config for benchmarking
# Minimal config for benchmarking — CAS only, no Redis dependency.
#
# Redis health checks timeout under QEMU (amd64 on arm64) due to emulation
# overhead. Auth works correctly without Redis when remote_execution is disabled.

app:
build_buddy_url: "http://localhost:8080"
events_api_url: "grpc://localhost:1985"
cache_api_url: "grpc://localhost:1985"
remote_execution_api_url: "grpc://localhost:1985"
no_default_user_group: true
no_default_user_group: false

database:
data_source: "postgres://buildbuddy:buildbuddy@buildbuddy-postgres:5432/buildbuddy?sslmode=disable"
data_source: "sqlite3:///data/buildbuddy.db"

storage:
disk:
Expand All @@ -24,16 +27,10 @@ cache:
max_size_bytes: 10000000000

remote_execution:
enabled: true
default_pool_name: "default"
pools:
- name: "default"
os: "linux"
architecture: "amd64"
redis_target: "buildbuddy-redis:6379"
enabled: false

executor:
enabled: false # Run separately
enabled: false

auth:
enable_anonymous_usage: true
Expand Down
Loading
Loading