Bug 31218 - kernel-5.15.79 really slow detecting bttv devices - regression since 5.15.74
Summary: kernel-5.15.79 really slow detecting bttv devices - regression since 5.15.74
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-04 14:30 CET by Barry Jackson
Modified: 2022-12-06 12:44 CET (History)
2 users (show)

See Also:
Source RPM: kernel-xxxxxx-5-15.79
CVE:
Status comment:


Attachments
Normal boot with 5.15.74 (412.34 KB, text/plain)
2022-12-04 14:32 CET, Barry Jackson
Details
Slow boot with 5.15.79 (147.65 KB, text/plain)
2022-12-04 14:33 CET, Barry Jackson
Details

Description Barry Jackson 2022-12-04 14:30:45 CET
Description of problem:
My server has 2 bttv video capture cards with 8 devices per card.
During boot these are detected and initialzed.

Using kernel-5.15.74 detection of each chip takes a few seconds, however using kernel-5.15.79 the detection takes well over a minute. So for 16 devices this is around 20mins.

I have not actually waited that long as I gave up and killed the power, after about 12mins it had reached device 9 of 16 when the log stopped.

The above has been deduced afterwards studying the boot logs.

I tested both kernel-server and kernel-desktop flavours of 5.15.79.
Comment 1 Barry Jackson 2022-12-04 14:32:05 CET
Created attachment 13540 [details]
Normal boot with 5.15.74
Comment 2 Barry Jackson 2022-12-04 14:33:28 CET
Created attachment 13541 [details]
Slow boot with 5.15.79
Comment 3 Lewis Smith 2022-12-04 20:08:16 CET
Thank you for the report, which is clear enough.

Assigning to kernel.

Assignee: bugsquad => kernel

Comment 4 Dave Hodgins 2022-12-04 20:23:23 CET
Two recommendations unrelated to the actual problem

Add lines with
SystemMaxUse=200M
RuntimeMaxUse=200M
to the end of /etc/systemd/journald.conf

That will reduce the size of the journal from it's current 10% of the root
partition size (2.3GB) to around 200M. On my system that's about 30 days
normally. Increase/decrease as needed.

Add "audit=0" to the kernel boot parameters. Unless you are using audit the
messages clutter the journal.

CC: (none) => davidwhodgins

Comment 5 Barry Jackson 2022-12-05 00:46:02 CET
Thanks Dave - done that, I was a bit concerned about the journal size.
Barry Jackson 2022-12-06 12:44:34 CET

CC: (none) => tmb


Note You need to log in before you can comment on or make changes to this bug.