Files
CephfsMig/dev/compose.million.yaml
T
Sebastian UnterschützandClaude Opus 5.5 82c64f9908 test(dev): make the million test worker count configurable
WORKERS sets the copier workers (default 8). The driver no longer
removes the mount field, which the configuration does not have anymore.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 22:03:22 +01:00

38 lines
998 B
YAML

# Always run with -p cephmig-million; its volumes are separate from cephmig-dev.
services:
source:
environment:
CEPHMIG_OSD_GIB: "24"
CEPHMIG_MDS_CACHE_BYTES: "805306368"
target:
environment:
CEPHMIG_OSD_GIB: "24"
CEPHMIG_MDS_CACHE_BYTES: "805306368"
client:
profiles: [fuse]
native:
profiles: [manual]
benchmark:
image: cephmig-native:dev
init: true
entrypoint: [python3, -u, /lab/million.py]
environment:
FILES: ${FILES:-1000000}
RUN_LABEL: ${RUN_LABEL:-main}
WORKERS: ${WORKERS:-8}
networks: [lab]
depends_on:
source: {condition: service_healthy}
target: {condition: service_healthy}
mem_limit: 2g
stop_grace_period: 45s
volumes:
- source-config:/clusters/source:ro
- target-config:/clusters/target:ro
- ./:/lab:ro
- migration-state:/state
- ../.dev/million:/report
logging:
driver: json-file
options: {max-size: 10m, max-file: '2'}