Fedora 38 boot systemd-analyze blame

Hello my boot time is very big (lenovo carbon laptop with 512 GB ssd with a standard installation). The systemd-analyze blame gives:
1min 15.469s fstrim.service
22.552s sys-module-fuse.device
22.500s dev-ttyS10.device
22.500s sys-devices-platform-serial8250-tty-ttyS10.device
22.499s dev-ttyS1.device
22.499s sys-devices-platform-serial8250-tty-ttyS1.device
22.496s sys-devices-platform-serial8250-tty-ttyS11.device
22.496s dev-ttyS11.device
22.491s dev-ttyS13.device
22.491s sys-devices-platform-serial8250-tty-ttyS13.device
22.489s sys-devices-platform-serial8250-tty-ttyS12.device
22.489s dev-ttyS12.device
22.485s sys-devices-platform-serial8250-tty-ttyS26.device
22.485s dev-ttyS26.device
22.483s dev-ttyS8.device
22.483s sys-devices-platform-serial8250-tty-ttyS8.device
22.482s dev-ttyS27.device
22.482s sys-devices-platform-serial8250-tty-ttyS27.device
22.482s sys-devices-platform-serial8250-tty-ttyS5.device
22.482s dev-ttyS5.device
22.481s dev-ttyS28.device
22.481s sys-devices-platform-serial8250-tty-ttyS28.device
22.481s sys-devices-platform-serial8250-tty-ttyS7.device
22.481s dev-ttyS7.device
22.480s dev-ttyS0.device
22.480s sys-devices-platform-serial8250-tty-ttyS0.device
22.479s dev-ttyS9.device
22.479s sys-devices-platform-serial8250-tty-ttyS9.device
22.479s sys-module-configfs.device
22.478s sys-devices-platform-serial8250-tty-ttyS3.device
22.478s dev-ttyS3.device
22.460s dev-ttyS15.device
22.460s sys-devices-platform-serial8250-tty-ttyS15.device
22.460s dev-ttyS19.device
22.460s sys-devices-platform-serial8250-tty-ttyS19.device
22.460s dev-ttyS2.device
22.460s sys-devices-platform-serial8250-tty-ttyS2.device
22.459s dev-ttyS17.device
22.459s sys-devices-platform-serial8250-tty-ttyS17.device
22.458s dev-ttyS18.device
22.458s sys-devices-platform-serial8250-tty-ttyS18.device
22.458s dev-ttyS21.device
22.458s sys-devices-platform-serial8250-tty-ttyS21.device
22.457s sys-devices-platform-serial8250-tty-ttyS14.device
22.457s dev-ttyS14.device
22.457s dev-ttyS23.device
22.457s sys-devices-platform-serial8250-tty-ttyS23.device
22.457s sys-devices-platform-serial8250-tty-ttyS22.device
22.457s dev-ttyS22.device
22.456s sys-devices-platform-serial8250-tty-ttyS16.device
22.456s dev-ttyS16.device
22.456s dev-ttyS24.device
22.456s sys-devices-platform-serial8250-tty-ttyS24.device
22.454s dev-ttyS30.device
22.454s sys-devices-platform-serial8250-tty-ttyS30.device
22.454s sys-devices-platform-serial8250-tty-ttyS20.device
22.454s dev-ttyS20.device
22.453s sys-devices-platform-serial8250-tty-ttyS25.device
22.453s dev-ttyS25.device
22.452s dev-ttyS29.device
22.452s sys-devices-platform-serial8250-tty-ttyS29.device
22.451s sys-devices-platform-serial8250-tty-ttyS31.device
22.451s dev-ttyS31.device
22.451s dev-ttyS6.device
22.451s sys-devices-platform-serial8250-tty-ttyS6.device
22.450s dev-ttyS4.device
22.450s sys-devices-platform-serial8250-tty-ttyS4.device


Etc…

¿Why so many tty/ttyS? ¿It is possible to remove them?
Thanks
Jab

It’s probably the fstrim service that is causing the problem. If that is slowing down the ssd access, it could be causing everything else to run slowly too.

This earlier post might be related to the problem you are seeing: Btrfs "discard storm" on Fedora? - #6 by mattdm

1 Like

What btrfs or fstrim have to do with dev-ttyS10.device ? curious

Nothing. The original question, as I understood it, was “… my boot time is very big …”. The service that was showing the greatest use of time in the output was fstrim.service (1min 15.469s). Note that the times listed for all those services are not cumulative. They run in parallel.

As for the all the tty device nodes, I believe that is normal. My system has those as well:

[/home/gregory]$ ls /dev/tty*                                                                 
/dev/tty    /dev/tty20  /dev/tty33  /dev/tty46  /dev/tty59   /dev/ttyS13  /dev/ttyS26
/dev/tty0   /dev/tty21  /dev/tty34  /dev/tty47  /dev/tty6    /dev/ttyS14  /dev/ttyS27
/dev/tty1   /dev/tty22  /dev/tty35  /dev/tty48  /dev/tty60   /dev/ttyS15  /dev/ttyS28
/dev/tty10  /dev/tty23  /dev/tty36  /dev/tty49  /dev/tty61   /dev/ttyS16  /dev/ttyS29
/dev/tty11  /dev/tty24  /dev/tty37  /dev/tty5   /dev/tty62   /dev/ttyS17  /dev/ttyS3
/dev/tty12  /dev/tty25  /dev/tty38  /dev/tty50  /dev/tty63   /dev/ttyS18  /dev/ttyS30
/dev/tty13  /dev/tty26  /dev/tty39  /dev/tty51  /dev/tty7    /dev/ttyS19  /dev/ttyS31
/dev/tty14  /dev/tty27  /dev/tty4   /dev/tty52  /dev/tty8    /dev/ttyS2   /dev/ttyS4
/dev/tty15  /dev/tty28  /dev/tty40  /dev/tty53  /dev/tty9    /dev/ttyS20  /dev/ttyS5
/dev/tty16  /dev/tty29  /dev/tty41  /dev/tty54  /dev/ttyS0   /dev/ttyS21  /dev/ttyS6
/dev/tty17  /dev/tty3   /dev/tty42  /dev/tty55  /dev/ttyS1   /dev/ttyS22  /dev/ttyS7
/dev/tty18  /dev/tty30  /dev/tty43  /dev/tty56  /dev/ttyS10  /dev/ttyS23  /dev/ttyS8
/dev/tty19  /dev/tty31  /dev/tty44  /dev/tty57  /dev/ttyS11  /dev/ttyS24  /dev/ttyS9
/dev/tty2   /dev/tty32  /dev/tty45  /dev/tty58  /dev/ttyS12  /dev/ttyS25

They are harmless. I don’t know how to set how many are initialized by default.