-
Notifications
You must be signed in to change notification settings - Fork 97
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
Implement "boot time measurement" test #2503
Comments
I wonder if kexec is helpful in this scenario. Booting another kernel from your kernel would skip all the LAVA/bootloader trouble. But otoh it could came with some pitfalls I don't know. |
I'm pretty sure it can be useful in some way, but will come with its own limitations (e.g. not resetting the hardware like a "real" reboot would do). Plus, from my experience it can be quite flaky on arm64. That's still an interesting idea, definitely worth experimenting with, thanks! |
A few notes about my experiments here:
A simple (but working) LAVA template would be the following: context:
extra_kernel_args: ip=off loglevel=6
{% set base_template = 'base/' + runtime + '.jinja2' %}
{%- extends base_template %} As it is extremely similar to the existing |
Boot time is an important indicator for device performance. We should implement a simple "boot time" test measuring this point.
We should also avoid anything likely to affect performance, such as long logs being printed over the serial console, DHCP negociation and so on. This implies we should likely first run a minimal boot test, then restart it by disabling DHCP and adding the
quiet
command-line option.Relevant topic on the LAVA mailing list: https://lists.lavasoftware.org/archives/list/lava-users@lists.lavasoftware.org/thread/AYYRZA6XJUJC33UZKTBGKGFQ3MGGL3UB/?sort=thread
The text was updated successfully, but these errors were encountered: