Skip to content

[teamd.sh] kill teamd docker on warm shutdown for faster shutdown#66

Closed
stepanblyschak wants to merge 1 commit intomasterfrom
team-wb-stop
Closed

[teamd.sh] kill teamd docker on warm shutdown for faster shutdown#66
stepanblyschak wants to merge 1 commit intomasterfrom
team-wb-stop

Conversation

@stepanblyschak
Copy link
Owner

This can save 6 sec for teamd LAG restoration - the time between:

Mar  9 13:51:10.467757 r-panther-13 WARNING teamd#teamd_PortChannel1[28]: Got SIGUSR1.
Mar  9 13:52:33.310707 r-panther-13 INFO teamd#teamd_PortChannel1[27]: carrier changed to UP

Signed-off-by: Stepan Blyschak stepanb@nvidia.com

Why I did it

Optimize warm boot. Specifically reduce the time needed for LAG restoration.

How I did it

Kill teamd docker after graceful shutdown of teamd processes.

How to verify it

Run warm reboot.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

This can save 6 sec for teamd LAG restoration - the time between:

```
Mar  9 13:51:10.467757 r-panther-13 WARNING teamd#teamd_PortChannel1[28]: Got SIGUSR1.
Mar  9 13:52:33.310707 r-panther-13 INFO teamd#teamd_PortChannel1[27]: carrier changed to UP
```

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
stepanblyschak pushed a commit that referenced this pull request May 26, 2022
[sonic-linkmgrd][202012] submodule update
3d13ff2 Jing Zhang      Wed May 4 10:07:14 2022 -0700   Add doc for default route related changes  (#63)
c703be4 Jing Zhang      Mon May 2 13:27:54 2022 -0700   Reset WaitActiveUp count before switching to active (#70)
86eb727 Jing Zhang      Wed Apr 27 10:35:05 2022 -0700  lower log level to warning (#69)
e22c736 Jing Zhang      Mon May 2 13:33:24 2022 -0700   [202012] Avoid proactively switching to active if default route is missing (#67)
d4f282b Jing Zhang      Thu Apr 28 18:35:11 2022 -0700  [202012] Add support to enable switchover time measurement (with link prober interval decreased to 10ms) feature (#66)

sign-off: Jing Zhang [zhangjing@microsoft.com](mailto:zhangjing@microsoft.com)
stepanblyschak pushed a commit that referenced this pull request May 27, 2024
…ically (sonic-net#19036)

#### Why I did it
src/sonic-dbsyncd
```
* d5fa793 - (HEAD -> master, origin/master, origin/HEAD) Handle exception to avoid lldp_syncd crash (#65) (2 hours ago) [Zhaohui Sun]
* bc63571 - Fix pipeline issue. (#66) (25 hours ago) [Liu Shilong]
```
#### How I did it
#### How to verify it
#### Description for the changelog
stepanblyschak pushed a commit that referenced this pull request Jan 27, 2025
…ly (sonic-net#21340)

#### Why I did it
src/dhcprelay
```
* 13d7f5a - (HEAD -> 202411, origin/202411) Add wait and check ip address check when dhcp6relay init (#52) (#66) (25 hours ago) [mssonicbld]
* 1e7b13a - [202411] Clear counter when dhcp6relay init (#51) (#65) (4 days ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
stepanblyschak pushed a commit that referenced this pull request May 20, 2025
… automatically (sonic-net#875)

#### Why I did it
src/sonic-platform-common
```
* 269e268 - (HEAD -> 202412, origin/202412) [code sync] Merge code from sonic-net/sonic-platform-common:202411 to 202412 (#66) (21 hours ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
stepanblyschak pushed a commit that referenced this pull request May 20, 2025
…tomatically (sonic-net#986)

#### Why I did it
src/sonic-swss
```
* 9e97862 - (HEAD -> 202412, origin/202412) Merge pull request #66 from mssonicbld/sonicbld/202412-merge (23 hours ago) [mssonicbld]
* 5206c2b - Merge branch '202411' of https://github.com/sonic-net/sonic-swss into 202412 (9 days ago) [Sonic Automation]
* ca017d0 - [vstest]: Fix MACsec test in the kernel 5.15 (sonic-net#3573) (2 weeks ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
stepanblyschak pushed a commit that referenced this pull request Jul 22, 2025
…ically (sonic-net#23192)

#### Why I did it
src/sonic-dash-ha
```
* b18e019 - (HEAD -> master, origin/master, origin/HEAD) Implement dpu actor (#66) (6 hours ago) [yue-fred-gao]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants