Project

General

Profile

Actions

action #20134

closed

[aarch64] openQA takes >9s to match needles (slow arm worker?)

Added by algraf almost 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Support
Target version:
-
Start date:
2017-06-28
Due date:
% Done:

0%

Estimated time:

Description

While trying to figure out why the grub2 snapshot test fails, we realized that OpenQA needs a whopping 9.3s to match whether we're inside the grub menu. Given that grub only has a 10s timeout, we're already way past the point of influencing anything by the time we want to type a key.

Every variant only takes <1s to match, but the grub screen has about 10 different possible needle variants. These matches all happen sequentially, so in sum we need almost 10s. If we were running these in parallel, we could easily cut that down to 1-2s, giving us enough time to react on the matching result.

Given that we have 48 or even 96 (slow) cores on these systems, parallelizing the matching is the only reasonable thing to do.

I quickly talked to Santiago about it and he indicated that he'll take a look at parallelizing OpenCV matching.

Actions

Also available in: Atom PDF