Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sleepy] Fix #15800 - track idle/active of peer and use dynamic timeout #17003

Merged
merged 4 commits into from
Apr 11, 2022

Conversation

turon
Copy link
Contributor

@turon turon commented Apr 4, 2022

Purpose

Fix #15800
Initial state tracking added, but need to switch backoff base based on the peer state.

Change overview

Add tracking of idle/active state of a remote peer. Switch idle/active intervals based on Active state of peer.
Based on spec edit: https://github.com/CHIP-Specifications/connectedhomeip-spec/pull/5013

Testing

  • All CI passes

@turon turon changed the title [sleepy] Fix #15800 - track idle/active of peer and use dynamic timeout base interval [sleepy] Fix #15800 - track idle/active of peer and use dynamic timeout Apr 4, 2022
src/messaging/ReliableMessageMgr.cpp Outdated Show resolved Hide resolved
src/transport/SecureSession.h Outdated Show resolved Hide resolved
src/transport/Session.h Outdated Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Apr 4, 2022

PR #17003: Size comparison from 3666138 to 4753b2f

Increases above 0.2%:

platform target config section 3666138 4753b2f change % change
cyw30739 light cyw930739m2evb_01 .bss 75980 76396 416 0.5
lock cyw930739m2evb_01 .bss 74484 74900 416 0.6
ota-requestor-no-progress-logging cyw930739m2evb_01 .bss 83796 84212 416 0.5
esp32 all-clusters-app c3devkit .dram0.bss 62920 63080 160 0.3
linux all-clusters-app debug .bss 57536 57664 128 0.2
bridge-app debug+rpc .bss 44520 44648 128 0.3
door-lock-app debug .bss 47776 47904 128 0.3
lighting-app debug+rpc .bss 49120 49248 128 0.3
ota-provider-app debug .bss 47616 47744 128 0.3
ota-requestor-app debug .bss 48608 48736 128 0.3
shell debug .bss 67240 67496 256 0.4
Increases (31 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 3666138 4753b2f change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 668091 668311 220 0.0
.bss 81736 81896 160 0.2
.rodata 79683 79695 12 0.0
.text 587928 588136 208 0.0
lock-mtd LP_CC2652R7 (read only) 617211 617439 228 0.0
(read/write) 154448 154608 160 0.1
.bss 77464 77624 160 0.2
.rodata 79563 79583 20 0.0
.text 537160 537368 208 0.0
pump-app LP_CC2652R7 (read only) 687543 687771 228 0.0
.bss 82128 82288 160 0.2
.rodata 81759 81779 20 0.0
.text 605300 605508 208 0.0
pump-controller-app LP_CC2652R7 (read only) 669775 670003 228 0.0
.bss 81872 82032 160 0.2
.rodata 78095 78115 20 0.0
.text 591196 591404 208 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 610682 611286 604 0.1
.app_xip_area 517456 517644 188 0.0
.bss 75980 76396 416 0.5
lock cyw930739m2evb_01 (read/write) 568202 568806 604 0.1
.app_xip_area 476504 476692 188 0.0
.bss 74484 74900 416 0.6
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 579790 580386 596 0.1
.app_xip_area 478460 478640 180 0.0
.bss 83796 84212 416 0.5
efr32 lighting-app BRD4161A (read only) 916168 916468 300 0.0
(read/write) 129728 129884 156 0.1
.bss 127768 127928 160 0.1
.text 916160 916460 300 0.0
BRD4161A+rpc (read only) 944048 944348 300 0.0
(read/write) 145680 145840 160 0.1
.bss 143544 143704 160 0.1
.text 944040 944340 300 0.0
window-app BRD4161A (read only) 851480 851788 308 0.0
(read/write) 127752 127908 156 0.1
.bss 125912 126072 160 0.1
.text 851472 851780 308 0.0
esp32 all-clusters-app c3devkit (read only) 985940 986038 98 0.0
(read/write) 1460530 1460706 176 0.0
.dram0.bss 62920 63080 160 0.3
.flash.rodata 197960 197976 16 0.0
.flash.text 985940 986038 98 0.0
m5stack (read/write) 461544 461728 184 0.0
.dram0.bss 68448 68608 160 0.2
.flash.rodata 226928 226952 24 0.0
k32w light k32w061+release (read/write) 707908 708224 316 0.0
.bss 77944 78104 160 0.2
.text 622296 622452 156 0.0
lock k32w061+release (read/write) 707316 707632 316 0.0
.bss 77928 78088 160 0.2
.text 621680 621836 156 0.0
linux all-clusters-app debug (read only) 2576609 2577489 880 0.0
(read/write) 144360 144520 160 0.1
.bss 57536 57664 128 0.2
.data.rel.ro 79608 79640 32 0.0
.text 2188642 2189426 784 0.0
bridge-app debug+rpc (read only) 1787181 1788061 880 0.0
(read/write) 89912 90072 160 0.2
.bss 44520 44648 128 0.3
.data.rel.ro 38320 38344 24 0.1
.text 1524213 1524997 784 0.1
chip-tool debug (read only) 10436029 10437045 1016 0.0
(read/write) 358552 358584 32 0.0
.data.rel.ro 329272 329304 32 0.0
.rodata 532205 532237 32 0.0
.text 9111349 9112213 864 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 10036540 10037460 920 0.0
(read/write) 478177 478209 32 0.0
.data.rel.ro 376144 376184 40 0.0
.rodata 506524 506532 8 0.0
.text 8465492 8466292 800 0.0
door-lock-app debug (read only) 2057977 2058937 960 0.0
(read/write) 117808 117968 160 0.1
.bss 47776 47904 128 0.3
.data.rel.ro 63416 63464 48 0.1
.rodata 184873 184937 64 0.0
.text 1719890 1720690 800 0.0
lighting-app debug+rpc (read only) 2236209 2237089 880 0.0
(read/write) 124800 124992 192 0.2
.bss 49120 49248 128 0.3
.data.rel.ro 68488 68536 48 0.1
.text 1894514 1895298 784 0.0
ota-provider-app debug (read only) 1995985 1996913 928 0.0
(read/write) 113408 113568 160 0.1
.bss 47616 47744 128 0.3
.data.rel.ro 58728 58776 48 0.1
.rodata 170707 170739 32 0.0
.text 1671154 1671954 800 0.0
ota-requestor-app debug (read only) 2024785 2025681 896 0.0
(read/write) 116632 116792 160 0.1
.bss 48608 48736 128 0.3
.data.rel.ro 60936 60968 32 0.1
.text 1702098 1702898 800 0.0
shell debug (read only) 2473937 2474817 880 0.0
(read/write) 147888 148176 288 0.2
.bss 67240 67496 256 0.4
.data.rel.ro 74136 74168 32 0.0
.text 2103666 2104450 784 0.0
thermostat-no-ble arm64 (read only) 2311068 2311932 864 0.0
(read/write) 149057 149217 160 0.1
.bss 62913 63041 128 0.2
.data.rel.ro 77488 77520 32 0.0
.rodata 142908 142924 16 0.0
.text 1943040 1943792 752 0.0
tv-app debug (read only) 2741337 2742265 928 0.0
(read/write) 249312 249472 160 0.1
.bss 165200 165328 128 0.1
.data.rel.ro 74648 74688 40 0.1
.rodata 210635 210667 32 0.0
.text 2352882 2353682 800 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2360020 2360156 136 0.0
.bss 185020 185180 160 0.1
.text 1322620 1322756 136 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1148795 1149115 320 0.0
bss 143048 143208 160 0.1
rodata 143292 143308 16 0.0
text 787612 787784 172 0.0
p6 all-clusters-app default (read/write) 2504592 2504944 352 0.0
.bss 118456 118616 160 0.1
.text 1462856 1463208 352 0.0
light-app default (read/write) 2405752 2406112 360 0.0
.bss 111912 112072 160 0.1
.text 1364016 1364376 360 0.0
lock-app default (read/write) 2369384 2369744 360 0.0
.bss 111656 111816 160 0.1
.text 1327648 1328008 360 0.0
telink lighting-app tlsr9518adk80d (read/write) 792340 792716 376 0.0
bss 70264 70424 160 0.2
text 562250 562452 202 0.0
Decreases (4 builds for cc13x2_26x2, esp32)
platform target config section 3666138 4753b2f change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read/write) 183604 183544 -60 -0.0
pump-app LP_CC2652R7 (read/write) 165312 165244 -68 -0.0
pump-controller-app LP_CC2652R7 (read/write) 182824 182756 -68 -0.0
esp32 all-clusters-app m5stack (read only) 1038339 1038291 -48 -0.0
.flash.text 1032955 1032907 -48 -0.0
Full report (31 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 3666138 4753b2f change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 668091 668311 220 0.0
(read/write) 183604 183544 -60 -0.0
.bss 81736 81896 160 0.2
.data 3128 3128 0 0.0
.rodata 79683 79695 12 0.0
.text 587928 588136 208 0.0
lock-mtd LP_CC2652R7 (read only) 617211 617439 228 0.0
(read/write) 154448 154608 160 0.1
.bss 77464 77624 160 0.2
.data 3128 3128 0 0.0
.rodata 79563 79583 20 0.0
.text 537160 537368 208 0.0
pump-app LP_CC2652R7 (read only) 687543 687771 228 0.0
(read/write) 165312 165244 -68 -0.0
.bss 82128 82288 160 0.2
.data 3160 3160 0 0.0
.rodata 81759 81779 20 0.0
.text 605300 605508 208 0.0
pump-controller-app LP_CC2652R7 (read only) 669775 670003 228 0.0
(read/write) 182824 182756 -68 -0.0
.bss 81872 82032 160 0.2
.data 3124 3124 0 0.0
.rodata 78095 78115 20 0.0
.text 591196 591404 208 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 610682 611286 604 0.1
.app_xip_area 517456 517644 188 0.0
.bss 75980 76396 416 0.5
.data 596 596 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 568202 568806 604 0.1
.app_xip_area 476504 476692 188 0.0
.bss 74484 74900 416 0.6
.data 560 560 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 579790 580386 596 0.1
.app_xip_area 478460 478640 180 0.0
.bss 83796 84212 416 0.5
.data 500 500 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 916168 916468 300 0.0
(read/write) 129728 129884 156 0.1
.bss 127768 127928 160 0.1
.data 1956 1956 0 0.0
.text 916160 916460 300 0.0
BRD4161A+rpc (read only) 944048 944348 300 0.0
(read/write) 145680 145840 160 0.1
.bss 143544 143704 160 0.1
.data 2136 2136 0 0.0
.text 944040 944340 300 0.0
window-app BRD4161A (read only) 851480 851788 308 0.0
(read/write) 127752 127908 156 0.1
.bss 125912 126072 160 0.1
.data 1836 1836 0 0.0
.text 851472 851780 308 0.0
esp32 all-clusters-app c3devkit (read only) 985940 986038 98 0.0
(read/write) 1460530 1460706 176 0.0
.dram0.bss 62920 63080 160 0.3
.dram0.data 14164 14164 0 0.0
.flash.rodata 197960 197976 16 0.0
.flash.text 985940 986038 98 0.0
.iram0.text 62572 62572 0 0.0
m5stack (read only) 1038339 1038291 -48 -0.0
(read/write) 461544 461728 184 0.0
.dram0.bss 68448 68608 160 0.2
.dram0.data 34024 34024 0 0.0
.flash.rodata 226928 226952 24 0.0
.flash.text 1032955 1032907 -48 -0.0
.iram0.text 123415 123415 0 0.0
k32w light k32w061+release (read/write) 707908 708224 316 0.0
.bss 77944 78104 160 0.2
.data 1868 1868 0 0.0
.text 622296 622452 156 0.0
lock k32w061+release (read/write) 707316 707632 316 0.0
.bss 77928 78088 160 0.2
.data 1908 1908 0 0.0
.text 621680 621836 156 0.0
linux all-clusters-app debug (read only) 2576609 2577489 880 0.0
(read/write) 144360 144520 160 0.1
.bss 57536 57664 128 0.2
.data 1328 1328 0 0.0
.data.rel.ro 79608 79640 32 0.0
.dynamic 592 592 0 0.0
.got 4312 4312 0 0.0
.init 27 27 0 0.0
.init_array 960 960 0 0.0
.rodata 220549 220549 0 0.0
.text 2188642 2189426 784 0.0
bridge-app debug+rpc (read only) 1787181 1788061 880 0.0
(read/write) 89912 90072 160 0.2
.bss 44520 44648 128 0.3
.data 1984 1984 0 0.0
.data.rel.ro 38320 38344 24 0.1
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 552 552 0 0.0
.rodata 146937 146937 0 0.0
.text 1524213 1524997 784 0.1
chip-tool debug (read only) 10436029 10437045 1016 0.0
(read/write) 358552 358584 32 0.0
.bss 22016 22016 0 0.0
.data 1040 1040 0 0.0
.data.rel.ro 329272 329304 32 0.0
.dynamic 624 624 0 0.0
.got 4896 4896 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 532205 532237 32 0.0
.text 9111349 9112213 864 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 10036540 10037460 920 0.0
(read/write) 478177 478209 32 0.0
.bss 40337 40337 0 0.0
.data 1128 1128 0 0.0
.data.rel.ro 376144 376184 40 0.0
.dynamic 560 560 0 0.0
.got 56768 56768 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 506524 506532 8 0.0
.text 8465492 8466292 800 0.0
door-lock-app debug (read only) 2057977 2058937 960 0.0
(read/write) 117808 117968 160 0.1
.bss 47776 47904 128 0.3
.data 1056 1056 0 0.0
.data.rel.ro 63416 63464 48 0.1
.dynamic 592 592 0 0.0
.got 4256 4256 0 0.0
.init 27 27 0 0.0
.init_array 680 680 0 0.0
.rodata 184873 184937 64 0.0
.text 1719890 1720690 800 0.0
lighting-app debug+rpc (read only) 2236209 2237089 880 0.0
(read/write) 124800 124992 192 0.2
.bss 49120 49248 128 0.3
.data 1504 1504 0 0.0
.data.rel.ro 68488 68536 48 0.1
.dynamic 608 608 0 0.0
.got 4304 4304 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 179017 179017 0 0.0
.text 1894514 1895298 784 0.0
ota-provider-app debug (read only) 1995985 1996913 928 0.0
(read/write) 113408 113568 160 0.1
.bss 47616 47744 128 0.3
.data 1320 1320 0 0.0
.data.rel.ro 58728 58776 48 0.1
.dynamic 608 608 0 0.0
.got 4456 4456 0 0.0
.init 27 27 0 0.0
.init_array 632 632 0 0.0
.rodata 170707 170739 32 0.0
.text 1671154 1671954 800 0.0
ota-requestor-app debug (read only) 2024785 2025681 896 0.0
(read/write) 116632 116792 160 0.1
.bss 48608 48736 128 0.3
.data 1512 1512 0 0.0
.data.rel.ro 60936 60968 32 0.1
.dynamic 592 592 0 0.0
.got 4296 4296 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 166908 166908 0 0.0
.text 1702098 1702898 800 0.0
shell debug (read only) 2473937 2474817 880 0.0
(read/write) 147888 148176 288 0.2
.bss 67240 67496 256 0.4
.data 784 784 0 0.0
.data.rel.ro 74136 74168 32 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 212338 212338 0 0.0
.text 2103666 2104450 784 0.0
thermostat-no-ble arm64 (read only) 2311068 2311932 864 0.0
(read/write) 149057 149217 160 0.1
.bss 62913 63041 128 0.2
.data 1072 1072 0 0.0
.data.rel.ro 77488 77520 32 0.0
.dynamic 560 560 0 0.0
.got 4568 4568 0 0.0
.init 24 24 0 0.0
.init_array 368 368 0 0.0
.rodata 142908 142924 16 0.0
.text 1943040 1943792 752 0.0
tv-app debug (read only) 2741337 2742265 928 0.0
(read/write) 249312 249472 160 0.1
.bss 165200 165328 128 0.1
.data 3296 3296 0 0.0
.data.rel.ro 74648 74688 40 0.1
.dynamic 592 592 0 0.0
.got 4656 4656 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 210635 210667 32 0.0
.text 2352882 2353682 800 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2360020 2360156 136 0.0
.bss 185020 185180 160 0.1
.data 5752 5752 0 0.0
.text 1322620 1322756 136 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1148795 1149115 320 0.0
bss 143048 143208 160 0.1
rodata 143292 143308 16 0.0
text 787612 787784 172 0.0
p6 all-clusters-app default (read/write) 2504592 2504944 352 0.0
.bss 118456 118616 160 0.1
.data 2632 2632 0 0.0
.text 1462856 1463208 352 0.0
light-app default (read/write) 2405752 2406112 360 0.0
.bss 111912 112072 160 0.1
.data 2488 2488 0 0.0
.text 1364016 1364376 360 0.0
lock-app default (read/write) 2369384 2369744 360 0.0
.bss 111656 111816 160 0.1
.data 2448 2448 0 0.0
.text 1327648 1328008 360 0.0
telink lighting-app tlsr9518adk80d (read/write) 792340 792716 376 0.0
bss 70264 70424 160 0.2
noinit 40416 40416 0 0.0
text 562250 562452 202 0.0

@github-actions
Copy link

github-actions bot commented Apr 4, 2022

PR #17003: Size comparison from def1881 to ba487b2

Increases above 0.2%:

platform target config section def1881 ba487b2 change % change
cyw30739 light cyw930739m2evb_01 .bss 76004 76420 416 0.5
lock cyw930739m2evb_01 .bss 74500 74916 416 0.6
ota-requestor-no-progress-logging cyw930739m2evb_01 .bss 83816 84232 416 0.5
esp32 all-clusters-app c3devkit .dram0.bss 62944 63104 160 0.3
linux all-clusters-app debug .bss 57632 57760 128 0.2
bridge-app debug+rpc .bss 44552 44680 128 0.3
door-lock-app debug .bss 47872 48000 128 0.3
lighting-app debug+rpc .bss 49184 49312 128 0.3
ota-provider-app debug .bss 47712 47840 128 0.3
ota-requestor-app debug .bss 48704 48832 128 0.3
shell debug .bss 67304 67560 256 0.4
Increases (31 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section def1881 ba487b2 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 668187 668463 276 0.0
.bss 81752 81912 160 0.2
.rodata 79675 79695 20 0.0
.text 588032 588288 256 0.0
lock-mtd LP_CC2652R7 (read only) 617315 617591 276 0.0
(read/write) 154500 154660 160 0.1
.bss 77480 77640 160 0.2
.rodata 79563 79575 12 0.0
.text 537264 537528 264 0.0
pump-app LP_CC2652R7 (read only) 687639 687915 276 0.0
.bss 82152 82312 160 0.2
.rodata 81759 81771 12 0.0
.text 605396 605660 264 0.0
pump-controller-app LP_CC2652R7 (read only) 669879 670147 268 0.0
.bss 81888 82048 160 0.2
.rodata 78095 78107 12 0.0
.text 591300 591556 256 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 610814 611498 684 0.1
.app_xip_area 517524 517792 268 0.1
.bss 76004 76420 416 0.5
lock cyw930739m2evb_01 (read/write) 568330 569006 676 0.1
.app_xip_area 476584 476844 260 0.1
.bss 74500 74916 416 0.6
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 579990 580666 676 0.1
.app_xip_area 478600 478860 260 0.1
.bss 83816 84232 416 0.5
efr32 lighting-app BRD4161A (read only) 916152 916484 332 0.0
(read/write) 129784 129944 160 0.1
.bss 127792 127952 160 0.1
.text 916144 916476 332 0.0
BRD4161A+rpc (read only) 944056 944388 332 0.0
(read/write) 145736 145892 156 0.1
.bss 143560 143720 160 0.1
.text 944048 944380 332 0.0
window-app BRD4161A (read only) 851472 851812 340 0.0
(read/write) 127808 127968 160 0.1
.bss 125936 126096 160 0.1
.text 851464 851804 340 0.0
esp32 all-clusters-app c3devkit (read only) 985870 986142 272 0.0
(read/write) 1460570 1460746 176 0.0
.dram0.bss 62944 63104 160 0.3
.flash.rodata 197952 197968 16 0.0
.flash.text 985870 986142 272 0.0
m5stack (read only) 1038411 1038607 196 0.0
(read/write) 461600 461784 184 0.0
.dram0.bss 68472 68632 160 0.2
.flash.rodata 226928 226952 24 0.0
.flash.text 1033027 1033223 196 0.0
k32w light k32w061+release (read/write) 708028 708424 396 0.1
.bss 77952 78112 160 0.2
.text 622372 622608 236 0.0
lock k32w061+release (read/write) 707452 707848 396 0.1
.bss 77952 78112 160 0.2
.text 621756 621992 236 0.0
linux all-clusters-app debug (read only) 2578569 2579465 896 0.0
(read/write) 144744 144904 160 0.1
.bss 57632 57760 128 0.2
.data.rel.ro 79784 79816 32 0.0
.text 2189778 2190578 800 0.0
bridge-app debug+rpc (read only) 1788853 1789749 896 0.1
(read/write) 90200 90360 160 0.2
.bss 44552 44680 128 0.3
.data.rel.ro 38520 38544 24 0.1
.text 1525157 1525957 800 0.1
chip-tool debug (read only) 10437245 10438261 1016 0.0
(read/write) 358680 358712 32 0.0
.data.rel.ro 329400 329432 32 0.0
.rodata 532237 532269 32 0.0
.text 9112293 9113157 864 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 10037884 10038820 936 0.0
(read/write) 478337 478369 32 0.0
.data.rel.ro 376288 376328 40 0.0
.rodata 506604 506612 8 0.0
.text 8466420 8467236 816 0.0
door-lock-app debug (read only) 2059841 2060737 896 0.0
(read/write) 118160 118320 160 0.1
.bss 47872 48000 128 0.3
.data.rel.ro 63592 63624 32 0.1
.text 1720930 1721730 800 0.0
lighting-app debug+rpc (read only) 2238073 2238969 896 0.0
(read/write) 125152 125312 160 0.1
.bss 49184 49312 128 0.3
.data.rel.ro 68680 68712 32 0.0
.text 1895554 1896354 800 0.0
ota-provider-app debug (read only) 1997849 1998777 928 0.0
(read/write) 113760 113920 160 0.1
.bss 47712 47840 128 0.3
.data.rel.ro 58936 58968 32 0.1
.rodata 171107 171139 32 0.0
.text 1672210 1673010 800 0.0
ota-requestor-app debug (read only) 2026945 2027873 928 0.0
(read/write) 117016 117208 192 0.2
.bss 48704 48832 128 0.3
.data.rel.ro 61128 61176 48 0.1
.rodata 167628 167660 32 0.0
.text 1703106 1703906 800 0.0
shell debug (read only) 2475817 2476697 880 0.0
(read/write) 148208 148496 288 0.2
.bss 67304 67560 256 0.4
.data.rel.ro 74328 74360 32 0.0
.text 2104754 2105538 784 0.0
thermostat-no-ble arm64 (read only) 2312796 2313660 864 0.0
(read/write) 149361 149521 160 0.1
.bss 62945 63073 128 0.2
.data.rel.ro 77640 77672 32 0.0
.rodata 143084 143100 16 0.0
.text 1944112 1944864 752 0.0
tv-app debug (read only) 2742193 2743089 896 0.0
(read/write) 249664 249856 192 0.1
.bss 165264 165392 128 0.1
.data.rel.ro 74848 74888 40 0.1
.text 2353010 2353810 800 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2360316 2360580 264 0.0
.bss 185036 185196 160 0.1
.text 1322916 1323180 264 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1148891 1149275 384 0.0
bss 143060 143220 160 0.1
rodata 143284 143300 16 0.0
text 787664 787916 252 0.0
p6 all-clusters-app default (read/write) 2504496 2504816 320 0.0
.bss 118472 118632 160 0.1
.text 1462760 1463080 320 0.0
light-app default (read/write) 2405656 2406000 344 0.0
.bss 111928 112088 160 0.1
.text 1363920 1364264 344 0.0
lock-app default (read/write) 2369312 2369640 328 0.0
.bss 111672 111832 160 0.1
.text 1327576 1327904 328 0.0
telink lighting-app tlsr9518adk80d (read/write) 792284 792676 392 0.0
bss 70288 70448 160 0.2
text 562144 562362 218 0.0
Decreases (3 builds for cc13x2_26x2)
platform target config section def1881 ba487b2 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read/write) 183524 183408 -116 -0.1
pump-app LP_CC2652R7 (read/write) 165240 165124 -116 -0.1
pump-controller-app LP_CC2652R7 (read/write) 182736 182628 -108 -0.1
Full report (31 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section def1881 ba487b2 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 668187 668463 276 0.0
(read/write) 183524 183408 -116 -0.1
.bss 81752 81912 160 0.2
.data 3164 3164 0 0.0
.rodata 79675 79695 20 0.0
.text 588032 588288 256 0.0
lock-mtd LP_CC2652R7 (read only) 617315 617591 276 0.0
(read/write) 154500 154660 160 0.1
.bss 77480 77640 160 0.2
.data 3164 3164 0 0.0
.rodata 79563 79575 12 0.0
.text 537264 537528 264 0.0
pump-app LP_CC2652R7 (read only) 687639 687915 276 0.0
(read/write) 165240 165124 -116 -0.1
.bss 82152 82312 160 0.2
.data 3196 3196 0 0.0
.rodata 81759 81771 12 0.0
.text 605396 605660 264 0.0
pump-controller-app LP_CC2652R7 (read only) 669879 670147 268 0.0
(read/write) 182736 182628 -108 -0.1
.bss 81888 82048 160 0.2
.data 3160 3160 0 0.0
.rodata 78095 78107 12 0.0
.text 591300 591556 256 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 610814 611498 684 0.1
.app_xip_area 517524 517792 268 0.1
.bss 76004 76420 416 0.5
.data 632 632 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 568330 569006 676 0.1
.app_xip_area 476584 476844 260 0.1
.bss 74500 74916 416 0.6
.data 596 596 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 579990 580666 676 0.1
.app_xip_area 478600 478860 260 0.1
.bss 83816 84232 416 0.5
.data 536 536 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 916152 916484 332 0.0
(read/write) 129784 129944 160 0.1
.bss 127792 127952 160 0.1
.data 1992 1992 0 0.0
.text 916144 916476 332 0.0
BRD4161A+rpc (read only) 944056 944388 332 0.0
(read/write) 145736 145892 156 0.1
.bss 143560 143720 160 0.1
.data 2172 2172 0 0.0
.text 944048 944380 332 0.0
window-app BRD4161A (read only) 851472 851812 340 0.0
(read/write) 127808 127968 160 0.1
.bss 125936 126096 160 0.1
.data 1872 1872 0 0.0
.text 851464 851804 340 0.0
esp32 all-clusters-app c3devkit (read only) 985870 986142 272 0.0
(read/write) 1460570 1460746 176 0.0
.dram0.bss 62944 63104 160 0.3
.dram0.data 14196 14196 0 0.0
.flash.rodata 197952 197968 16 0.0
.flash.text 985870 986142 272 0.0
.iram0.text 62572 62572 0 0.0
m5stack (read only) 1038411 1038607 196 0.0
(read/write) 461600 461784 184 0.0
.dram0.bss 68472 68632 160 0.2
.dram0.data 34056 34056 0 0.0
.flash.rodata 226928 226952 24 0.0
.flash.text 1033027 1033223 196 0.0
.iram0.text 123415 123415 0 0.0
k32w light k32w061+release (read/write) 708028 708424 396 0.1
.bss 77952 78112 160 0.2
.data 1904 1904 0 0.0
.text 622372 622608 236 0.0
lock k32w061+release (read/write) 707452 707848 396 0.1
.bss 77952 78112 160 0.2
.data 1944 1944 0 0.0
.text 621756 621992 236 0.0
linux all-clusters-app debug (read only) 2578569 2579465 896 0.0
(read/write) 144744 144904 160 0.1
.bss 57632 57760 128 0.2
.data 1440 1440 0 0.0
.data.rel.ro 79784 79816 32 0.0
.dynamic 592 592 0 0.0
.got 4312 4312 0 0.0
.init 27 27 0 0.0
.init_array 960 960 0 0.0
.rodata 220965 220965 0 0.0
.text 2189778 2190578 800 0.0
bridge-app debug+rpc (read only) 1788853 1789749 896 0.1
(read/write) 90200 90360 160 0.2
.bss 44552 44680 128 0.3
.data 2048 2048 0 0.0
.data.rel.ro 38520 38544 24 0.1
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 552 552 0 0.0
.rodata 147257 147257 0 0.0
.text 1525157 1525957 800 0.1
chip-tool debug (read only) 10437245 10438261 1016 0.0
(read/write) 358680 358712 32 0.0
.bss 22016 22016 0 0.0
.data 1040 1040 0 0.0
.data.rel.ro 329400 329432 32 0.0
.dynamic 624 624 0 0.0
.got 4896 4896 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 532237 532269 32 0.0
.text 9112293 9113157 864 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 10037884 10038820 936 0.0
(read/write) 478337 478369 32 0.0
.bss 40337 40337 0 0.0
.data 1128 1128 0 0.0
.data.rel.ro 376288 376328 40 0.0
.dynamic 560 560 0 0.0
.got 56784 56784 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 506604 506612 8 0.0
.text 8466420 8467236 816 0.0
door-lock-app debug (read only) 2059841 2060737 896 0.0
(read/write) 118160 118320 160 0.1
.bss 47872 48000 128 0.3
.data 1152 1152 0 0.0
.data.rel.ro 63592 63624 32 0.1
.dynamic 592 592 0 0.0
.got 4256 4256 0 0.0
.init 27 27 0 0.0
.init_array 680 680 0 0.0
.rodata 185289 185289 0 0.0
.text 1720930 1721730 800 0.0
lighting-app debug+rpc (read only) 2238073 2238969 896 0.0
(read/write) 125152 125312 160 0.1
.bss 49184 49312 128 0.3
.data 1600 1600 0 0.0
.data.rel.ro 68680 68712 32 0.0
.dynamic 608 608 0 0.0
.got 4304 4304 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 179433 179433 0 0.0
.text 1895554 1896354 800 0.0
ota-provider-app debug (read only) 1997849 1998777 928 0.0
(read/write) 113760 113920 160 0.1
.bss 47712 47840 128 0.3
.data 1384 1384 0 0.0
.data.rel.ro 58936 58968 32 0.1
.dynamic 608 608 0 0.0
.got 4456 4456 0 0.0
.init 27 27 0 0.0
.init_array 632 632 0 0.0
.rodata 171107 171139 32 0.0
.text 1672210 1673010 800 0.0
ota-requestor-app debug (read only) 2026945 2027873 928 0.0
(read/write) 117016 117208 192 0.2
.bss 48704 48832 128 0.3
.data 1608 1608 0 0.0
.data.rel.ro 61128 61176 48 0.1
.dynamic 592 592 0 0.0
.got 4296 4296 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 167628 167660 32 0.0
.text 1703106 1703906 800 0.0
shell debug (read only) 2475817 2476697 880 0.0
(read/write) 148208 148496 288 0.2
.bss 67304 67560 256 0.4
.data 848 848 0 0.0
.data.rel.ro 74328 74360 32 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 212722 212722 0 0.0
.text 2104754 2105538 784 0.0
thermostat-no-ble arm64 (read only) 2312796 2313660 864 0.0
(read/write) 149361 149521 160 0.1
.bss 62945 63073 128 0.2
.data 1136 1136 0 0.0
.data.rel.ro 77640 77672 32 0.0
.dynamic 560 560 0 0.0
.got 4624 4624 0 0.0
.init 24 24 0 0.0
.init_array 368 368 0 0.0
.rodata 143084 143100 16 0.0
.text 1944112 1944864 752 0.0
tv-app debug (read only) 2742193 2743089 896 0.0
(read/write) 249664 249856 192 0.1
.bss 165264 165392 128 0.1
.data 3392 3392 0 0.0
.data.rel.ro 74848 74888 40 0.1
.dynamic 592 592 0 0.0
.got 4656 4656 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 210955 210955 0 0.0
.text 2353010 2353810 800 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2360316 2360580 264 0.0
.bss 185036 185196 160 0.1
.data 5784 5784 0 0.0
.text 1322916 1323180 264 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1148891 1149275 384 0.0
bss 143060 143220 160 0.1
rodata 143284 143300 16 0.0
text 787664 787916 252 0.0
p6 all-clusters-app default (read/write) 2504496 2504816 320 0.0
.bss 118472 118632 160 0.1
.data 2672 2672 0 0.0
.text 1462760 1463080 320 0.0
light-app default (read/write) 2405656 2406000 344 0.0
.bss 111928 112088 160 0.1
.data 2528 2528 0 0.0
.text 1363920 1364264 344 0.0
lock-app default (read/write) 2369312 2369640 328 0.0
.bss 111672 111832 160 0.1
.data 2488 2488 0 0.0
.text 1327576 1327904 328 0.0
telink lighting-app tlsr9518adk80d (read/write) 792284 792676 392 0.0
bss 70288 70448 160 0.2
noinit 40416 40416 0 0.0
text 562144 562362 218 0.0

src/transport/SecureSession.h Show resolved Hide resolved
@andy31415 andy31415 merged commit 06c6e06 into project-chip:master Apr 11, 2022
andrei-menzopol pushed a commit to andrei-menzopol/connectedhomeip that referenced this pull request Apr 14, 2022
…ynamic timeout (project-chip#17003)

* [mrp] Fix project-chip#15800 - Add start of peer active tracking

* [sleepy] Add switching between active / idle based on peer tracking.

* [sleepy] Use constexpr for kMinActiveTime.

* [sleepy] Fix review comments + restyle.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[msg] [mrp] MRP_ACTIVE_TIMEOUT seems to never be used
4 participants