sonic-buildimage/files
amulyan7 f9ea96abc6 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 19:01:22 +08:00
..
Aboot Disable CPU C-States other than C1 (#16703) 2023-10-17 20:49:07 +08:00
apparmor [tacacs]: Fix tcpdump report error when tacacs enabled (#16372) (#17077) 2023-11-03 04:31:18 +08:00
apt [Build] set apt Acquire::Retries to 3 for bullseye (#12758) 2022-11-21 08:05:16 +08:00
build/versions [202305] [build] Use public storage for public resources. (#18199) 2024-02-28 08:58:56 -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 [Build] Fix the pygobject installation issue (#18318) 2024-03-11 22:07:23 +08:00
dhcp Assign the higher metric value for Ipv6 default route learnt via RA message (#16367) (#16429) 2023-09-03 22:16:46 +08:00
docker [dockerd] Force usage of cgo DNS resolver (#13649) 2023-02-14 08:57:19 +02:00
image_config Set loglevel for crash kernel to reduce verbosity and improve overall router recovery time (#18285) 2024-03-13 19:01:22 +08:00
initramfs-tools Fix the fsck script that does filesystem repair (#17424) (#17621) 2023-12-26 19:58:48 +08:00
scripts add timeout to ping6 command (#17729) 2024-01-11 12:34:22 +08:00
sshd Remove SSH host keys after installing the custom version of sshd (#10633) 2022-04-25 10:38:52 -07:00