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

[mrp] Align MRP backoff time calculation with spec #21356

Merged
merged 5 commits into from
Aug 1, 2022

Conversation

Damian-Nordic
Copy link
Contributor

Problem

  • MRP_BACKOFF_MARGIN is not taken into account
  • SED active interval is not taken into account

Change overview

  • Align ReliableMessageMgr::GetBackoff() naming with spec
  • Multiply the backoff time by MRP_BACKOFF_MARGIN
  • Increase MRP backoff time for SED sender

Testing

Extended unit tests.
Tested on a sleepy end device that the backoff time is increased by the sleepy active interval.

@github-actions
Copy link

github-actions bot commented Jul 28, 2022

PR #21356: Size comparison from 1679342 to 035fc25

Increases above 0.2%:

platform target config section 1679342 035fc25 change % change
linux all-clusters-app debug .init_array 1144 1152 8 0.7
all-clusters-minimal-app debug .init_array 1136 1144 8 0.7
bridge-app debug+rpc .init_array 816 824 8 1.0
chip-tool debug .init_array 760 768 8 1.1
lighting-app debug+rpc .init_array 904 912 8 0.9
lock-app debug .init_array 880 888 8 0.9
ota-provider-app debug .init_array 760 768 8 1.1
ota-requestor-app debug .init_array 824 832 8 1.0
shell debug .init_array 1016 1024 8 0.8
tv-app debug .init_array 1064 1072 8 0.8
tv-casting-app debug .init_array 1024 1032 8 0.8
Increases (41 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 1679342 035fc25 change % change
bl602 lighting-app bl602 (read/write) 1381378 1381410 32 0.0
.text 1051676 1051708 32 0.0
bl602+rpc (read/write) 1426794 1426826 32 0.0
.text 1083340 1083372 32 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 668363 668371 8 0.0
.text 579852 579860 8 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 633939 633947 8 0.0
.text 556204 556212 8 0.0
lock-ftd LP_CC2652R7 (read only) 671487 671503 16 0.0
.text 594744 594760 16 0.0
lock-mtd LP_CC2652R7 (read only) 653595 653603 8 0.0
.text 552240 552248 8 0.0
pump-app LP_CC2652R7 (read only) 680799 680807 8 0.0
.text 591452 591460 8 0.0
pump-controller-app LP_CC2652R7 (read only) 666527 666535 8 0.0
.text 581368 581376 8 0.0
shell LP_CC2652R7 (read only) 661046 661054 8 0.0
.text 575564 575572 8 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 583246 583254 8 0.0
.app_xip_area 460064 460072 8 0.0
lock cyw930739m2evb_01 (read/write) 589158 589166 8 0.0
.app_xip_area 461248 461256 8 0.0
efr32 lighting-app BRD4161A (read/write) 1087840 1087904 64 0.0
.text 952496 952560 64 0.0
BRD4161A+rpc (read/write) 1142148 1142196 48 0.0
.text 989912 989960 48 0.0
BRD4161A+rs911x (read/write) 973720 973768 48 0.0
.text 809916 809964 48 0.0
lock-app BRD4161A+wf200 (read/write) 1128392 1128408 16 0.0
.text 981948 981964 16 0.0
window-app BRD4161A (read/write) 1081316 1081380 64 0.0
.text 944468 944532 64 0.0
esp32 all-clusters-app c3devkit (read only) 1022520 1022550 30 0.0
.flash.text 1022520 1022550 30 0.0
m5stack (read only) 1076151 1076175 24 0.0
.flash.text 1070767 1070791 24 0.0
k32w lock k32w0+release (read/write) 699920 699952 32 0.0
.text 624988 625020 32 0.0
linux all-clusters-app debug (read only) 2990169 2990497 328 0.0
(read/write) 155584 155592 8 0.0
.init_array 1144 1152 8 0.7
.rodata 269195 269323 128 0.0
.text 2542402 2542578 176 0.0
all-clusters-minimal-app debug (read only) 2833209 2833537 328 0.0
(read/write) 147288 147296 8 0.0
.init_array 1136 1144 8 0.7
.rodata 269355 269483 128 0.0
.text 2387890 2388066 176 0.0
bridge-app debug+rpc (read only) 2351561 2351857 296 0.0
(read/write) 127160 127168 8 0.0
.init_array 816 824 8 1.0
.rodata 201480 201576 96 0.0
.text 1987314 1987490 176 0.0
chip-tool debug (read only) 10464689 10464985 296 0.0
(read/write) 641464 641472 8 0.0
.init_array 760 768 8 1.1
.rodata 536021 536117 96 0.0
.text 8444260 8444436 176 0.0
chip-tool-ipv6only arm64 (read only) 9880708 9880796 88 0.0
.text 7797348 7797444 96 0.0
lighting-app debug+rpc (read only) 2574425 2574721 296 0.0
(read/write) 130096 130104 8 0.0
.init_array 904 912 8 0.9
.rodata 217232 217328 96 0.0
.text 2186338 2186514 176 0.0
lock-app debug (read only) 2539617 2539929 312 0.0
(read/write) 125176 125184 8 0.0
.init_array 880 888 8 0.9
.rodata 232112 232208 96 0.0
.text 2141426 2141618 192 0.0
ota-provider-app debug (read only) 2343961 2344257 296 0.0
(read/write) 118944 118952 8 0.0
.init_array 760 768 8 1.1
.rodata 207704 207800 96 0.0
.text 1972594 1972770 176 0.0
ota-requestor-app debug (read only) 2464873 2465217 344 0.0
(read/write) 126304 126312 8 0.0
.init_array 824 832 8 1.0
.rodata 211264 211392 128 0.1
.text 2081330 2081522 192 0.0
shell debug (read only) 2573665 2573961 296 0.0
(read/write) 141736 141744 8 0.0
.init_array 1016 1024 8 0.8
.rodata 231250 231346 96 0.0
.text 2184354 2184530 176 0.0
thermostat-no-ble arm64 (read only) 2343516 2343596 80 0.0
.text 1967312 1967392 80 0.0
tv-app debug (read only) 3141857 3142169 312 0.0
(read/write) 257608 257616 8 0.0
.init_array 1064 1072 8 0.8
.rodata 254184 254280 96 0.0
.text 2698338 2698530 192 0.0
tv-casting-app debug (read only) 5379529 5379857 328 0.0
(read/write) 158592 158600 8 0.0
.init_array 1024 1032 8 0.8
.rodata 338641 338769 128 0.0
.text 4773810 4773986 176 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2450608 2450672 64 0.0
.text 1413252 1413316 64 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 808856 808864 8 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 text 798164 798168 4 0.0
p6 all-clusters-app default (read/write) 1686780 1686828 48 0.0
.text 1526608 1526656 48 0.0
all-clusters-minimal-app default (read/write) 1630876 1630940 64 0.0
.text 1471424 1471488 64 0.0
light-app default (read/write) 1552284 1552348 64 0.0
.text 1401136 1401200 64 0.0
lock-app default (read/write) 1589908 1589956 48 0.0
.text 1434288 1434336 48 0.0
telink light-switch-app tlsr9518adk80d (read/write) 799608 799640 32 0.0
text 567246 567274 28 0.0
lighting-app tlsr9518adk80d (read/write) 819748 819772 24 0.0
text 583850 583878 28 0.0
Decreases (7 builds for cc13x2_26x2, linux)
platform target config section 1679342 035fc25 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 182980 182972 -8 -0.0
lock-ftd LP_CC2652R7 (read/write) 170048 170032 -16 -0.0
lock-mtd LP_CC2652R7 (read/write) 183628 183620 -8 -0.0
pump-app LP_CC2652R7 (read/write) 161568 161560 -8 -0.0
pump-controller-app LP_CC2652R7 (read/write) 175976 175968 -8 -0.0
shell LP_CC2652R7 (read/write) 185816 185808 -8 -0.0
linux chip-tool-ipv6only arm64 .rodata 468228 468220 -8 -0.0
Full report (43 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 1679342 035fc25 change % change
bl602 lighting-app bl602 (read/write) 1381378 1381410 32 0.0
.bss 117618 117618 0 0.0
.data 4480 4480 0 0.0
.text 1051676 1051708 32 0.0
bl602+rpc (read/write) 1426794 1426826 32 0.0
.bss 125058 125058 0 0.0
.data 4600 4600 0 0.0
.text 1083340 1083372 32 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 668363 668371 8 0.0
(read/write) 182980 182972 -8 -0.0
.bss 74236 74236 0 0.0
.data 3372 3372 0 0.0
.rodata 88195 88195 0 0.0
.text 579852 579860 8 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 633939 633947 8 0.0
(read/write) 157820 157820 0 0.0
.bss 73532 73532 0 0.0
.data 3372 3372 0 0.0
.rodata 77411 77411 0 0.0
.text 556204 556212 8 0.0
lock-ftd LP_CC2652R7 (read only) 671487 671503 16 0.0
(read/write) 170048 170032 -16 -0.0
.bss 71316 71316 0 0.0
.data 3296 3296 0 0.0
.rodata 76263 76263 0 0.0
.text 594744 594760 16 0.0
lock-mtd LP_CC2652R7 (read only) 653595 653603 8 0.0
(read/write) 183628 183620 -8 -0.0
.bss 67004 67004 0 0.0
.data 3296 3296 0 0.0
.rodata 100875 100875 0 0.0
.text 552240 552248 8 0.0
pump-app LP_CC2652R7 (read only) 680799 680807 8 0.0
(read/write) 161568 161560 -8 -0.0
.bss 71380 71380 0 0.0
.data 3296 3296 0 0.0
.rodata 88863 88863 0 0.0
.text 591452 591460 8 0.0
pump-controller-app LP_CC2652R7 (read only) 666527 666535 8 0.0
(read/write) 175976 175968 -8 -0.0
.bss 71516 71516 0 0.0
.data 3292 3292 0 0.0
.rodata 84679 84679 0 0.0
.text 581368 581376 8 0.0
shell LP_CC2652R7 (read only) 661046 661054 8 0.0
(read/write) 185816 185808 -8 -0.0
.bss 76556 76556 0 0.0
.data 3376 3376 0 0.0
.rodata 85166 85166 0 0.0
.text 575564 575572 8 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 583246 583254 8 0.0
.app_xip_area 460064 460072 8 0.0
.bss 65624 65624 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 589158 589166 8 0.0
.app_xip_area 461248 461256 8 0.0
.bss 70352 70352 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 588970 588970 0 0.0
.app_xip_area 466604 466604 0 0.0
.bss 64864 64864 0 0.0
.data 688 688 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1087840 1087904 64 0.0
.bss 133260 133260 0 0.0
.data 2064 2064 0 0.0
.text 952496 952560 64 0.0
BRD4161A+rpc (read/write) 1142148 1142196 48 0.0
.bss 149940 149940 0 0.0
.data 2276 2276 0 0.0
.text 989912 989960 48 0.0
BRD4161A+rs911x (read/write) 973720 973768 48 0.0
.bss 161736 161736 0 0.0
.data 2048 2048 0 0.0
.text 809916 809964 48 0.0
lock-app BRD4161A+wf200 (read/write) 1128392 1128408 16 0.0
.bss 144368 144368 0 0.0
.data 2056 2056 0 0.0
.text 981948 981964 16 0.0
window-app BRD4161A (read/write) 1081316 1081380 64 0.0
.bss 134732 134732 0 0.0
.data 2092 2092 0 0.0
.text 944468 944532 64 0.0
esp32 all-clusters-app c3devkit (read only) 1022520 1022550 30 0.0
(read/write) 1486274 1486274 0 0.0
.dram0.bss 70296 70296 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 215936 215936 0 0.0
.flash.text 1022520 1022550 30 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1076151 1076175 24 0.0
(read/write) 488312 488312 0 0.0
.dram0.bss 75808 75808 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 246364 246364 0 0.0
.flash.text 1070767 1070791 24 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 642640 642640 0 0.0
.bss 69712 69712 0 0.0
.data 2044 2044 0 0.0
.text 568156 568156 0 0.0
lock k32w0+release (read/write) 699920 699952 32 0.0
.bss 70152 70152 0 0.0
.data 2052 2052 0 0.0
.text 624988 625020 32 0.0
linux all-clusters-app debug (read only) 2990169 2990497 328 0.0
(read/write) 155584 155592 8 0.0
.bss 61888 61888 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 85272 85272 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 1144 1152 8 0.7
.rodata 269195 269323 128 0.0
.text 2542402 2542578 176 0.0
all-clusters-minimal-app debug (read only) 2833209 2833537 328 0.0
(read/write) 147288 147296 8 0.0
.bss 61088 61088 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 77864 77864 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1136 1144 8 0.7
.rodata 269355 269483 128 0.0
.text 2387890 2388066 176 0.0
bridge-app debug+rpc (read only) 2351561 2351857 296 0.0
(read/write) 127160 127168 8 0.0
.bss 50176 50176 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 67304 67304 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 816 824 8 1.0
.rodata 201480 201576 96 0.0
.text 1987314 1987490 176 0.0
chip-tool debug (read only) 10464689 10464985 296 0.0
(read/write) 641464 641472 8 0.0
.bss 24856 24856 0 0.0
.data 3266 3266 0 0.0
.data.rel.ro 606824 606824 0 0.0
.dynamic 608 608 0 0.0
.got 5088 5088 0 0.0
.init 27 27 0 0.0
.init_array 760 768 8 1.1
.rodata 536021 536117 96 0.0
.text 8444260 8444436 176 0.0
chip-tool-ipv6only arm64 (read only) 9880708 9880796 88 0.0
(read/write) 689041 689041 0 0.0
.bss 32897 32897 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 634336 634336 0 0.0
.dynamic 560 560 0 0.0
.got 13584 13584 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 468228 468220 -8 -0.0
.text 7797348 7797444 96 0.0
lighting-app debug+rpc (read only) 2574425 2574721 296 0.0
(read/write) 130096 130104 8 0.0
.bss 49728 49728 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72344 72344 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 904 912 8 0.9
.rodata 217232 217328 96 0.0
.text 2186338 2186514 176 0.0
lock-app debug (read only) 2539617 2539929 312 0.0
(read/write) 125176 125184 8 0.0
.bss 48160 48160 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69352 69352 0 0.0
.dynamic 608 608 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 880 888 8 0.9
.rodata 232112 232208 96 0.0
.text 2141426 2141618 192 0.0
ota-provider-app debug (read only) 2343961 2344257 296 0.0
(read/write) 118944 118952 8 0.0
.bss 47776 47776 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 63336 63336 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 760 768 8 1.1
.rodata 207704 207800 96 0.0
.text 1972594 1972770 176 0.0
ota-requestor-app debug (read only) 2464873 2465217 344 0.0
(read/write) 126304 126312 8 0.0
.bss 50144 50144 0 0.0
.data 2240 2240 0 0.0
.data.rel.ro 67992 67992 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 824 832 8 1.0
.rodata 211264 211392 128 0.1
.text 2081330 2081522 192 0.0
shell debug (read only) 2573665 2573961 296 0.0
(read/write) 141736 141744 8 0.0
.bss 57736 57736 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 76944 76944 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1016 1024 8 0.8
.rodata 231250 231346 96 0.0
.text 2184354 2184530 176 0.0
thermostat-no-ble arm64 (read only) 2343516 2343596 80 0.0
(read/write) 141633 141633 0 0.0
.bss 55313 55313 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75880 75880 0 0.0
.dynamic 560 560 0 0.0
.got 4992 4992 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 138964 138964 0 0.0
.text 1967312 1967392 80 0.0
tv-app debug (read only) 3141857 3142169 312 0.0
(read/write) 257608 257616 8 0.0
.bss 167320 167320 0 0.0
.data 4736 4736 0 0.0
.data.rel.ro 79000 79000 0 0.0
.dynamic 608 608 0 0.0
.got 4848 4848 0 0.0
.init 27 27 0 0.0
.init_array 1064 1072 8 0.8
.rodata 254184 254280 96 0.0
.text 2698338 2698530 192 0.0
tv-casting-app debug (read only) 5379529 5379857 328 0.0
(read/write) 158592 158600 8 0.0
.bss 51352 51352 0 0.0
.data 2432 2432 0 0.0
.data.rel.ro 98432 98432 0 0.0
.dynamic 608 608 0 0.0
.got 4736 4736 0 0.0
.init 27 27 0 0.0
.init_array 1024 1032 8 0.8
.rodata 338641 338769 128 0.0
.text 4773810 4773986 176 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2450608 2450672 64 0.0
.bss 214516 214516 0 0.0
.data 5872 5872 0 0.0
.text 1413252 1413316 64 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1172755 1172755 0 0.0
bss 143120 143120 0 0.0
rodata 141828 141828 0 0.0
text 808856 808864 8 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1152807 1152807 0 0.0
bss 142356 142356 0 0.0
rodata 133360 133360 0 0.0
text 798164 798168 4 0.0
p6 all-clusters-app default (read only) 881560 881560 0 0.0
(read/write) 1686780 1686828 48 0.0
.bss 149136 149136 0 0.0
.data 2648 2648 0 0.0
.text 1526608 1526656 48 0.0
all-clusters-minimal-app default (read only) 882280 882280 0 0.0
(read/write) 1630876 1630940 64 0.0
.bss 148416 148416 0 0.0
.data 2648 2648 0 0.0
.text 1471424 1471488 64 0.0
light-app default (read only) 890584 890584 0 0.0
(read/write) 1552284 1552348 64 0.0
.bss 140320 140320 0 0.0
.data 2440 2440 0 0.0
.text 1401136 1401200 64 0.0
lock-app default (read only) 886112 886112 0 0.0
(read/write) 1589908 1589956 48 0.0
.bss 144776 144776 0 0.0
.data 2456 2456 0 0.0
.text 1434288 1434336 48 0.0
telink light-switch-app tlsr9518adk80d (read/write) 799608 799640 32 0.0
bss 70796 70796 0 0.0
noinit 40416 40416 0 0.0
text 567246 567274 28 0.0
lighting-app tlsr9518adk80d (read/write) 819748 819772 24 0.0
bss 71640 71640 0 0.0
noinit 40416 40416 0 0.0
text 583850 583878 28 0.0

@woody-apple woody-apple enabled auto-merge (squash) July 29, 2022 05:11
Make variables and comments in the function more aligned
with the current spec version so that it is easier to
compare the code with the spec.

Signed-off-by: Damian Krolik <[email protected]>
Base interval (active or idle) should be multiplied by
MRP_BACKOFF_MARGIN = 1.1 before putting it in the MRP
backoff formula.

Signed-off-by: Damian Krolik <[email protected]>
When sender is sleepy, it may take more time until it
receives an acknowledgment from a peer, so MRP backoff time
should be extended by the sleepy active interval.

Signed-off-by: Damian Krolik <[email protected]>
@github-actions
Copy link

github-actions bot commented Jul 29, 2022

PR #21356: Size comparison from 21b1e5a to 5df092e

Increases above 0.2%:

platform target config section 21b1e5a 5df092e change % change
linux all-clusters-app debug .init_array 1144 1152 8 0.7
all-clusters-minimal-app debug .init_array 1136 1144 8 0.7
bridge-app debug+rpc .init_array 816 824 8 1.0
chip-tool debug .init_array 760 768 8 1.1
lighting-app debug+rpc .init_array 904 912 8 0.9
lock-app debug .init_array 880 888 8 0.9
ota-provider-app debug .init_array 760 768 8 1.1
ota-requestor-app debug .init_array 824 832 8 1.0
shell debug .init_array 1016 1024 8 0.8
tv-app debug .init_array 1064 1072 8 0.8
tv-casting-app debug .init_array 1024 1032 8 0.8
Increases (41 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, nrfconnect, p6, telink)
platform target config section 21b1e5a 5df092e change % change
bl602 lighting-app bl602 (read/write) 1381618 1381650 32 0.0
.text 1051888 1051920 32 0.0
bl602+rpc (read/write) 1427034 1427066 32 0.0
.text 1083556 1083588 32 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 668523 668531 8 0.0
.text 580012 580020 8 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 634107 634115 8 0.0
.text 556372 556380 8 0.0
lock-ftd LP_CC2652R7 (read only) 671495 671503 8 0.0
.text 594752 594760 8 0.0
lock-mtd LP_CC2652R7 (read only) 653595 653603 8 0.0
.text 552240 552248 8 0.0
pump-app LP_CC2652R7 (read only) 680959 680967 8 0.0
.text 591612 591620 8 0.0
pump-controller-app LP_CC2652R7 (read only) 666527 666535 8 0.0
.text 581368 581376 8 0.0
shell LP_CC2652R7 (read only) 661206 661214 8 0.0
.text 575724 575732 8 0.0
cyw30739 lock cyw930739m2evb_01 (read/write) 589158 589166 8 0.0
.app_xip_area 461248 461256 8 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 588970 588978 8 0.0
.app_xip_area 466604 466612 8 0.0
efr32 lighting-app BRD4161A (read/write) 1088048 1088096 48 0.0
.text 952704 952752 48 0.0
BRD4161A+rpc (read/write) 1142356 1142404 48 0.0
.text 990120 990168 48 0.0
BRD4161A+rs911x (read/write) 973912 973976 64 0.0
.text 810108 810172 64 0.0
lock-app BRD4161A+wf200 (read/write) 1128392 1128408 16 0.0
.text 981948 981964 16 0.0
window-app BRD4161A (read/write) 1081316 1081380 64 0.0
.text 944468 944532 64 0.0
esp32 all-clusters-app c3devkit (read only) 1022806 1022834 28 0.0
.flash.text 1022806 1022834 28 0.0
m5stack (read only) 1076295 1076319 24 0.0
.flash.text 1070911 1070935 24 0.0
k32w light k32w0+release (read/write) 642800 642816 16 0.0
.text 568316 568332 16 0.0
lock k32w0+release (read/write) 699920 699952 32 0.0
.text 624988 625020 32 0.0
linux all-clusters-app debug (read only) 2991257 2991585 328 0.0
(read/write) 155584 155592 8 0.0
.init_array 1144 1152 8 0.7
.rodata 269195 269323 128 0.0
.text 2543490 2543666 176 0.0
all-clusters-minimal-app debug (read only) 2834297 2834625 328 0.0
(read/write) 147288 147296 8 0.0
.init_array 1136 1144 8 0.7
.rodata 269355 269483 128 0.0
.text 2388978 2389154 176 0.0
bridge-app debug+rpc (read only) 2352649 2352993 344 0.0
(read/write) 127160 127168 8 0.0
.init_array 816 824 8 1.0
.rodata 201480 201608 128 0.1
.text 1988402 1988594 192 0.0
chip-tool debug (read only) 10466289 10466585 296 0.0
(read/write) 641464 641472 8 0.0
.init_array 760 768 8 1.1
.rodata 535989 536085 96 0.0
.text 8445892 8446068 176 0.0
chip-tool-ipv6only arm64 (read only) 9881988 9882060 72 0.0
.text 7798660 7798740 80 0.0
lighting-app debug+rpc (read only) 2575513 2575857 344 0.0
(read/write) 130096 130104 8 0.0
.init_array 904 912 8 0.9
.rodata 217232 217360 128 0.1
.text 2187426 2187618 192 0.0
lock-app debug (read only) 2539617 2539929 312 0.0
(read/write) 125176 125184 8 0.0
.init_array 880 888 8 0.9
.rodata 232112 232208 96 0.0
.text 2141426 2141618 192 0.0
ota-provider-app debug (read only) 2343961 2344257 296 0.0
(read/write) 118944 118952 8 0.0
.init_array 760 768 8 1.1
.rodata 207704 207800 96 0.0
.text 1972594 1972770 176 0.0
ota-requestor-app debug (read only) 2464873 2465217 344 0.0
(read/write) 126304 126312 8 0.0
.init_array 824 832 8 1.0
.rodata 211264 211392 128 0.1
.text 2081330 2081522 192 0.0
shell debug (read only) 2574785 2575097 312 0.0
(read/write) 141736 141744 8 0.0
.init_array 1016 1024 8 0.8
.rodata 231282 231378 96 0.0
.text 2185442 2185634 192 0.0
thermostat-no-ble arm64 (read only) 2343516 2343596 80 0.0
.text 1967312 1967392 80 0.0
tv-app debug (read only) 3147041 3147337 296 0.0
(read/write) 257640 257648 8 0.0
.init_array 1064 1072 8 0.8
.rodata 255240 255336 96 0.0
.text 2702418 2702594 176 0.0
tv-casting-app debug (read only) 5382121 5382417 296 0.0
(read/write) 158592 158600 8 0.0
.init_array 1024 1032 8 0.8
.rodata 338641 338737 96 0.0
.text 4776402 4776578 176 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1172915 1172931 16 0.0
text 809024 809032 8 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1152967 1152983 16 0.0
text 798336 798340 4 0.0
p6 all-clusters-app default (read/write) 1686972 1687036 64 0.0
.text 1526800 1526864 64 0.0
all-clusters-minimal-app default (read/write) 1631084 1631148 64 0.0
.text 1471632 1471696 64 0.0
light-app default (read/write) 1552492 1552540 48 0.0
.text 1401344 1401392 48 0.0
lock-app default (read/write) 1589908 1589956 48 0.0
.text 1434288 1434336 48 0.0
telink light-switch-app tlsr9518adk80d (read/write) 799608 799640 32 0.0
text 567246 567274 28 0.0
lighting-app tlsr9518adk80d (read/write) 820024 820056 32 0.0
text 584110 584138 28 0.0
Decreases (7 builds for cc13x2_26x2, linux)
platform target config section 21b1e5a 5df092e change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 182820 182812 -8 -0.0
lock-ftd LP_CC2652R7 (read/write) 170040 170032 -8 -0.0
lock-mtd LP_CC2652R7 (read/write) 183628 183620 -8 -0.0
pump-app LP_CC2652R7 (read/write) 161408 161400 -8 -0.0
pump-controller-app LP_CC2652R7 (read/write) 175976 175968 -8 -0.0
shell LP_CC2652R7 (read/write) 185656 185648 -8 -0.0
linux chip-tool-ipv6only arm64 .rodata 468196 468188 -8 -0.0
Full report (43 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 21b1e5a 5df092e change % change
bl602 lighting-app bl602 (read/write) 1381618 1381650 32 0.0
.bss 117618 117618 0 0.0
.data 4480 4480 0 0.0
.text 1051888 1051920 32 0.0
bl602+rpc (read/write) 1427034 1427066 32 0.0
.bss 125058 125058 0 0.0
.data 4600 4600 0 0.0
.text 1083556 1083588 32 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 668523 668531 8 0.0
(read/write) 182820 182812 -8 -0.0
.bss 74236 74236 0 0.0
.data 3372 3372 0 0.0
.rodata 88195 88195 0 0.0
.text 580012 580020 8 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 634107 634115 8 0.0
(read/write) 157820 157820 0 0.0
.bss 73532 73532 0 0.0
.data 3372 3372 0 0.0
.rodata 77411 77411 0 0.0
.text 556372 556380 8 0.0
lock-ftd LP_CC2652R7 (read only) 671495 671503 8 0.0
(read/write) 170040 170032 -8 -0.0
.bss 71316 71316 0 0.0
.data 3296 3296 0 0.0
.rodata 76263 76263 0 0.0
.text 594752 594760 8 0.0
lock-mtd LP_CC2652R7 (read only) 653595 653603 8 0.0
(read/write) 183628 183620 -8 -0.0
.bss 67004 67004 0 0.0
.data 3296 3296 0 0.0
.rodata 100875 100875 0 0.0
.text 552240 552248 8 0.0
pump-app LP_CC2652R7 (read only) 680959 680967 8 0.0
(read/write) 161408 161400 -8 -0.0
.bss 71380 71380 0 0.0
.data 3296 3296 0 0.0
.rodata 88863 88863 0 0.0
.text 591612 591620 8 0.0
pump-controller-app LP_CC2652R7 (read only) 666527 666535 8 0.0
(read/write) 175976 175968 -8 -0.0
.bss 71516 71516 0 0.0
.data 3292 3292 0 0.0
.rodata 84679 84679 0 0.0
.text 581368 581376 8 0.0
shell LP_CC2652R7 (read only) 661206 661214 8 0.0
(read/write) 185656 185648 -8 -0.0
.bss 76556 76556 0 0.0
.data 3376 3376 0 0.0
.rodata 85166 85166 0 0.0
.text 575724 575732 8 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 583414 583414 0 0.0
.app_xip_area 460232 460232 0 0.0
.bss 65624 65624 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 589158 589166 8 0.0
.app_xip_area 461248 461256 8 0.0
.bss 70352 70352 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 588970 588978 8 0.0
.app_xip_area 466604 466612 8 0.0
.bss 64864 64864 0 0.0
.data 688 688 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1088048 1088096 48 0.0
.bss 133260 133260 0 0.0
.data 2064 2064 0 0.0
.text 952704 952752 48 0.0
BRD4161A+rpc (read/write) 1142356 1142404 48 0.0
.bss 149940 149940 0 0.0
.data 2276 2276 0 0.0
.text 990120 990168 48 0.0
BRD4161A+rs911x (read/write) 973912 973976 64 0.0
.bss 161736 161736 0 0.0
.data 2048 2048 0 0.0
.text 810108 810172 64 0.0
lock-app BRD4161A+wf200 (read/write) 1128392 1128408 16 0.0
.bss 144368 144368 0 0.0
.data 2056 2056 0 0.0
.text 981948 981964 16 0.0
window-app BRD4161A (read/write) 1081316 1081380 64 0.0
.bss 134732 134732 0 0.0
.data 2092 2092 0 0.0
.text 944468 944532 64 0.0
esp32 all-clusters-app c3devkit (read only) 1022806 1022834 28 0.0
(read/write) 1486274 1486274 0 0.0
.dram0.bss 70296 70296 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 215936 215936 0 0.0
.flash.text 1022806 1022834 28 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1076295 1076319 24 0.0
(read/write) 488312 488312 0 0.0
.dram0.bss 75808 75808 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 246364 246364 0 0.0
.flash.text 1070911 1070935 24 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 642800 642816 16 0.0
.bss 69712 69712 0 0.0
.data 2044 2044 0 0.0
.text 568316 568332 16 0.0
lock k32w0+release (read/write) 699920 699952 32 0.0
.bss 70152 70152 0 0.0
.data 2052 2052 0 0.0
.text 624988 625020 32 0.0
linux all-clusters-app debug (read only) 2991257 2991585 328 0.0
(read/write) 155584 155592 8 0.0
.bss 61888 61888 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 85272 85272 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 1144 1152 8 0.7
.rodata 269195 269323 128 0.0
.text 2543490 2543666 176 0.0
all-clusters-minimal-app debug (read only) 2834297 2834625 328 0.0
(read/write) 147288 147296 8 0.0
.bss 61088 61088 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 77864 77864 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1136 1144 8 0.7
.rodata 269355 269483 128 0.0
.text 2388978 2389154 176 0.0
bridge-app debug+rpc (read only) 2352649 2352993 344 0.0
(read/write) 127160 127168 8 0.0
.bss 50176 50176 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 67304 67304 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 816 824 8 1.0
.rodata 201480 201608 128 0.1
.text 1988402 1988594 192 0.0
chip-tool debug (read only) 10466289 10466585 296 0.0
(read/write) 641464 641472 8 0.0
.bss 24856 24856 0 0.0
.data 3266 3266 0 0.0
.data.rel.ro 606824 606824 0 0.0
.dynamic 608 608 0 0.0
.got 5088 5088 0 0.0
.init 27 27 0 0.0
.init_array 760 768 8 1.1
.rodata 535989 536085 96 0.0
.text 8445892 8446068 176 0.0
chip-tool-ipv6only arm64 (read only) 9881988 9882060 72 0.0
(read/write) 689041 689041 0 0.0
.bss 32897 32897 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 634336 634336 0 0.0
.dynamic 560 560 0 0.0
.got 13584 13584 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 468196 468188 -8 -0.0
.text 7798660 7798740 80 0.0
lighting-app debug+rpc (read only) 2575513 2575857 344 0.0
(read/write) 130096 130104 8 0.0
.bss 49728 49728 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72344 72344 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 904 912 8 0.9
.rodata 217232 217360 128 0.1
.text 2187426 2187618 192 0.0
lock-app debug (read only) 2539617 2539929 312 0.0
(read/write) 125176 125184 8 0.0
.bss 48160 48160 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69352 69352 0 0.0
.dynamic 608 608 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 880 888 8 0.9
.rodata 232112 232208 96 0.0
.text 2141426 2141618 192 0.0
ota-provider-app debug (read only) 2343961 2344257 296 0.0
(read/write) 118944 118952 8 0.0
.bss 47776 47776 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 63336 63336 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 760 768 8 1.1
.rodata 207704 207800 96 0.0
.text 1972594 1972770 176 0.0
ota-requestor-app debug (read only) 2464873 2465217 344 0.0
(read/write) 126304 126312 8 0.0
.bss 50144 50144 0 0.0
.data 2240 2240 0 0.0
.data.rel.ro 67992 67992 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 824 832 8 1.0
.rodata 211264 211392 128 0.1
.text 2081330 2081522 192 0.0
shell debug (read only) 2574785 2575097 312 0.0
(read/write) 141736 141744 8 0.0
.bss 57736 57736 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 76944 76944 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1016 1024 8 0.8
.rodata 231282 231378 96 0.0
.text 2185442 2185634 192 0.0
thermostat-no-ble arm64 (read only) 2343516 2343596 80 0.0
(read/write) 141633 141633 0 0.0
.bss 55313 55313 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75880 75880 0 0.0
.dynamic 560 560 0 0.0
.got 4992 4992 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 138964 138964 0 0.0
.text 1967312 1967392 80 0.0
tv-app debug (read only) 3147041 3147337 296 0.0
(read/write) 257640 257648 8 0.0
.bss 167320 167320 0 0.0
.data 4736 4736 0 0.0
.data.rel.ro 79032 79032 0 0.0
.dynamic 608 608 0 0.0
.got 4848 4848 0 0.0
.init 27 27 0 0.0
.init_array 1064 1072 8 0.8
.rodata 255240 255336 96 0.0
.text 2702418 2702594 176 0.0
tv-casting-app debug (read only) 5382121 5382417 296 0.0
(read/write) 158592 158600 8 0.0
.bss 51352 51352 0 0.0
.data 2432 2432 0 0.0
.data.rel.ro 98432 98432 0 0.0
.dynamic 608 608 0 0.0
.got 4736 4736 0 0.0
.init 27 27 0 0.0
.init_array 1024 1032 8 0.8
.rodata 338641 338737 96 0.0
.text 4776402 4776578 176 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2450672 2450672 0 0.0
.bss 214516 214516 0 0.0
.data 5872 5872 0 0.0
.text 1413316 1413316 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1172915 1172931 16 0.0
bss 143120 143120 0 0.0
rodata 141828 141828 0 0.0
text 809024 809032 8 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1152967 1152983 16 0.0
bss 142356 142356 0 0.0
rodata 133360 133360 0 0.0
text 798336 798340 4 0.0
p6 all-clusters-app default (read only) 881560 881560 0 0.0
(read/write) 1686972 1687036 64 0.0
.bss 149136 149136 0 0.0
.data 2648 2648 0 0.0
.text 1526800 1526864 64 0.0
all-clusters-minimal-app default (read only) 882280 882280 0 0.0
(read/write) 1631084 1631148 64 0.0
.bss 148416 148416 0 0.0
.data 2648 2648 0 0.0
.text 1471632 1471696 64 0.0
light-app default (read only) 890584 890584 0 0.0
(read/write) 1552492 1552540 48 0.0
.bss 140320 140320 0 0.0
.data 2440 2440 0 0.0
.text 1401344 1401392 48 0.0
lock-app default (read only) 886112 886112 0 0.0
(read/write) 1589908 1589956 48 0.0
.bss 144776 144776 0 0.0
.data 2456 2456 0 0.0
.text 1434288 1434336 48 0.0
telink light-switch-app tlsr9518adk80d (read/write) 799608 799640 32 0.0
bss 70796 70796 0 0.0
noinit 40416 40416 0 0.0
text 567246 567274 28 0.0
lighting-app tlsr9518adk80d (read/write) 820024 820056 32 0.0
bss 71640 71640 0 0.0
noinit 40416 40416 0 0.0
text 584110 584138 28 0.0

@woody-apple woody-apple merged commit 41cb822 into project-chip:master Aug 1, 2022
github-actions bot pushed a commit that referenced this pull request Aug 1, 2022
* [mrp] Align ReliableMessageMgr::GetBackoff() naming with spec

Make variables and comments in the function more aligned
with the current spec version so that it is easier to
compare the code with the spec.

Signed-off-by: Damian Krolik <[email protected]>

* [mrp] Implement MRP_BACKOFF_MARGIN

Base interval (active or idle) should be multiplied by
MRP_BACKOFF_MARGIN = 1.1 before putting it in the MRP
backoff formula.

Signed-off-by: Damian Krolik <[email protected]>

* [mrp] Increase MRP backoff time for SED sender

When sender is sleepy, it may take more time until it
receives an acknowledgment from a peer, so MRP backoff time
should be extended by the sleepy active interval.

Signed-off-by: Damian Krolik <[email protected]>
woody-apple added a commit that referenced this pull request Aug 1, 2022
* [mrp] Align ReliableMessageMgr::GetBackoff() naming with spec

Make variables and comments in the function more aligned
with the current spec version so that it is easier to
compare the code with the spec.

Signed-off-by: Damian Krolik <[email protected]>

* [mrp] Implement MRP_BACKOFF_MARGIN

Base interval (active or idle) should be multiplied by
MRP_BACKOFF_MARGIN = 1.1 before putting it in the MRP
backoff formula.

Signed-off-by: Damian Krolik <[email protected]>

* [mrp] Increase MRP backoff time for SED sender

When sender is sleepy, it may take more time until it
receives an acknowledgment from a peer, so MRP backoff time
should be extended by the sleepy active interval.

Signed-off-by: Damian Krolik <[email protected]>

Co-authored-by: Damian Królik <[email protected]>
@Damian-Nordic Damian-Nordic deleted the mrp-fixes branch August 11, 2022 07:09
isiu-apple pushed a commit to isiu-apple/connectedhomeip that referenced this pull request Sep 16, 2022
* [mrp] Align ReliableMessageMgr::GetBackoff() naming with spec

Make variables and comments in the function more aligned
with the current spec version so that it is easier to
compare the code with the spec.

Signed-off-by: Damian Krolik <[email protected]>

* [mrp] Implement MRP_BACKOFF_MARGIN

Base interval (active or idle) should be multiplied by
MRP_BACKOFF_MARGIN = 1.1 before putting it in the MRP
backoff formula.

Signed-off-by: Damian Krolik <[email protected]>

* [mrp] Increase MRP backoff time for SED sender

When sender is sleepy, it may take more time until it
receives an acknowledgment from a peer, so MRP backoff time
should be extended by the sleepy active interval.

Signed-off-by: Damian Krolik <[email protected]>
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.

5 participants