sonic-buildimage/files/image_config
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
..
backend_acl Update backend_acl.py to specify ACL table name (#17553) (#17673) 2024-01-04 23:10:28 +08:00
bash Close console session due to user inactivity (#9890) 2022-02-02 09:41:21 +05:30
config-chassisdb [config-chassisdb] use cached variables (#17342) 2023-12-09 14:32:43 +08:00
config-setup Fix CONFIG_DB_INITIALIZED flag check logic and set/reset flag for warmboot (#15685) (#16217) 2023-08-24 16:58:24 +08:00
config-topology [config-topology] use cached variables (#17343) 2023-12-09 14:32:39 +08:00
constants [chassis] Support advertisement of Loopback0 of all LC's across all e-BGP peers in TSA mode (#16714) (#17837) 2024-01-19 12:53:26 +08:00
containercfgd [202305] Optimize syslog rate limit feature for fast and warm boot (#17478) 2023-12-28 20:53:49 +08:00
copp [image_config]: Update DHCP rate-limit for mgmt TOR devices (#17630) (#17671) 2024-01-04 22:29:00 +08:00
corefile_uploader Replace os.system and remove subprocess with shell=True (#12177) 2022-11-04 10:48:51 -04:00
cron.d Replace logrotate cron file with (adapted) systemd timer file (#12921) 2022-12-08 14:13:11 -08:00
ebtables [ebtables] Add multicast drop rule to ebtables (#18064) 2024-02-28 19:01:13 +08:00
environment Update azure.github.io links to sonic-net.github.io (#12209) 2022-10-02 14:02:10 +08:00
fstrim [202012][fstrim] delay fstrim timer after sonic.target (#8737) 2021-09-13 07:37:46 -07:00
hostname Fix to improve hostname handling (#12064) 2022-10-25 14:51:02 -07:00
interfaces Fix IPV6 forced-mgmt-route not work issue (#17299) 2024-02-07 16:32:34 +08:00
kdump Set loglevel for crash kernel to reduce verbosity and improve overall router recovery time (#18285) 2024-03-13 19:01:22 +08:00
kubernetes Add k8s master feature (#11637) 2022-08-13 23:01:35 +08:00
logrotate Revert "Share docker image and use telemetry container for 202305 (#17255)" (#17356) 2023-11-30 20:41:38 +08:00
misc [docker-wait-any]: Exit worker thread if main thread is expected to exit (#12255) 2022-10-05 18:14:10 -07:00
monit Revert "[202305] Share image for gnmi and telemetry (#17137)" (#17261) 2023-11-22 23:51:34 +08:00
ntp Finalize fast-reboot in warmboot finalizer (#14238) 2023-04-09 16:59:15 +03:00
pcie-check Support multiple pcie configuration file and change the pcie status table name to match with pcied changes (#7886) 2021-06-16 16:05:48 -07:00
platform Add override_config to load_minigraph in config-setup service (#14834) 2023-05-10 11:54:33 -07:00
rasdaemon [image_config] add rasdaemon.timer (#14300) 2023-04-17 08:58:45 -07:00
readline Disable brackted-paste mode off by default (#12285) 2022-10-06 07:55:09 -07:00
resolv-config Revert "Clear DNS configuration received from DHCP during networking reconfiguration in Linux. (#13516)" (#14902) 2023-05-01 17:12:38 -07:00
rsyslog [202305] Optimize syslog rate limit feature for fast and warm boot (#17478) 2023-12-28 20:53:49 +08:00
secureboot Add override_config to load_minigraph in config-setup service (#14834) 2023-05-10 11:54:33 -07:00
snmp mvrf_avoid_snmp_yml_config: made changes to pass SNMP config from con… (#4057) 2020-01-28 17:41:21 -08:00
sudoers Improve sudo cat command for RO user. (#14428) 2023-03-27 17:08:14 -07:00
sysctl Change tcp port range to support telemetry and gnmi (#17907) 2024-01-29 14:32:34 +08:00
syslog [baseimage]: /host unmount timeout issue during reboot. (#5032) 2020-07-25 01:27:58 -07:00
system-health [system-health] Add support for monitoring system health (#4835) 2020-10-12 11:12:49 +03:00
systemd Fix issue: systemctl daemon-reload would sporadically cause udev handler fail (#15253) 2023-09-03 18:32:54 +08:00
topology [multi-asic][vs]: Update topology script to retrieve hwsku from minigraph (#6219) 2021-02-18 22:02:29 -08:00
updategraph Remove minigraph loading in updategraph script (#11146) 2022-06-21 08:57:57 +08:00
warmboot-finalizer Fix CONFIG_DB_INITIALIZED flag check logic and set/reset flag for warmboot (#15685) (#16217) 2023-08-24 16:58:24 +08:00
watchdog-control [sonic-utilities] Build and install as a Python wheel package (#5409) 2020-09-20 20:16:42 -07:00
sonic_release add sonic release for 202305 (#16364) 2023-09-03 09:23:39 +08:00