From 21e3f9b07f8a144feb34a6814077b7494b956104 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Sun, 16 Feb 2025 09:45:20 -0600 Subject: [PATCH 1/2] Add cache configuration --- master/master.cfg | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/master/master.cfg b/master/master.cfg index 2dd0b695..8f156a51 100644 --- a/master/master.cfg +++ b/master/master.cfg @@ -110,6 +110,17 @@ c["configurators"] = [ ) ] +c["caches"] = { + "Changes": 100, + "Builds": 500, + "chdicts": 100, + "BuildRequests": 100, + "SourceStamps": 200, + "ssdicts": 200, + "objectids": 10, + "usdicts": 100, +} + # workers are set up in workers.py c["workers"] = [w.bb_worker for w in WORKERS] From fedad4e5a4b1cd4fd70fba1444f8279e680bff03 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Sun, 16 Feb 2025 09:45:20 -0600 Subject: [PATCH 2/2] fixup! Add cache configuration --- master/master.cfg | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/master/master.cfg b/master/master.cfg index 8f156a51..2e72096a 100644 --- a/master/master.cfg +++ b/master/master.cfg @@ -110,6 +110,11 @@ c["configurators"] = [ ) ] +# Note: these cache values are not currently tuned in any meaningful way. +# Some are taken straight from the buildbot docs at +# https://docs.buildbot.net/4.2.1/manual/configuration/global.html#caches +# and others are just guesses. For now, they're mostly meant to see if +# there's any appreciable impact on performance or memory usage. c["caches"] = { "Changes": 100, "Builds": 500,