[SERVER-29356] Increase the amount of memory available for tests running on the Code Coverage 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 Code Coverage builder. With the num_jobs_available expansion equal to the number of CPUs, we end up running 4 tests concurrently on the rhel62-small distro is a c3.xlarge (4 CPU, 7.5GiB memory). We should change to use the rhel62-large distro and set num_jobs_available to number of CPUs divided by 2 when running tests. The rhel62-large distro is a c3.4xlarge (16 CPU, 30GiB memory), so we'll end up running 8 tests concurrently, but have a larger ratio (2x) of available memory to number of concurrent tests.

Note: The special handling for running tasks on the rhel62-large 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-29356 Increase the amount of memory available for tests running on Code Coverage builder

(cherry picked from commit 8462f9a1ed3b6bbb1f7e6f6accae56ef524224ab)
Branch: v3.4
https://github.com/mongodb/mongo/commit/8ae8ab867a077c3fa0b2c9ea4eaa864c0b76e213

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-29356 Increase the amount of memory available for tests running on Code Coverage builder
Branch: master
https://github.com/mongodb/mongo/commit/8462f9a1ed3b6bbb1f7e6f6accae56ef524224ab

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