sonic-buildimage/files
amulyan7 80448380e6
Set loglevel for crash kernel to reduce verbosity and improve overall router recovery time (#18285)
Why I did it
On certain routers with baud rate 9600, crash kernel is taking a long time , close to ~5mins, to complete kernel dump and reload the box. On contrast to routers with baud rate 115200, crash kernel dump process is observed to be completed under 35s-60s (depending on the platform). Currently, all debug and informational messages are printed on the console which also factors in for the delay seen. Unless the router is monitored on console in real time, these messages are not very useful. Setting the loglevel to warning will help reduce the verbosity of logs on console, in turn allow crash kernel dump process to be completed in a reasonable time which will also help in overall router recovery time.

How I did it
Setting loglevel attribute in crashkernel cmdline

How to verify it
Install SONiC image with crashkernel cmdline with loglevel set to warning and initiate an induced a crash (sysrq-trigger)
crashkernel boot and dump process will be completed in 20s-30s depending on the platform
2024-03-13 09:36:51 +08:00
..
Aboot Disable CPU C-States other than C1 (#16703) 2023-10-13 20:24:39 -07:00
apparmor [tacacs]: Fix tcpdump report error when tacacs enabled (#16372) 2023-09-23 00:07:53 -07:00
apt For Bookworm, use non-free-firmware instead of non-free 2023-11-21 18:53:15 -08:00
build/versions [build] Use public storage for public resources. (#18038) 2024-02-27 17:45:49 -08:00
build_scripts During build time mask only those feature/services that are disabled excplicitly (#13283) 2023-01-07 02:36:37 +00:00
build_templates [sn2700]: Add CPLD update. (#17376) 2024-03-06 07:39:00 -08:00
dhcp Assign the higher metric value for Ipv6 default route learnt via RA message (#16367) 2023-09-01 11:38:14 -07:00
docker [dockerd] Force usage of cgo DNS resolver (#13649) 2023-02-14 08:57:19 +02:00
dsc Add pensando platform (#15978) 2023-12-04 14:41:52 -08:00
image_config Set loglevel for crash kernel to reduce verbosity and improve overall router recovery time (#18285) 2024-03-13 09:36:51 +08:00
initramfs-tools Fix the fsck script that does filesystem repair (#17424) 2023-12-19 17:51:49 -08:00
scripts Change orchagent stuck message from ERR to WARNING (#17872) 2024-01-26 00:01:50 -08:00
sshd Remove SSH host keys after installing the custom version of sshd (#10633) 2022-04-25 10:38:52 -07:00