Repository navigation
try limiting concurrency on MacOS - #460
davepacheco wants to merge 1 commit into
Conversation
smklein
left a comment
There was a problem hiding this comment.
The macos bot being successful in 23 minutes looks better than what I've seen elsewhere.
|
For some really unhelpful data, see this CI run. That prints the memory pressure, as reported by the macOS |
|
@bnaecker would it be much work to rebase that PR on this one to see if there's any improvement? |
|
@davepacheco Nope, will do now. |
|
@davepacheco Here it be. |
|
Thanks. It doesn't look to me like this changed did much. |
|
No, but if I'm understanding the issue correctly, I wouldn't expect to see a shift. If the issue is memory pressure leading to swap usage or something, then this should show an effect only if the system is heavily loaded. |
Mitigates #461.
One hypothesis for the issue in #461 is that we're out of memory. I'll put more analysis in #461 about this. In the meantime, this is a fairly innocuous change: it limits concurrency on OS X in hopes of reducing the memory usage, since many tests spin up CockroachDB, Nexus, and other processes.
This change is only applied to Mac because that's where we're seeing the problem. I don't totally want to eliminate concurrency in CI because there are legitimate concurrency bugs in the test suite. I think it's important that the test suite continue to work at increased concurrency (aside from resource exhaustion).