sonic-buildimage/files/scripts
shlomibitton c71c91e2b0
[202012] [Fastboot] Delay PMON service for better fastboot performance (#10745)
#### Why I did it

Profiling the system state on init after fast-reboot during create_switch function execution, it is possible to see few python scripts running at the same time.
This parallel execution consume CPU time and the duration of create_switch is longer than it should be.
Following this finding, and the motivation to ensure these services will not interfere in the future, PMON is delayed in 90 seconds until the system finish the init flow after fastboot.

#### How I did it

Add a timer for PMON service.
Exclude for MLNX platform the start trigger of PMON when SYNCD starts in case of fastboot.
Copy the timer file to the host bin image.

#### How to verify it

Run fast-reboot on MLNX platform and observe faster create_switch execution time.
2022-05-15 23:31:32 -07:00
..
arp_update [swss] Fix arp_update script (#8412) 2021-08-12 23:25:28 -07:00
bgp.sh BGP Service script path and error fix (#5183) 2020-08-15 12:09:10 -07:00
configdb-load.sh [MultiDB] use sonic-db-cli PING and fix wrong multiDB API in NAT (#4541) 2020-05-06 15:41:28 -07:00
core_cleanup.py [Python] Align files in root dir, dockers/ and files/ with PEP8 standards (#6109) 2020-12-03 15:57:50 -08:00
database.sh [services] kill container on stop in warm/fast mode (#10511) 2022-04-18 14:27:48 -07:00
gbsyncd.sh Add gearbox phy device files and a new physyncd docker to support VS gearbox phy feature (#4851) 2020-09-25 08:32:44 -07:00
mark_dhcp_packet.py [mux]: Fix mark_dhcp_packet (#9373) 2021-12-01 02:28:56 +00:00
mgmt-framework.sh [services] kill container on stop in warm/fast mode (#10511) 2022-04-18 14:27:48 -07:00
radv.sh [services] kill container on stop in warm/fast mode (#10511) 2022-04-18 14:27:48 -07:00
service_mgmt.sh [services] kill container on stop in warm/fast mode (#10511) 2022-04-18 14:27:48 -07:00
snmp.sh [services] kill container on stop in warm/fast mode (#10511) 2022-04-18 14:27:48 -07:00
sonic-netns-exec [sonic-netns-exec]: use "$@" to reflects all positional parameters as they were set initially (#4375) 2020-04-07 00:05:47 -07:00
supervisor-proc-exit-listener [Supervisord] Deduplicate the alerting messages of critical processes from Supervisord. (#6849) 2021-03-04 21:23:05 +00:00
swss.sh [bgpcfgd] Add bgpcfgd support to advertise routes (#9197) (#9697) 2022-01-26 14:38:04 -08:00
syncd_common.sh Enable SAI_SWITCH_ATTR_UNINIT_DATA_PLANE_ON_REMOVAL attribute (#9419) 2022-02-08 19:07:08 +00:00
syncd.sh [202012] [Fastboot] Delay PMON service for better fastboot performance (#10745) 2022-05-15 23:31:32 -07:00
teamd.sh [teamd.sh] kill teamd docker on warm shutdown for faster shutdown (#10219) 2022-03-16 22:22:26 +00:00
telemetry.sh [services] kill container on stop in warm/fast mode (#10511) 2022-04-18 14:27:48 -07:00
update_chassisdb_config In modular chassis, add CHASSIS_STATE_DB on control card (#5624) 2020-12-15 17:15:00 -08:00
write_standby.py [write_standby]: Increase timeout to 60s (#10065) 2022-03-01 22:49:17 +00:00