Commit 4fb42b64 authored by slewis@apple.com's avatar slewis@apple.com
Browse files

Reduce parallism on the wk2 testers.

https://bugs.webkit.org/show_bug.cgi?id=95906

Reviewed by Dirk Pranke.

The wk2 testers on Mountain Lion are getting stuck and timing out.  The problem appears to be due to
resource contention.  Reducing the number of processes alleviates the issue.

Starting by reducing 25%.

* Scripts/webkitpy/layout_tests/port/mac.py:
(MacPort.default_child_processes):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128391 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 3bda7d4e
2012-09-12 Stephanie Lewis <slewis@apple.com>
Reduce parallism on the wk2 testers.
https://bugs.webkit.org/show_bug.cgi?id=95906
Reviewed by Dirk Pranke.
The wk2 testers on Mountain Lion are getting stuck and timing out. The problem appears to be due to
resource contention. Reducing the number of processes alleviates the issue.
Starting by reducing 25%.
* Scripts/webkitpy/layout_tests/port/mac.py:
(MacPort.default_child_processes):
2012-09-12 Brady Eidson <beidson@apple.com>
 
Assert in NetscapePlugin::destroy() with async plugin init
......
......@@ -115,6 +115,12 @@ class MacPort(ApplePort):
default_count = super(MacPort, self).default_child_processes()
# FIXME: https://bugs.webkit.org/show_bug.cgi?id=95906 With too many WebProcess WK2 tests get stuck in resource contention.
# To alleviate the issue reduce the number of running processes
# Anecdotal evidence suggests that a 4 core/8 core logical machine may run into this, but that a 2 core/4 core logical machine does not.
if self.get_option('webkit_test_runner') and default_count > 4:
default_count = int(.75 * default_count)
# Make sure we have enough ram to support that many instances:
total_memory = self.host.platform.total_bytes_memory()
bytes_per_drt = 256 * 1024 * 1024 # Assume each DRT needs 256MB to run.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment