Improving boot times for v5.10 images

Hi @RobertCNelson ,

I’m debugging reported boot time issues on the v5.10 kernel series shipping with your buster image (and afraid to update to later because of the eMMC issue you’re working through here.

Recently, a colleague pointed me at this kernel patch which improves boot times significantly. By their account, this saves about 6 seconds of boot time on the current buster image. (!!)

According to kernel lore, Greg H-K merged this into v5.11 in f9aa460672c9c56896cdc12a521159e3e67000ba. Unfortunately for us, that patch was not brought back into v5.10.

Would you accept a PR against the 5.10 kernel for this patch? And, if so, against which branch should I submit it? I’m surprised not to see a longer-lived v5.10.x branch on your tree, so I’m not sure if the right course of action is to submit it against v5.10.168-ti-r79 or not.

Alternately if you have time to yank that patch and merge it, feel free – no need to wait on me to do it for you! :wink:

Thanks for your help!

I think we have to go wider, then just one patch: [PATCH v2 00/17] Refactor fw_devlink to significantly improve boot time - Saravana Kannan

Regards,

Right, that’s the first link in my message, the second link was just evidence as to where one of the commits involved in the patch ended up in the mainline. Sorry for not being clearer!

What’s your opinion on taking this in the 5.10 kernel?

I’m thinking of taking the whole series. :wink:

1 Like

Hey Robert, any more thoughts about the series? I applied it locally and pushed changes to my image, and it’s been fine. Only one chunk fails against the 5.10 tree, but it’s trivially applied by hand.

Sorry been traveling all over these last few weeks, now back at home for a few months… Just catching up on all the back log. :wink:

Regards,

2 Likes

Hey Robert, just a gentle nudge on this. If you want a PR on openbeagle, let me know.