aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dm_flags.py
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2016-03-22 11:08:24 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-22 11:08:24 -0700
commitd33fe1f1f91a44458ee1a35a83788df74df16c07 (patch)
treeab6a8c6318fe56bf3fa26dc05fc61b8ac4117968 /tools/dm_flags.py
parent59f093d5d832a83b409879de287745e99f75ebfe (diff)
Try throttling x86 desktop bots down with fewer threads.
Diffstat (limited to 'tools/dm_flags.py')
-rwxr-xr-xtools/dm_flags.py18
1 files changed, 6 insertions, 12 deletions
diff --git a/tools/dm_flags.py b/tools/dm_flags.py
index d3caf11543..1d9034b540 100755
--- a/tools/dm_flags.py
+++ b/tools/dm_flags.py
@@ -29,6 +29,11 @@ cov_start = lineno()+1 # We care about coverage starting just past this def.
def get_args(bot):
args = []
+ # 32-bit desktop bots tend to run out of memory, because they have relatively
+ # far more cores than RAM (e.g. 32 cores, 3G RAM). Hold them back a bit.
+ if '-x86-' in bot and not 'NexusPlayer' in bot:
+ args.append('--threads 4')
+
configs = ['565', '8888', 'gpu']
if '-GCE-' in bot:
@@ -107,12 +112,6 @@ def get_args(bot):
blacklist.extend('gpu skp _ _ msaa skp _ _'.split(' '))
blacklist.extend('msaa16 gm _ tilemodesProcess'.split(' '))
- # the 32-bit GCE bots run out of memory in DM when running these large images
- if 'x86' in bot and not 'x86-64' in bot:
- blacklist.extend('_ image _ interlaced1.png'.split(' '))
- blacklist.extend('_ image _ interlaced2.png'.split(' '))
- blacklist.extend('_ image _ interlaced3.png'.split(' '))
-
if 'Mac' in bot or 'iOS' in bot:
# CG fails on questionable bmps
blacklist.extend('_ image gen_platf rgba32abf.bmp'.split(' '))
@@ -122,7 +121,7 @@ def get_args(bot):
blacklist.extend('_ image gen_platf 4bpp-pixeldata-cropped.bmp'.split(' '))
blacklist.extend('_ image gen_platf 32bpp-pixeldata-cropped.bmp'.split(' '))
blacklist.extend('_ image gen_platf 24bpp-pixeldata-cropped.bmp'.split(' '))
-
+
# CG has unpredictable behavior on this questionable gif
# It's probably using uninitialized memory
blacklist.extend('_ image gen_platf frame_larger_than_image.gif'.split(' '))
@@ -193,11 +192,6 @@ def get_args(bot):
for raw_ext in r:
blacklist.extend(('_ image _ .%s' % raw_ext).split(' '))
- # Blacklist RAW images on some 32-bit machines due to out-of-memory issues
- if (('Win' in bot or 'Ubuntu' in bot) and not '64' in bot):
- for raw_ext in r:
- blacklist.extend(('_ image _ .%s' % raw_ext).split(' '))
-
match = []
if 'Valgrind' in bot: # skia:3021
match.append('~Threaded')