Skip to content

Commit

Permalink
Adjustment of minrss for virtual queues, to avoid a 16000-16008 memor…
Browse files Browse the repository at this point in the history
…y gap
  • Loading branch information
fbarreir committed Nov 6, 2024
1 parent 2cc5faa commit e27e97c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandaserver/brokerage/SiteMapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def get_child_site_spec(self, site_spec, resource_spec):
# calculate the minRSS for the child queue
if resource_spec.minrampercore is not None:
child_site_spec.minrss = max(
child_site_spec.coreCount * resource_spec.minrampercore,
child_site_spec.coreCount * resource_spec.minrampercore - child_site_spec.coreCount + 1,
site_spec.minrss * child_site_spec.coreCount / core_count,
)
else:
Expand Down

0 comments on commit e27e97c

Please sign in to comment.