[SERVER-29353] Increase the amount of memory available for tests running on the UBSan builder Created: 24/May/17  Updated: 30/Oct/23  Resolved: 31/May/17

Status: Closed
Project: Core Server
Component/s: Build, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.4.5, 3.5.9

Type: Task Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Eddie Louie
Resolution: Fixed Votes: 0
Labels: tig-evgconfig
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.4
Sprint: TIG 2017-06-19
Participants:
Linked BF Score: 0

 Description   

There have been many instances where the OOM killer has killed a mongod process when running on the UBSan builder. With the num_jobs_available expansion equal to the number of CPUs, we end up running 4 tests concurrently on the ubuntu1604-test distro is a c3.xlarge (4 CPU, 7.5GiB memory). We should change to use the ubuntu1604-build distro and set num_jobs_available to number of CPUs divided by 3 when running tests to match the configuration we use for the ASan builders. The ubuntu1604-build distro is a c3.4xlarge (16 CPU, 30GiB memory), so we'll end up running 5 tests concurrently, but have a larger ratio (3.2x) of available memory to number of concurrent tests.

Note: The special handling for running the "compile" task on the ubuntu1604-build distro can be removed since all tasks for the build variant will run on that distro anyway.


https://aws.amazon.com/ec2/instance-types/



 Comments   
Comment by Githook User [ 02/Jun/17 ]

Author:

{u'username': u'elouie99', u'name': u'Eddie Louie', u'email': u'eddie.louie@mongodb.com'}

Message: SERVER-29353 Increase amount of memory available for tests running on UBSan builder

(cherry picked from commit ede32e355cc476a7f672a353efdfda66b1273a1f)
Branch: v3.4
https://github.com/mongodb/mongo/commit/537dbec568f58368fc7f2b7a3e249fd166a24aff

Comment by Githook User [ 31/May/17 ]

Author:

{u'username': u'elouie99', u'name': u'Eddie Louie', u'email': u'eddie.louie@mongodb.com'}

Message: SERVER-29353 Increase amount of memory available for tests running on UBSan builder
Branch: master
https://github.com/mongodb/mongo/commit/ede32e355cc476a7f672a353efdfda66b1273a1f

Generated at Thu Feb 08 04:20:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.