Skip to content
Merged
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
16 changes: 16 additions & 0 deletions master/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,22 @@ 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"] = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add a comment explaining how you chose these numbers?

I'm fine with "These are mostly made up numbers just to see if there is any noticeable effect on either performance or memory usage."

"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]

Expand Down