Analysis has spotted 91-release-upgrade as the most likely expensive remainder.
pam_motd enabled, but disabled:
- 50-landscape-sysinfo
- 91-release-upgrade
- 95-hwe-eol disabled
Bionic
real 0m18.669s
us sy id wa st
22 23 55 0 0
Focal
real 0m23.821s
us sy id wa st
40 39 21 0 0
Jammy
real 0m19.616s
us sy id wa st
33 30 37 0 0
This is pretty close to "no-motd" and has no single spike left.
The next ones I found in the list are now low and already use caching.
The improvement for those would be a (slower and more complex) modification to pam_motd to detect and skip on non-interactive sessions.
Analysis has spotted 91-release-upgrade as the most likely expensive remainder. sysinfo
pam_motd enabled, but disabled:
- 50-landscape-
- 91-release-upgrade
- 95-hwe-eol disabled
Bionic
real 0m18.669s
us sy id wa st
22 23 55 0 0
Focal
real 0m23.821s
us sy id wa st
40 39 21 0 0
Jammy
real 0m19.616s
us sy id wa st
33 30 37 0 0
This is pretty close to "no-motd" and has no single spike left.
The next ones I found in the list are now low and already use caching.
The improvement for those would be a (slower and more complex) modification to pam_motd to detect and skip on non-interactive sessions.