Hello Tomeo,
Sorry for this basic question, but how do you disable the serial console and still manage to run with Lava? I assume that serial console is mandatory for Lava to work.
Regards,
Denis
-----Original Message----- From: Tomeu Vizoso tomeu@tomeuvizoso.net Sent: mercredi 22 août 2018 12:53 To: Milosz Wasilewski milosz.wasilewski@linaro.org Cc: Denis HUMEAU denis.humeau@st.com; lava-users@lists.linaro.org Subject: Re: [Lava-users] Boot time measurement with Lava
On 22 August 2018 at 10:46, Milosz Wasilewski milosz.wasilewski@linaro.org wrote:
On 22 August 2018 at 08:02, Denis HUMEAU denis.humeau@st.com wrote:
Thanks Milosz,
Do you have any idea on how intrusive Lava is on such boot processes? Based on what I see, without any further analysis, boot time is much higher when measured inside Lava. In my example, I measure Linux + Userland boot time, and I get about 20s more using Lava. As I said, I haven't analyzed yet.
I'm suffering from the same problem. The time recorded in auto-login-action might be affected by some actions LAVA performs on serial. Recently there was 'kernel-messages' test result introduced. It might give better match. But I guess we'll need to wait for some core LAVA folks to comment.
Don't know if there's anything LAVA-specific that disrupts boot time measurement, but when I have needed to track boot times I have always had to disable the serial console to get meaningful numbers. In most ARM boards, it can slow boot down by several seconds, depending on the amount of output.
Regards,
Tomeu
milosz
But, globally speaking, we have noticed so far that time measurements, benchmarkings, when performed via Lava, produce results significantly different than when performed outside Lava. Boot time is the latest example. I wonder if it is due to Lava (Lava may not be designed for this), or maybe is it due to our setup.
Regards,
Denis -----Original Message----- From: Milosz Wasilewski milosz.wasilewski@linaro.org Sent: mardi 21 août 2018 11:58 To: Denis HUMEAU denis.humeau@st.com Cc: lava-users@lists.linaro.org Subject: Re: [Lava-users] Boot time measurement with Lava
On 21 August 2018 at 10:56, Denis HUMEAU denis.humeau@st.com wrote:
Hello Lava users,
Do you have any example or advice to share on a way to measure boot time using Lava?
Let’s say that I use u-boot, a minimal boot for a device running Linux, and I want to measure the time spent between Power On (pdu-reboot e.g) and Linux prompt.
You can find it in the 'lava' suite results as 'auto-login-action'. It has a measurement which is roughly what you expect.
milosz
Best regards,
Denis
Lava-users mailing list Lava-users@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lava-users
Lava-users mailing list Lava-users@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lava-users