Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootloader: Speed up media check selection #4154

Merged
merged 1 commit into from
Jan 4, 2018
Merged

Bootloader: Speed up media check selection #4154

merged 1 commit into from
Jan 4, 2018

Conversation

DimStar77
Copy link
Contributor

The default grub menu is shown for 8 seconds. The first second is
'wasted' waiting for the detection of the bootloader (check if shim
import would be needed or the bootloader), second is in checking the
bootloader being present and if it has the more menu

from here, a 5 s timeout to detect that we are 'not yet on the
mediacheck' is a lot of time - and gets us very close to the limit of
grub waiting for us (often beyond the limit)

Speed up to waiting only 3 seconds, which moves us away from the limit
and gives a much better chance to hit 'down' in time. Moving the
selection line down in 3s is still very realistic.

Fixes https://progress.opensuse.org/issues/28757

The default grub menu is shown for 8 seconds. The first second is
'wasted' waiting for the detection of the bootloader (check if shim
import would be needed or the bootloader), second is in checking the
bootloader being present and if it has the more menu

from here, a 5 s timeout to detect that we are 'not yet on the
mediacheck' is a lot of time - and gets us very close to the limit of
grub waiting for us (often beyond the limit)

Speed up to waiting only 3 seconds, which moves us away from the limit
and gives a much better chance to hit 'down' in time. Moving the
selection line down in 3s is still very realistic.

Fixes https://progress.opensuse.org/issues/28757
@DimStar77
Copy link
Contributor Author

DimStar77 commented Jan 4, 2018

smoketest: http://dimstar.internet-box.ch:81/tests/599

looking at the history: olders was the directly cloned from o3 (error reproduced), 2nd and 3rd run were with the timeout shortened.

@okurz okurz merged commit cf9e85e into os-autoinst:master Jan 4, 2018
@DimStar77 DimStar77 deleted the mediacheck branch January 4, 2018 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants