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

Revisit MRP implementation #11988

Merged
merged 1 commit into from
Dec 2, 2021
Merged

Conversation

kghost
Copy link
Contributor

@kghost kghost commented Nov 18, 2021

Problem

MRP implementation is not aligned with spec

Change overview

  • Group MRP config into ReliableMessageProtocolConfig class
  • Do not use tick, use System::Clock directly
  • Move MRP config into session from exchange, there is one config per session

Testing

Verified by unit-tests

@todo
Copy link

todo bot commented Nov 18, 2021

(#6652): This is a stub implementation, should be replaced by the real one when CASE and PASE is completed

// TODO(#6652): This is a stub implementation, should be replaced by the real one when CASE and PASE is completed
return gMRPConfig;
}
virtual const char * GetI2RSessionInfo() const = 0;
virtual const char * GetR2ISessionInfo() const = 0;


This comment was generated by todo based on a TODO comment in b881dff in #11988. cc @kghost.

@todo
Copy link

todo bot commented Nov 21, 2021

Choose active/idle timeout corresponding to the activity of exchanges of the session.

// TODO: Choose active/idle timeout corresponding to the activity of exchanges of the session.
entry->nextRetransTime = System::SystemClock().GetMonotonicTimestamp() + entry->ec->GetMRPConfig().mIdleRetransTimeout;
StartTimer();
}
bool ReliableMessageMgr::CheckAndRemRetransTable(ReliableMessageContext * rc, uint32_t ackMessageCounter)
{
bool removed = false;


This comment was generated by todo based on a TODO comment in c7dabae in #11988. cc @kghost.

@github-actions
Copy link

github-actions bot commented Nov 21, 2021

PR #11988: Size comparison from 165ae97 to c7dabae

Increases above 0.2%:

platform target config section 165ae97 c7dabae change % change
linux all-clusters-app debug .init_array 560 568 8 1.4
bridge-app debug+rpc .init_array 408 416 8 2.0
chip-tool debug .init_array 472 480 8 1.7
lighting-app debug+rpc .init_array 536 544 8 1.5
ota-provider-app debug .init_array 448 456 8 1.8
ota-requestor-app debug .init_array 472 480 8 1.7
shell debug .bss 23336 23400 64 0.3
.init_array 344 352 8 2.3
tv-app debug .init_array 616 624 8 1.3
nrfconnect lighting-app nrf52840dk_nrf52840 rodata 95828 96352 524 0.5
nrf52840dk_nrf52840+rpc rodata 87012 87536 524 0.6
nrf5340dk_nrf5340_cpuapp rodata 91084 91608 524 0.6
lock-app nrf52840dk_nrf52840 rodata 92300 92820 520 0.6
nrf5340dk_nrf5340_cpuapp rodata 87604 88112 508 0.6
pump-app nrf52840dk_nrf52840 rodata 94008 94532 524 0.6
pump-controller-app nrf52840dk_nrf52840 rodata 92256 92780 524 0.6
shell nrf52840dk_nrf52840 rodata 73064 73580 516 0.7
nrf5340dk_nrf5340_cpuapp rodata 67708 68220 512 0.8
p6 lock-app default .data 2400 2408 8 0.3
qpg lighting-app qpg6100+debug .data 1008 1012 4 0.4
lock-app qpg6100+debug .data 964 968 4 0.4
Increases (32 builds for efr32, esp32, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 165ae97 c7dabae change % change
efr32 lighting-app BRD4161A (read/write) 119692 119804 112 0.1
.bss 117892 117996 104 0.1
.data 1800 1804 4 0.2
BRD4161A+rpc (read/write) 136320 136428 108 0.1
.bss 134396 134500 104 0.1
.data 1924 1928 4 0.2
lock-app BRD4161A (read/write) 113380 113484 104 0.1
.bss 111620 111724 104 0.1
.data 1756 1760 4 0.2
window-app BRD4161A (read/write) 113700 113812 112 0.1
.bss 111940 112044 104 0.1
.data 1760 1764 4 0.2
esp32 all-clusters-app c3devkit (read/write) 1221210 1221274 64 0.0
.dram0.bss 57696 57784 88 0.2
m5stack (read/write) 420536 420620 84 0.0
.dram0.bss 63056 63176 120 0.2
linux all-clusters-app debug (read/write) 128392 128496 104 0.1
.bss 58544 58608 64 0.1
.data.rel.ro 63504 63536 32 0.1
.init_array 560 568 8 1.4
bridge-app debug+rpc (read/write) 76432 76536 104 0.1
.bss 41520 41584 64 0.2
.data.rel.ro 28352 28384 32 0.1
.init_array 408 416 8 2.0
chip-tool debug (read/write) 165960 166096 136 0.1
.bss 39848 39944 96 0.2
.data.rel.ro 118352 118384 32 0.0
.init_array 472 480 8 1.7
lighting-app debug+rpc (read/write) 109616 109720 104 0.1
.bss 47152 47216 64 0.1
.data.rel.ro 55920 55952 32 0.1
.init_array 536 544 8 1.5
ota-provider-app debug (read/write) 75048 75184 136 0.2
.bss 44096 44192 96 0.2
.data.rel.ro 25080 25112 32 0.1
.init_array 448 456 8 1.8
ota-requestor-app debug (read/write) 78912 79048 136 0.2
.bss 46560 46656 96 0.2
.data.rel.ro 26408 26440 32 0.1
.init_array 472 480 8 1.7
shell debug (read/write) 65832 65904 72 0.1
.bss 23336 23400 64 0.3
.data.rel.ro 37752 37768 16 0.0
.init_array 344 352 8 2.3
tv-app debug (read/write) 318520 318752 232 0.1
.bss 249800 249992 192 0.1
.data.rel.ro 60264 60296 32 0.1
.init_array 616 624 8 1.3
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2290128 2290456 328 0.0
.bss 180300 180388 88 0.0
.data 5224 5232 8 0.2
.text 1252728 1253056 328 0.0
lighting-app CY8CPROTO_062_4343W+release (read/write) 2274256 2274584 328 0.0
.bss 172196 172284 88 0.1
.data 5576 5584 8 0.1
.text 1236856 1237184 328 0.0
lock-app CY8CPROTO_062_4343W+release (read/write) 2250096 2250416 320 0.0
.bss 171084 171172 88 0.1
.text 1212696 1213016 320 0.0
shell CY8CPROTO_062_4343W+release (read/write) 2050480 2051056 576 0.0
.bss 156272 156392 120 0.1
.data 4968 4976 8 0.2
.text 1013080 1013656 576 0.1
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 865235 865823 588 0.1
bss 110604 110708 104 0.1
rodata 95828 96352 524 0.5
nrf52840dk_nrf52840+rpc (read/write) 827603 828191 588 0.1
bss 106960 107064 104 0.1
rodata 87012 87536 524 0.6
nrf5340dk_nrf5340_cpuapp (read/write) 790274 790862 588 0.1
bss 111980 112084 104 0.1
rodata 91084 91608 524 0.6
lock-app nrf52840dk_nrf52840 (read/write) 840635 841251 616 0.1
bss 109628 109732 104 0.1
rodata 92300 92820 520 0.6
nrf5340dk_nrf5340_cpuapp (read/write) 765922 766526 604 0.1
bss 111040 111144 104 0.1
rodata 87604 88112 508 0.6
pump-app nrf52840dk_nrf52840 (read/write) 846775 847363 588 0.1
bss 109768 109872 104 0.1
rodata 94008 94532 524 0.6
pump-controller-app nrf52840dk_nrf52840 (read/write) 840335 840955 620 0.1
bss 109664 109768 104 0.1
rodata 92256 92780 524 0.6
shell nrf52840dk_nrf52840 (read/write) 778003 778631 628 0.1
bss 109112 109216 104 0.1
rodata 73064 73580 516 0.7
nrf5340dk_nrf5340_cpuapp (read/write) 693058 693666 608 0.1
bss 110096 110200 104 0.1
rodata 67708 68220 512 0.8
p6 all-clusters-app default .bss 113280 113464 184 0.2
lock-app default .bss 100944 101128 184 0.2
.data 2400 2408 8 0.3
qpg lighting-app qpg6100+debug .bss 50256 50336 80 0.2
.data 1008 1012 4 0.4
lock-app qpg6100+debug (read/write) 114140 114144 4 0.0
.bss 49200 49280 80 0.2
.data 964 968 4 0.4
telink lighting-app tlsr9518adk80d (read/write) 768626 769290 664 0.1
bss 79116 79204 88 0.1
text 533768 533796 28 0.0
Decreases (30 builds for efr32, esp32, linux, mbed, nrfconnect, p6, qpg)
platform target config section 165ae97 c7dabae change % change
efr32 lighting-app BRD4161A (read only) 750704 750408 -296 -0.0
.text 750696 750400 -296 -0.0
BRD4161A+rpc (read only) 738228 737948 -280 -0.0
.text 738220 737940 -280 -0.0
lock-app BRD4161A (read only) 727760 727480 -280 -0.0
.text 727752 727472 -280 -0.0
window-app BRD4161A (read only) 728744 728464 -280 -0.0
.text 728736 728456 -280 -0.0
esp32 all-clusters-app c3devkit (read only) 831812 831150 -662 -0.1
.flash.rodata 164176 164144 -32 -0.0
.flash.text 831812 831150 -662 -0.1
m5stack (read only) 902831 902299 -532 -0.1
.flash.rodata 192144 192108 -36 -0.0
.flash.text 897447 896915 -532 -0.1
linux all-clusters-app debug (read only) 1746153 1745633 -520 -0.0
.rodata 137493 137333 -160 -0.1
.text 1473026 1472546 -480 -0.0
bridge-app debug+rpc (read only) 1325965 1324573 -1392 -0.1
.rodata 112028 111908 -120 -0.1
.text 1116533 1115141 -1392 -0.1
chip-tool debug (read only) 4999845 4999549 -296 -0.0
.rodata 269738 269642 -96 -0.0
.text 4419957 4419637 -320 -0.0
lighting-app debug+rpc (read only) 1595073 1594457 -616 -0.0
.rodata 129649 129489 -160 -0.1
.text 1330418 1329842 -576 -0.0
ota-provider-app debug (read only) 1273513 1272993 -520 -0.0
.rodata 114047 113887 -160 -0.1
.text 1061874 1061394 -480 -0.0
ota-requestor-app debug (read only) 1369761 1369129 -632 -0.0
.rodata 125448 125320 -128 -0.1
.text 1143938 1143314 -624 -0.1
shell debug (read only) 799185 798729 -456 -0.1
.rodata 78703 78447 -256 -0.3
.text 616466 616194 -272 -0.0
tv-app debug (read only) 1887721 1887361 -360 -0.0
.rodata 158373 158341 -32 -0.0
.text 1583906 1583458 -448 -0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release .heap 850920 850824 -96 -0.0
lighting-app CY8CPROTO_062_4343W+release .heap 858672 858576 -96 -0.0
lock-app CY8CPROTO_062_4343W+release .heap 859792 859704 -88 -0.0
shell CY8CPROTO_062_4343W+release .heap 875208 875080 -128 -0.0
nrfconnect lighting-app nrf52840dk_nrf52840 text 583176 583140 -36 -0.0
nrf52840dk_nrf52840+rpc text 557344 557308 -36 -0.0
nrf5340dk_nrf5340_cpuapp text 512644 512604 -40 -0.0
lock-app nrf52840dk_nrf52840 text 563268 563236 -32 -0.0
nrf5340dk_nrf5340_cpuapp text 492832 492796 -36 -0.0
pump-app nrf52840dk_nrf52840 text 567452 567420 -32 -0.0
pump-controller-app nrf52840dk_nrf52840 text 562888 562856 -32 -0.0
shell nrf5340dk_nrf5340_cpuapp text 441856 441852 -4 -0.0
p6 all-clusters-app default (read/write) 2302984 2302512 -472 -0.0
.heap 917536 917352 -184 -0.0
.text 1261248 1260776 -472 -0.0
lock-app default (read/write) 2216200 2215728 -472 -0.0
.heap 930000 929808 -192 -0.0
.text 1174464 1173992 -472 -0.0
qpg lighting-app qpg6100+debug (read only) 494272 493964 -308 -0.1
(read/write) 114144 114140 -4 -0.0
.text 488952 488644 -308 -0.1
lock-app qpg6100+debug (read only) 469236 468920 -316 -0.1
.text 463916 463600 -316 -0.1
Full report (35 builds for efr32, esp32, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 165ae97 c7dabae change % change
efr32 lighting-app BRD4161A (read only) 750704 750408 -296 -0.0
(read/write) 119692 119804 112 0.1
.bss 117892 117996 104 0.1
.data 1800 1804 4 0.2
.text 750696 750400 -296 -0.0
BRD4161A+rpc (read only) 738228 737948 -280 -0.0
(read/write) 136320 136428 108 0.1
.bss 134396 134500 104 0.1
.data 1924 1928 4 0.2
.text 738220 737940 -280 -0.0
lock-app BRD4161A (read only) 727760 727480 -280 -0.0
(read/write) 113380 113484 104 0.1
.bss 111620 111724 104 0.1
.data 1756 1760 4 0.2
.text 727752 727472 -280 -0.0
window-app BRD4161A (read only) 728744 728464 -280 -0.0
(read/write) 113700 113812 112 0.1
.bss 111940 112044 104 0.1
.data 1760 1764 4 0.2
.text 728736 728456 -280 -0.0
esp32 all-clusters-app c3devkit (read only) 831812 831150 -662 -0.1
(read/write) 1221210 1221274 64 0.0
.dram0.bss 57696 57784 88 0.2
.dram0.data 14092 14092 0 0.0
.flash.rodata 164176 164144 -32 -0.0
.flash.text 831812 831150 -662 -0.1
.iram0.text 61394 61394 0 0.0
m5stack (read only) 902831 902299 -532 -0.1
(read/write) 420536 420620 84 0.0
.dram0.bss 63056 63176 120 0.2
.dram0.data 34056 34056 0 0.0
.flash.rodata 192144 192108 -36 -0.0
.flash.text 897447 896915 -532 -0.1
.iram0.text 122943 122943 0 0.0
linux all-clusters-app debug (read only) 1746153 1745633 -520 -0.0
(read/write) 128392 128496 104 0.1
.bss 58544 58608 64 0.1
.data 1042 1042 0 0.0
.data.rel.ro 63504 63536 32 0.1
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 560 568 8 1.4
.rodata 137493 137333 -160 -0.1
.text 1473026 1472546 -480 -0.0
bridge-app debug+rpc (read only) 1325965 1324573 -1392 -0.1
(read/write) 76432 76536 104 0.1
.bss 41520 41584 64 0.2
.data 1568 1568 0 0.0
.data.rel.ro 28352 28384 32 0.1
.dynamic 592 592 0 0.0
.got 3984 3984 0 0.0
.init 27 27 0 0.0
.init_array 408 416 8 2.0
.rodata 112028 111908 -120 -0.1
.text 1116533 1115141 -1392 -0.1
chip-tool debug (read only) 4999845 4999549 -296 -0.0
(read/write) 165960 166096 136 0.1
.bss 39848 39944 96 0.2
.data 2272 2272 0 0.0
.data.rel.ro 118352 118384 32 0.0
.dynamic 592 592 0 0.0
.got 4416 4416 0 0.0
.init 27 27 0 0.0
.init_array 472 480 8 1.7
.rodata 269738 269642 -96 -0.0
.text 4419957 4419637 -320 -0.0
lighting-app debug+rpc (read only) 1595073 1594457 -616 -0.0
(read/write) 109616 109720 104 0.1
.bss 47152 47216 64 0.1
.data 1234 1234 0 0.0
.data.rel.ro 55920 55952 32 0.1
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 536 544 8 1.5
.rodata 129649 129489 -160 -0.1
.text 1330418 1329842 -576 -0.0
ota-provider-app debug (read only) 1273513 1272993 -520 -0.0
(read/write) 75048 75184 136 0.2
.bss 44096 44192 96 0.2
.data 784 784 0 0.0
.data.rel.ro 25080 25112 32 0.1
.dynamic 592 592 0 0.0
.got 4016 4016 0 0.0
.init 27 27 0 0.0
.init_array 448 456 8 1.8
.rodata 114047 113887 -160 -0.1
.text 1061874 1061394 -480 -0.0
ota-requestor-app debug (read only) 1369761 1369129 -632 -0.0
(read/write) 78912 79048 136 0.2
.bss 46560 46656 96 0.2
.data 848 848 0 0.0
.data.rel.ro 26408 26440 32 0.1
.dynamic 592 592 0 0.0
.got 4000 4000 0 0.0
.init 27 27 0 0.0
.init_array 472 480 8 1.7
.rodata 125448 125320 -128 -0.1
.text 1143938 1143314 -624 -0.1
shell debug (read only) 799185 798729 -456 -0.1
(read/write) 65832 65904 72 0.1
.bss 23336 23400 64 0.3
.data 242 242 0 0.0
.data.rel.ro 37752 37768 16 0.0
.dynamic 592 592 0 0.0
.got 3528 3528 0 0.0
.init 27 27 0 0.0
.init_array 344 352 8 2.3
.rodata 78703 78447 -256 -0.3
.text 616466 616194 -272 -0.0
tv-app debug (read only) 1887721 1887361 -360 -0.0
(read/write) 318520 318752 232 0.1
.bss 249800 249992 192 0.1
.data 2768 2768 0 0.0
.data.rel.ro 60264 60296 32 0.1
.dynamic 592 592 0 0.0
.got 4432 4432 0 0.0
.init 27 27 0 0.0
.init_array 616 624 8 1.3
.rodata 158373 158341 -32 -0.0
.text 1583906 1583458 -448 -0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2290128 2290456 328 0.0
.bss 180300 180388 88 0.0
.data 5224 5232 8 0.2
.heap 850920 850824 -96 -0.0
.text 1252728 1253056 328 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2274256 2274584 328 0.0
.bss 172196 172284 88 0.1
.data 5576 5584 8 0.1
.heap 858672 858576 -96 -0.0
.text 1236856 1237184 328 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2250096 2250416 320 0.0
.bss 171084 171172 88 0.1
.data 5568 5568 0 0.0
.heap 859792 859704 -88 -0.0
.text 1212696 1213016 320 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139744 1139744 0 0.0
.bss 11752 11752 0 0.0
.data 4368 4368 0 0.0
.heap 1020328 1020328 0 0.0
.text 103128 103128 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2050480 2051056 576 0.0
.bss 156272 156392 120 0.1
.data 4968 4976 8 0.2
.heap 875208 875080 -128 -0.0
.text 1013080 1013656 576 0.1
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 865235 865823 588 0.1
bss 110604 110708 104 0.1
rodata 95828 96352 524 0.5
text 583176 583140 -36 -0.0
nrf52840dk_nrf52840+rpc (read/write) 827603 828191 588 0.1
bss 106960 107064 104 0.1
rodata 87012 87536 524 0.6
text 557344 557308 -36 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 790274 790862 588 0.1
bss 111980 112084 104 0.1
rodata 91084 91608 524 0.6
text 512644 512604 -40 -0.0
lock-app nrf52840dk_nrf52840 (read/write) 840635 841251 616 0.1
bss 109628 109732 104 0.1
rodata 92300 92820 520 0.6
text 563268 563236 -32 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 765922 766526 604 0.1
bss 111040 111144 104 0.1
rodata 87604 88112 508 0.6
text 492832 492796 -36 -0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497327 497327 0 0.0
bss 51824 51824 0 0.0
rodata 45780 45780 0 0.0
text 339436 339436 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 846775 847363 588 0.1
bss 109768 109872 104 0.1
rodata 94008 94532 524 0.6
text 567452 567420 -32 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 840335 840955 620 0.1
bss 109664 109768 104 0.1
rodata 92256 92780 524 0.6
text 562888 562856 -32 -0.0
shell nrf52840dk_nrf52840 (read/write) 778003 778631 628 0.1
bss 109112 109216 104 0.1
rodata 73064 73580 516 0.7
text 521244 521244 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 693058 693666 608 0.1
bss 110096 110200 104 0.1
rodata 67708 68220 512 0.8
text 441856 441852 -4 -0.0
p6 all-clusters-app default (read/write) 2302984 2302512 -472 -0.0
.bss 113280 113464 184 0.2
.data 2528 2528 0 0.0
.heap 917536 917352 -184 -0.0
.text 1261248 1260776 -472 -0.0
lock-app default (read/write) 2216200 2215728 -472 -0.0
.bss 100944 101128 184 0.2
.data 2400 2408 8 0.3
.heap 930000 929808 -192 -0.0
.text 1174464 1173992 -472 -0.0
qpg lighting-app qpg6100+debug (read only) 494272 493964 -308 -0.1
(read/write) 114144 114140 -4 -0.0
.bss 50256 50336 80 0.2
.data 1008 1012 4 0.4
.text 488952 488644 -308 -0.1
lock-app qpg6100+debug (read only) 469236 468920 -316 -0.1
(read/write) 114140 114144 4 0.0
.bss 49200 49280 80 0.2
.data 964 968 4 0.4
.text 463916 463600 -316 -0.1
persistent-storage-app qpg6100+debug (read only) 105416 105416 0 0.0
(read/write) 114142 114142 0 0.0
.bss 8994 8994 0 0.0
.data 272 272 0 0.0
.text 100096 100096 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 768626 769290 664 0.1
bss 79116 79204 88 0.1
noinit 37160 37160 0 0.0
text 533768 533796 28 0.0

@github-actions
Copy link

github-actions bot commented Nov 23, 2021

PR #11988: Size comparison from b793967 to f0096d0

Increases (3 builds for qpg, telink)
platform target config section b793967 f0096d0 change % change
qpg lighting-app qpg6100+debug .bss 50360 50416 56 0.1
lock-app qpg6100+debug .bss 49232 49288 56 0.1
telink lighting-app tlsr9518adk80d (read/write) 769974 770602 628 0.1
bss 79216 79296 80 0.1
text 534642 534664 22 0.0
Decreases (2 builds for qpg)
platform target config section b793967 f0096d0 change % change
qpg lighting-app qpg6100+debug (read only) 495484 495076 -408 -0.1
.text 490164 489756 -408 -0.1
lock-app qpg6100+debug (read only) 470420 470020 -400 -0.1
.text 465100 464700 -400 -0.1
Full report (4 builds for qpg, telink)
platform target config section b793967 f0096d0 change % change
qpg lighting-app qpg6100+debug (read only) 495484 495076 -408 -0.1
(read/write) 114140 114140 0 0.0
.bss 50360 50416 56 0.1
.data 1020 1020 0 0.0
.text 490164 489756 -408 -0.1
lock-app qpg6100+debug (read only) 470420 470020 -400 -0.1
(read/write) 114144 114144 0 0.0
.bss 49232 49288 56 0.1
.data 976 976 0 0.0
.text 465100 464700 -400 -0.1
persistent-storage-app qpg6100+debug (read only) 105408 105408 0 0.0
(read/write) 114142 114142 0 0.0
.bss 8986 8986 0 0.0
.data 272 272 0 0.0
.text 100088 100088 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 769974 770602 628 0.1
bss 79216 79296 80 0.1
noinit 37160 37160 0 0.0
text 534642 534664 22 0.0

@github-actions
Copy link

github-actions bot commented Nov 23, 2021

PR #11988: Size comparison from 972406e to 6097e59

Increases above 0.2%:

platform target config section 972406e 6097e59 change % change
nrfconnect lighting-app nrf52840dk_nrf52840 rodata 96192 96700 508 0.5
nrf52840dk_nrf52840+rpc rodata 87376 87888 512 0.6
nrf5340dk_nrf5340_cpuapp rodata 91448 91960 512 0.6
lock-app nrf52840dk_nrf52840 rodata 92624 93136 512 0.6
nrf5340dk_nrf5340_cpuapp rodata 87916 88424 508 0.6
pump-app nrf52840dk_nrf52840 rodata 94336 94844 508 0.5
pump-controller-app nrf52840dk_nrf52840 rodata 92584 93092 508 0.5
shell nrf52840dk_nrf52840 rodata 73200 73712 512 0.7
nrf5340dk_nrf5340_cpuapp rodata 67844 68352 508 0.7
Increases (35 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 972406e 6097e59 change % change
efr32 lighting-app BRD4161A (read/write) 119796 119876 80 0.1
.bss 117980 118060 80 0.1
BRD4161A+rpc (read/write) 136420 136500 80 0.1
.bss 134484 134564 80 0.1
lock-app BRD4161A (read/write) 117508 117588 80 0.1
.bss 115740 115820 80 0.1
window-app BRD4161A (read/write) 117868 117948 80 0.1
.bss 116092 116172 80 0.1
esp32 all-clusters-app c3devkit (read/write) 1222394 1222426 32 0.0
.dram0.bss 57840 57920 80 0.1
m5stack (read/write) 421700 421740 40 0.0
.dram0.bss 63232 63312 80 0.1
k32w lighting-app k32w061+se05x+release (read/write) 708732 709228 496 0.1
.bss 77316 77372 56 0.1
.text 623692 624132 440 0.1
lock-app k32w061+debug (read/write) 599984 600448 464 0.1
.bss 67756 67812 56 0.1
.text 524536 524944 408 0.1
shell k32w061+debug (read/write) 665464 666028 564 0.1
.bss 78916 79028 112 0.1
.text 578888 579340 452 0.1
linux all-clusters-app debug (read/write) 129016 129048 32 0.0
.bss 58672 58704 32 0.1
bridge-app debug+rpc (read/write) 76960 77024 64 0.1
.bss 41552 41616 64 0.2
chip-tool debug (read/write) 196328 196360 32 0.0
.bss 39960 39992 32 0.1
lighting-app debug+rpc (read/write) 110240 110272 32 0.0
.bss 47312 47344 32 0.1
ota-provider-app debug (read/write) 75480 75512 32 0.0
.bss 44192 44224 32 0.1
ota-requestor-app debug (read/write) 79344 79376 32 0.0
.bss 46656 46688 32 0.1
shell debug (read/write) 66200 66232 32 0.0
.bss 23368 23400 32 0.1
tv-app debug (read/write) 319288 319320 32 0.0
.bss 250072 250104 32 0.0
.rodata 159325 159357 32 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2291112 2291624 512 0.0
.bss 180388 180468 80 0.0
.text 1253712 1254224 512 0.0
lighting-app CY8CPROTO_062_4343W+release (read/write) 2275320 2275832 512 0.0
.bss 172292 172372 80 0.0
.text 1237920 1238432 512 0.0
lock-app CY8CPROTO_062_4343W+release (read/write) 2251120 2251632 512 0.0
.bss 171108 171188 80 0.0
.text 1213720 1214232 512 0.0
shell CY8CPROTO_062_4343W+release (read/write) 2050992 2051512 520 0.0
.bss 156320 156400 80 0.1
.text 1013592 1014112 520 0.1
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 868663 869219 556 0.1
bss 112640 112720 80 0.1
rodata 96192 96700 508 0.5
nrf52840dk_nrf52840+rpc (read/write) 831031 831591 560 0.1
bss 108992 109072 80 0.1
rodata 87376 87888 512 0.6
nrf5340dk_nrf5340_cpuapp (read/write) 793702 794262 560 0.1
bss 114012 114092 80 0.1
rodata 91448 91960 512 0.6
lock-app nrf52840dk_nrf52840 (read/write) 841815 842359 544 0.1
bss 109672 109752 80 0.1
rodata 92624 93136 512 0.6
nrf5340dk_nrf5340_cpuapp (read/write) 767106 767630 524 0.1
bss 111084 111164 80 0.1
rodata 87916 88424 508 0.6
pump-app nrf52840dk_nrf52840 (read/write) 847927 848499 572 0.1
bss 109812 109892 80 0.1
rodata 94336 94844 508 0.5
pump-controller-app nrf52840dk_nrf52840 (read/write) 841519 842059 540 0.1
bss 109708 109788 80 0.1
rodata 92584 93092 508 0.5
shell nrf52840dk_nrf52840 (read/write) 778707 779283 576 0.1
bss 109184 109264 80 0.1
rodata 73200 73712 512 0.7
nrf5340dk_nrf5340_cpuapp (read/write) 693746 694318 572 0.1
bss 110168 110248 80 0.1
rodata 67844 68352 508 0.7
p6 all-clusters-app default .bss 113376 113552 176 0.2
lock-app default .bss 100968 101144 176 0.2
qpg lighting-app qpg6100+debug .bss 50360 50416 56 0.1
lock-app qpg6100+debug .bss 49232 49288 56 0.1
telink lighting-app tlsr9518adk80d (read/write) 769974 770602 628 0.1
bss 79216 79296 80 0.1
text 534642 534664 22 0.0
Decreases (31 builds for efr32, esp32, linux, mbed, nrfconnect, p6, qpg)
platform target config section 972406e 6097e59 change % change
efr32 lighting-app BRD4161A (read only) 752624 752304 -320 -0.0
.text 752616 752296 -320 -0.0
BRD4161A+rpc (read only) 740108 739788 -320 -0.0
.text 740100 739780 -320 -0.0
lock-app BRD4161A (read only) 729624 729304 -320 -0.0
.text 729616 729296 -320 -0.0
window-app BRD4161A (read only) 733072 732752 -320 -0.0
.text 733064 732744 -320 -0.0
esp32 all-clusters-app c3devkit (read only) 834076 833588 -488 -0.1
.flash.rodata 165200 165152 -48 -0.0
.flash.text 834076 833588 -488 -0.1
m5stack (read only) 905135 904663 -472 -0.1
.flash.rodata 193124 193084 -40 -0.0
.flash.text 899751 899279 -472 -0.1
linux all-clusters-app debug (read only) 1752209 1750833 -1376 -0.1
.rodata 138453 138389 -64 -0.0
.text 1476994 1475682 -1312 -0.1
bridge-app debug+rpc (read only) 1330677 1329549 -1128 -0.1
.rodata 113052 113028 -24 -0.0
.text 1119093 1117989 -1104 -0.1
chip-tool debug (read only) 5924485 5923141 -1344 -0.0
.rodata 283834 283802 -32 -0.0
.text 5259541 5258229 -1312 -0.0
lighting-app debug+rpc (read only) 1601569 1600241 -1328 -0.1
.rodata 131409 131377 -32 -0.0
.text 1334002 1332706 -1296 -0.1
ota-provider-app debug (read only) 1281601 1280225 -1376 -0.1
.rodata 114775 114711 -64 -0.1
.text 1068034 1066722 -1312 -0.1
ota-requestor-app debug (read only) 1378105 1376713 -1392 -0.1
.rodata 126184 126152 -32 -0.0
.text 1150338 1148978 -1360 -0.1
shell debug (read only) 805705 804185 -1520 -0.2
.rodata 79055 79023 -32 -0.0
.text 621474 619986 -1488 -0.2
tv-app debug (read only) 1900353 1899057 -1296 -0.1
.text 1594386 1593058 -1328 -0.1
mbed all-clusters-app CY8CPROTO_062_4343W+release .heap 850816 850736 -80 -0.0
lighting-app CY8CPROTO_062_4343W+release .heap 858560 858480 -80 -0.0
lock-app CY8CPROTO_062_4343W+release .heap 859760 859680 -80 -0.0
shell CY8CPROTO_062_4343W+release .heap 875144 875064 -80 -0.0
nrfconnect lighting-app nrf52840dk_nrf52840 text 584204 584160 -44 -0.0
nrf52840dk_nrf52840+rpc text 558372 558328 -44 -0.0
nrf5340dk_nrf5340_cpuapp text 513672 513620 -52 -0.0
lock-app nrf52840dk_nrf52840 text 564056 564016 -40 -0.0
nrf5340dk_nrf5340_cpuapp text 493616 493568 -48 -0.0
pump-app nrf52840dk_nrf52840 text 568240 568196 -44 -0.0
pump-controller-app nrf52840dk_nrf52840 text 563676 563636 -40 -0.0
shell nrf52840dk_nrf52840 text 521724 521696 -28 -0.0
nrf5340dk_nrf5340_cpuapp text 442332 442300 -32 -0.0
p6 all-clusters-app default (read/write) 2304688 2304352 -336 -0.0
.heap 917432 917256 -176 -0.0
.text 1262952 1262616 -336 -0.0
lock-app default (read/write) 2217840 2217520 -320 -0.0
.heap 929960 929784 -176 -0.0
.text 1176104 1175784 -320 -0.0
qpg lighting-app qpg6100+debug (read only) 495484 495076 -408 -0.1
.text 490164 489756 -408 -0.1
lock-app qpg6100+debug (read only) 470420 470020 -400 -0.1
.text 465100 464700 -400 -0.1
Full report (38 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 972406e 6097e59 change % change
efr32 lighting-app BRD4161A (read only) 752624 752304 -320 -0.0
(read/write) 119796 119876 80 0.1
.bss 117980 118060 80 0.1
.data 1812 1812 0 0.0
.text 752616 752296 -320 -0.0
BRD4161A+rpc (read only) 740108 739788 -320 -0.0
(read/write) 136420 136500 80 0.1
.bss 134484 134564 80 0.1
.data 1936 1936 0 0.0
.text 740100 739780 -320 -0.0
lock-app BRD4161A (read only) 729624 729304 -320 -0.0
(read/write) 117508 117588 80 0.1
.bss 115740 115820 80 0.1
.data 1768 1768 0 0.0
.text 729616 729296 -320 -0.0
window-app BRD4161A (read only) 733072 732752 -320 -0.0
(read/write) 117868 117948 80 0.1
.bss 116092 116172 80 0.1
.data 1776 1776 0 0.0
.text 733064 732744 -320 -0.0
esp32 all-clusters-app c3devkit (read only) 834076 833588 -488 -0.1
(read/write) 1222394 1222426 32 0.0
.dram0.bss 57840 57920 80 0.1
.dram0.data 14100 14100 0 0.0
.flash.rodata 165200 165152 -48 -0.0
.flash.text 834076 833588 -488 -0.1
.iram0.text 61394 61394 0 0.0
m5stack (read only) 905135 904663 -472 -0.1
(read/write) 421700 421740 40 0.0
.dram0.bss 63232 63312 80 0.1
.dram0.data 34064 34064 0 0.0
.flash.rodata 193124 193084 -40 -0.0
.flash.text 899751 899279 -472 -0.1
.iram0.text 122943 122943 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 708732 709228 496 0.1
.bss 77316 77372 56 0.1
.data 1924 1924 0 0.0
.text 623692 624132 440 0.1
lock-app k32w061+debug (read/write) 599984 600448 464 0.1
.bss 67756 67812 56 0.1
.data 1892 1892 0 0.0
.text 524536 524944 408 0.1
shell k32w061+debug (read/write) 665464 666028 564 0.1
.bss 78916 79028 112 0.1
.data 1860 1860 0 0.0
.text 578888 579340 452 0.1
linux all-clusters-app debug (read only) 1752209 1750833 -1376 -0.1
(read/write) 129016 129048 32 0.0
.bss 58672 58704 32 0.1
.data 1042 1042 0 0.0
.data.rel.ro 63984 63984 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 576 576 0 0.0
.rodata 138453 138389 -64 -0.0
.text 1476994 1475682 -1312 -0.1
bridge-app debug+rpc (read only) 1330677 1329549 -1128 -0.1
(read/write) 76960 77024 64 0.1
.bss 41552 41616 64 0.2
.data 1584 1584 0 0.0
.data.rel.ro 28784 28784 0 0.0
.dynamic 592 592 0 0.0
.got 3984 3984 0 0.0
.init 27 27 0 0.0
.init_array 424 424 0 0.0
.rodata 113052 113028 -24 -0.0
.text 1119093 1117989 -1104 -0.1
chip-tool debug (read only) 5924485 5923141 -1344 -0.0
(read/write) 196328 196360 32 0.0
.bss 39960 39992 32 0.1
.data 2288 2288 0 0.0
.data.rel.ro 148520 148520 0 0.0
.dynamic 592 592 0 0.0
.got 4456 4456 0 0.0
.init 27 27 0 0.0
.init_array 488 488 0 0.0
.rodata 283834 283802 -32 -0.0
.text 5259541 5258229 -1312 -0.0
lighting-app debug+rpc (read only) 1601569 1600241 -1328 -0.1
(read/write) 110240 110272 32 0.0
.bss 47312 47344 32 0.1
.data 1234 1234 0 0.0
.data.rel.ro 56368 56368 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 552 552 0 0.0
.rodata 131409 131377 -32 -0.0
.text 1334002 1332706 -1296 -0.1
ota-provider-app debug (read only) 1281601 1280225 -1376 -0.1
(read/write) 75480 75512 32 0.0
.bss 44192 44224 32 0.1
.data 800 800 0 0.0
.data.rel.ro 25368 25368 0 0.0
.dynamic 592 592 0 0.0
.got 4048 4048 0 0.0
.init 27 27 0 0.0
.init_array 464 464 0 0.0
.rodata 114775 114711 -64 -0.1
.text 1068034 1066722 -1312 -0.1
ota-requestor-app debug (read only) 1378105 1376713 -1392 -0.1
(read/write) 79344 79376 32 0.0
.bss 46656 46688 32 0.1
.data 864 864 0 0.0
.data.rel.ro 26696 26696 0 0.0
.dynamic 592 592 0 0.0
.got 4032 4032 0 0.0
.init 27 27 0 0.0
.init_array 488 488 0 0.0
.rodata 126184 126152 -32 -0.0
.text 1150338 1148978 -1360 -0.1
shell debug (read only) 805705 804185 -1520 -0.2
(read/write) 66200 66232 32 0.0
.bss 23368 23400 32 0.1
.data 274 274 0 0.0
.data.rel.ro 38024 38024 0 0.0
.dynamic 592 592 0 0.0
.got 3560 3560 0 0.0
.init 27 27 0 0.0
.init_array 360 360 0 0.0
.rodata 79055 79023 -32 -0.0
.text 621474 619986 -1488 -0.2
tv-app debug (read only) 1900353 1899057 -1296 -0.1
(read/write) 319288 319320 32 0.0
.bss 250072 250104 32 0.0
.data 2784 2784 0 0.0
.data.rel.ro 60752 60752 0 0.0
.dynamic 592 592 0 0.0
.got 4432 4432 0 0.0
.init 27 27 0 0.0
.init_array 632 632 0 0.0
.rodata 159325 159357 32 0.0
.text 1594386 1593058 -1328 -0.1
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2291112 2291624 512 0.0
.bss 180388 180468 80 0.0
.data 5240 5240 0 0.0
.heap 850816 850736 -80 -0.0
.text 1253712 1254224 512 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2275320 2275832 512 0.0
.bss 172292 172372 80 0.0
.data 5592 5592 0 0.0
.heap 858560 858480 -80 -0.0
.text 1237920 1238432 512 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2251120 2251632 512 0.0
.bss 171108 171188 80 0.0
.data 5576 5576 0 0.0
.heap 859760 859680 -80 -0.0
.text 1213720 1214232 512 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139744 1139744 0 0.0
.bss 11752 11752 0 0.0
.data 4368 4368 0 0.0
.heap 1020328 1020328 0 0.0
.text 103128 103128 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2050992 2051512 520 0.0
.bss 156320 156400 80 0.1
.data 4984 4984 0 0.0
.heap 875144 875064 -80 -0.0
.text 1013592 1014112 520 0.1
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 868663 869219 556 0.1
bss 112640 112720 80 0.1
rodata 96192 96700 508 0.5
text 584204 584160 -44 -0.0
nrf52840dk_nrf52840+rpc (read/write) 831031 831591 560 0.1
bss 108992 109072 80 0.1
rodata 87376 87888 512 0.6
text 558372 558328 -44 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 793702 794262 560 0.1
bss 114012 114092 80 0.1
rodata 91448 91960 512 0.6
text 513672 513620 -52 -0.0
lock-app nrf52840dk_nrf52840 (read/write) 841815 842359 544 0.1
bss 109672 109752 80 0.1
rodata 92624 93136 512 0.6
text 564056 564016 -40 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 767106 767630 524 0.1
bss 111084 111164 80 0.1
rodata 87916 88424 508 0.6
text 493616 493568 -48 -0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497327 497327 0 0.0
bss 51824 51824 0 0.0
rodata 45780 45780 0 0.0
text 339436 339436 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 847927 848499 572 0.1
bss 109812 109892 80 0.1
rodata 94336 94844 508 0.5
text 568240 568196 -44 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 841519 842059 540 0.1
bss 109708 109788 80 0.1
rodata 92584 93092 508 0.5
text 563676 563636 -40 -0.0
shell nrf52840dk_nrf52840 (read/write) 778707 779283 576 0.1
bss 109184 109264 80 0.1
rodata 73200 73712 512 0.7
text 521724 521696 -28 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 693746 694318 572 0.1
bss 110168 110248 80 0.1
rodata 67844 68352 508 0.7
text 442332 442300 -32 -0.0
p6 all-clusters-app default (read/write) 2304688 2304352 -336 -0.0
.bss 113376 113552 176 0.2
.data 2536 2536 0 0.0
.heap 917432 917256 -176 -0.0
.text 1262952 1262616 -336 -0.0
lock-app default (read/write) 2217840 2217520 -320 -0.0
.bss 100968 101144 176 0.2
.data 2416 2416 0 0.0
.heap 929960 929784 -176 -0.0
.text 1176104 1175784 -320 -0.0
qpg lighting-app qpg6100+debug (read only) 495484 495076 -408 -0.1
(read/write) 114140 114140 0 0.0
.bss 50360 50416 56 0.1
.data 1020 1020 0 0.0
.text 490164 489756 -408 -0.1
lock-app qpg6100+debug (read only) 470420 470020 -400 -0.1
(read/write) 114144 114144 0 0.0
.bss 49232 49288 56 0.1
.data 976 976 0 0.0
.text 465100 464700 -400 -0.1
persistent-storage-app qpg6100+debug (read only) 105408 105408 0 0.0
(read/write) 114142 114142 0 0.0
.bss 8986 8986 0 0.0
.data 272 272 0 0.0
.text 100088 100088 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 769974 770602 628 0.1
bss 79216 79296 80 0.1
noinit 37160 37160 0 0.0
text 534642 534664 22 0.0

@woody-apple
Copy link
Contributor

@kghost What are the next steps here?

@kghost
Copy link
Contributor Author

kghost commented Nov 30, 2021

@woody-apple @bzbarsky-apple This PR is ready for review, waiting Boris to check it.

src/messaging/ReliableMessageContext.cpp Show resolved Hide resolved
src/messaging/ReliableMessageMgr.cpp Outdated Show resolved Hide resolved
@pullapprove pullapprove bot requested a review from vijs December 1, 2021 05:19
@github-actions
Copy link

github-actions bot commented Dec 1, 2021

PR #11988: Size comparison from 02bd2c7 to 6714b8d

Increases above 0.2%:

platform target config section 02bd2c7 6714b8d change % change
nrfconnect lighting-app nrf52840dk_nrf52840 rodata 97368 97880 512 0.5
nrf52840dk_nrf52840+rpc rodata 88632 89144 512 0.6
nrf5340dk_nrf5340_cpuapp rodata 92628 93136 508 0.5
lock-app nrf52840dk_nrf52840 rodata 93108 93616 508 0.5
nrf5340dk_nrf5340_cpuapp rodata 88396 88908 512 0.6
pump-app nrf52840dk_nrf52840 rodata 94840 95352 512 0.5
pump-controller-app nrf52840dk_nrf52840 rodata 92976 93488 512 0.6
shell nrf52840dk_nrf52840 rodata 73216 73728 512 0.7
nrf5340dk_nrf5340_cpuapp rodata 67860 68372 512 0.8
Increases (35 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 02bd2c7 6714b8d change % change
efr32 lighting-app BRD4161A (read/write) 119956 120036 80 0.1
.bss 118140 118220 80 0.1
BRD4161A+rpc (read/write) 138252 138332 80 0.1
.bss 136340 136420 80 0.1
lock-app BRD4161A (read/write) 117660 117740 80 0.1
.bss 115892 115972 80 0.1
window-app BRD4161A (read/write) 118092 118172 80 0.1
.bss 116316 116396 80 0.1
esp32 all-clusters-app c3devkit (read/write) 1224330 1224362 32 0.0
.dram0.bss 58528 58608 80 0.1
m5stack (read/write) 423572 423612 40 0.0
.dram0.bss 63928 64008 80 0.1
k32w lighting-app k32w061+se05x+release (read/write) 724508 724988 480 0.1
.bss 78772 78828 56 0.1
.text 638096 638520 424 0.1
lock-app k32w061+debug (read/write) 613492 613956 464 0.1
.bss 69212 69268 56 0.1
.text 536676 537084 408 0.1
shell k32w061+debug (read/write) 679288 679836 548 0.1
.bss 80796 80908 112 0.1
.text 590916 591352 436 0.1
linux all-clusters-app debug (read/write) 125160 125224 64 0.1
.bss 53072 53136 64 0.1
bridge-app debug+rpc (read/write) 71312 71344 32 0.0
.bss 35120 35152 32 0.1
chip-tool debug (read/write) 197648 197680 32 0.0
.bss 33448 33480 32 0.1
lighting-app debug+rpc (read/write) 104400 104464 64 0.1
.bss 40784 40848 64 0.2
ota-provider-app debug (read/write) 69768 69800 32 0.0
.bss 37696 37728 32 0.1
ota-requestor-app debug (read/write) 73664 73696 32 0.0
.bss 39808 39840 32 0.1
shell debug (read/write) 59848 59880 32 0.1
.bss 16808 16840 32 0.2
tv-app debug (read/write) 314032 314064 32 0.0
.bss 245176 245208 32 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2296552 2297008 456 0.0
.bss 181612 181692 80 0.0
.text 1259152 1259608 456 0.0
lighting-app CY8CPROTO_062_4343W+release (read/write) 2281312 2281760 448 0.0
.bss 172636 172716 80 0.0
.text 1243912 1244360 448 0.0
lock-app CY8CPROTO_062_4343W+release (read/write) 2254344 2254792 448 0.0
.bss 171452 171532 80 0.0
.text 1216944 1217392 448 0.0
shell CY8CPROTO_062_4343W+release (read/write) 2046096 2046608 512 0.0
.bss 156592 156672 80 0.1
.text 1008696 1009208 512 0.1
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 876791 877335 544 0.1
bss 113136 113216 80 0.1
rodata 97368 97880 512 0.5
nrf52840dk_nrf52840+rpc (read/write) 839239 839783 544 0.1
bss 109488 109568 80 0.1
rodata 88632 89144 512 0.6
nrf5340dk_nrf5340_cpuapp (read/write) 801810 802350 540 0.1
bss 114512 114592 80 0.1
rodata 92628 93136 508 0.5
lock-app nrf52840dk_nrf52840 (read/write) 847603 848191 588 0.1
bss 110176 110256 80 0.1
rodata 93108 93616 508 0.5
nrf5340dk_nrf5340_cpuapp (read/write) 772874 773450 576 0.1
bss 111584 111664 80 0.1
rodata 88396 88908 512 0.6
pump-app nrf52840dk_nrf52840 (read/write) 853647 854207 560 0.1
bss 110312 110392 80 0.1
rodata 94840 95352 512 0.5
pump-controller-app nrf52840dk_nrf52840 (read/write) 846711 847271 560 0.1
bss 110188 110268 80 0.1
rodata 92976 93488 512 0.6
shell nrf52840dk_nrf52840 (read/write) 779163 779723 560 0.1
bss 109616 109696 80 0.1
rodata 73216 73728 512 0.7
nrf5340dk_nrf5340_cpuapp (read/write) 694210 694754 544 0.1
bss 110600 110680 80 0.1
rodata 67860 68372 512 0.8
p6 all-clusters-app default .bss 109688 109864 176 0.2
lock-app default .bss 96408 96584 176 0.2
qpg lighting-app qpg6100+debug .bss 79656 79712 56 0.1
lock-app qpg6100+debug .bss 78568 78624 56 0.1
telink lighting-app tlsr9518adk80d (read/write) 778614 779242 628 0.1
bss 79716 79796 80 0.1
text 541394 541416 22 0.0
Decreases (31 builds for efr32, esp32, linux, mbed, nrfconnect, p6, qpg)
platform target config section 02bd2c7 6714b8d change % change
efr32 lighting-app BRD4161A (read only) 763096 762792 -304 -0.0
.text 763088 762784 -304 -0.0
BRD4161A+rpc (read only) 791608 791288 -320 -0.0
.text 791600 791280 -320 -0.0
lock-app BRD4161A (read only) 736976 736656 -320 -0.0
.text 736968 736648 -320 -0.0
window-app BRD4161A (read only) 740080 739760 -320 -0.0
.text 740072 739752 -320 -0.0
esp32 all-clusters-app c3devkit (read only) 837376 836888 -488 -0.1
.flash.rodata 166528 166480 -48 -0.0
.flash.text 837376 836888 -488 -0.1
m5stack (read only) 908883 908491 -392 -0.0
.flash.rodata 194364 194324 -40 -0.0
.flash.text 903499 903107 -392 -0.0
linux all-clusters-app debug (read only) 1780313 1779017 -1296 -0.1
.text 1500738 1499442 -1296 -0.1
bridge-app debug+rpc (read only) 1352373 1351245 -1128 -0.1
.rodata 113980 113956 -24 -0.0
.text 1138181 1137077 -1104 -0.1
chip-tool debug (read only) 6247237 6245893 -1344 -0.0
.rodata 294984 294952 -32 -0.0
.text 5549909 5548597 -1312 -0.0
lighting-app debug+rpc (read only) 1632441 1631145 -1296 -0.1
.text 1362098 1360802 -1296 -0.1
ota-provider-app debug (read only) 1312817 1311489 -1328 -0.1
.rodata 115184 115152 -32 -0.0
.text 1097186 1095890 -1296 -0.1
ota-requestor-app debug (read only) 1412801 1411409 -1392 -0.1
.rodata 127008 126976 -32 -0.0
.text 1181906 1180546 -1360 -0.1
shell debug (read only) 805881 804361 -1520 -0.2
.rodata 79954 79922 -32 -0.0
.text 620610 619122 -1488 -0.2
tv-app debug (read only) 1927025 1925665 -1360 -0.1
.rodata 161576 161544 -32 -0.0
.text 1616914 1615586 -1328 -0.1
mbed all-clusters-app CY8CPROTO_062_4343W+release .heap 849664 849584 -80 -0.0
lighting-app CY8CPROTO_062_4343W+release .heap 858328 858248 -80 -0.0
lock-app CY8CPROTO_062_4343W+release .heap 859528 859448 -80 -0.0
shell CY8CPROTO_062_4343W+release .heap 874992 874912 -80 -0.0
nrfconnect lighting-app nrf52840dk_nrf52840 text 590740 590708 -32 -0.0
nrf52840dk_nrf52840+rpc text 564908 564876 -32 -0.0
nrf5340dk_nrf5340_cpuapp text 520196 520160 -36 -0.0
lock-app nrf52840dk_nrf52840 text 568988 568960 -28 -0.0
nrf5340dk_nrf5340_cpuapp text 498536 498504 -32 -0.0
pump-app nrf52840dk_nrf52840 text 573052 573028 -24 -0.0
pump-controller-app nrf52840dk_nrf52840 text 568112 568088 -24 -0.0
shell nrf52840dk_nrf52840 text 521832 521804 -28 -0.0
nrf5340dk_nrf5340_cpuapp text 442444 442408 -36 -0.0
p6 all-clusters-app default (read/write) 2318288 2317920 -368 -0.0
.heap 921200 921024 -176 -0.0
.text 1276552 1276184 -368 -0.0
lock-app default (read/write) 2229528 2229160 -368 -0.0
.heap 934656 934480 -176 -0.0
.text 1187792 1187424 -368 -0.0
qpg lighting-app qpg6100+debug (read only) 496860 496428 -432 -0.1
.text 491540 491108 -432 -0.1
lock-app qpg6100+debug (read only) 469448 469032 -416 -0.1
.text 464128 463712 -416 -0.1
Full report (38 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 02bd2c7 6714b8d change % change
efr32 lighting-app BRD4161A (read only) 763096 762792 -304 -0.0
(read/write) 119956 120036 80 0.1
.bss 118140 118220 80 0.1
.data 1812 1812 0 0.0
.text 763088 762784 -304 -0.0
BRD4161A+rpc (read only) 791608 791288 -320 -0.0
(read/write) 138252 138332 80 0.1
.bss 136340 136420 80 0.1
.data 1912 1912 0 0.0
.text 791600 791280 -320 -0.0
lock-app BRD4161A (read only) 736976 736656 -320 -0.0
(read/write) 117660 117740 80 0.1
.bss 115892 115972 80 0.1
.data 1768 1768 0 0.0
.text 736968 736648 -320 -0.0
window-app BRD4161A (read only) 740080 739760 -320 -0.0
(read/write) 118092 118172 80 0.1
.bss 116316 116396 80 0.1
.data 1776 1776 0 0.0
.text 740072 739752 -320 -0.0
esp32 all-clusters-app c3devkit (read only) 837376 836888 -488 -0.1
(read/write) 1224330 1224362 32 0.0
.dram0.bss 58528 58608 80 0.1
.dram0.data 14028 14028 0 0.0
.flash.rodata 166528 166480 -48 -0.0
.flash.text 837376 836888 -488 -0.1
.iram0.text 61394 61394 0 0.0
m5stack (read only) 908883 908491 -392 -0.0
(read/write) 423572 423612 40 0.0
.dram0.bss 63928 64008 80 0.1
.dram0.data 34000 34000 0 0.0
.flash.rodata 194364 194324 -40 -0.0
.flash.text 903499 903107 -392 -0.0
.iram0.text 122943 122943 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 724508 724988 480 0.1
.bss 78772 78828 56 0.1
.data 1840 1840 0 0.0
.text 638096 638520 424 0.1
lock-app k32w061+debug (read/write) 613492 613956 464 0.1
.bss 69212 69268 56 0.1
.data 1804 1804 0 0.0
.text 536676 537084 408 0.1
shell k32w061+debug (read/write) 679288 679836 548 0.1
.bss 80796 80908 112 0.1
.data 1776 1776 0 0.0
.text 590916 591352 436 0.1
linux all-clusters-app debug (read only) 1780313 1779017 -1296 -0.1
(read/write) 125160 125224 64 0.1
.bss 53072 53136 64 0.1
.data 1104 1104 0 0.0
.data.rel.ro 65696 65696 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 560 560 0 0.0
.rodata 139957 139957 0 0.0
.text 1500738 1499442 -1296 -0.1
bridge-app debug+rpc (read only) 1352373 1351245 -1128 -0.1
(read/write) 71312 71344 32 0.0
.bss 35120 35152 32 0.1
.data 1680 1680 0 0.0
.data.rel.ro 29488 29488 0 0.0
.dynamic 592 592 0 0.0
.got 3984 3984 0 0.0
.init 27 27 0 0.0
.init_array 408 408 0 0.0
.rodata 113980 113956 -24 -0.0
.text 1138181 1137077 -1104 -0.1
chip-tool debug (read only) 6247237 6245893 -1344 -0.0
(read/write) 197648 197680 32 0.0
.bss 33448 33480 32 0.1
.data 1008 1008 0 0.0
.data.rel.ro 157608 157608 0 0.0
.dynamic 592 592 0 0.0
.got 4472 4472 0 0.0
.init 27 27 0 0.0
.init_array 480 480 0 0.0
.rodata 294984 294952 -32 -0.0
.text 5549909 5548597 -1312 -0.0
lighting-app debug+rpc (read only) 1632441 1631145 -1296 -0.1
(read/write) 104400 104464 64 0.1
.bss 40784 40848 64 0.2
.data 1232 1232 0 0.0
.data.rel.ro 57072 57072 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 536 536 0 0.0
.rodata 132433 132433 0 0.0
.text 1362098 1360802 -1296 -0.1
ota-provider-app debug (read only) 1312817 1311489 -1328 -0.1
(read/write) 69768 69800 32 0.0
.bss 37696 37728 32 0.1
.data 912 912 0 0.0
.data.rel.ro 26024 26024 0 0.0
.dynamic 592 592 0 0.0
.got 4048 4048 0 0.0
.init 27 27 0 0.0
.init_array 448 448 0 0.0
.rodata 115184 115152 -32 -0.0
.text 1097186 1095890 -1296 -0.1
ota-requestor-app debug (read only) 1412801 1411409 -1392 -0.1
(read/write) 73664 73696 32 0.0
.bss 39808 39840 32 0.1
.data 976 976 0 0.0
.data.rel.ro 27736 27736 0 0.0
.dynamic 592 592 0 0.0
.got 4032 4032 0 0.0
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 127008 126976 -32 -0.0
.text 1181906 1180546 -1360 -0.1
shell debug (read only) 805881 804361 -1520 -0.2
(read/write) 59848 59880 32 0.1
.bss 16808 16840 32 0.2
.data 240 240 0 0.0
.data.rel.ro 38320 38320 0 0.0
.dynamic 592 592 0 0.0
.got 3504 3504 0 0.0
.init 27 27 0 0.0
.init_array 344 344 0 0.0
.rodata 79954 79922 -32 -0.0
.text 620610 619122 -1488 -0.2
tv-app debug (read only) 1927025 1925665 -1360 -0.1
(read/write) 314032 314064 32 0.0
.bss 245176 245208 32 0.0
.data 1504 1504 0 0.0
.data.rel.ro 61696 61696 0 0.0
.dynamic 592 592 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 161576 161544 -32 -0.0
.text 1616914 1615586 -1328 -0.1
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2296552 2297008 456 0.0
.bss 181612 181692 80 0.0
.data 5168 5168 0 0.0
.heap 849664 849584 -80 -0.0
.text 1259152 1259608 456 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2281312 2281760 448 0.0
.bss 172636 172716 80 0.0
.data 5480 5480 0 0.0
.heap 858328 858248 -80 -0.0
.text 1243912 1244360 448 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2254344 2254792 448 0.0
.bss 171452 171532 80 0.0
.data 5464 5464 0 0.0
.heap 859528 859448 -80 -0.0
.text 1216944 1217392 448 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139744 1139744 0 0.0
.bss 11752 11752 0 0.0
.data 4368 4368 0 0.0
.heap 1020328 1020328 0 0.0
.text 103128 103128 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2046096 2046608 512 0.0
.bss 156592 156672 80 0.1
.data 4864 4864 0 0.0
.heap 874992 874912 -80 -0.0
.text 1008696 1009208 512 0.1
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 876791 877335 544 0.1
bss 113136 113216 80 0.1
rodata 97368 97880 512 0.5
text 590740 590708 -32 -0.0
nrf52840dk_nrf52840+rpc (read/write) 839239 839783 544 0.1
bss 109488 109568 80 0.1
rodata 88632 89144 512 0.6
text 564908 564876 -32 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 801810 802350 540 0.1
bss 114512 114592 80 0.1
rodata 92628 93136 508 0.5
text 520196 520160 -36 -0.0
lock-app nrf52840dk_nrf52840 (read/write) 847603 848191 588 0.1
bss 110176 110256 80 0.1
rodata 93108 93616 508 0.5
text 568988 568960 -28 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 772874 773450 576 0.1
bss 111584 111664 80 0.1
rodata 88396 88908 512 0.6
text 498536 498504 -32 -0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497327 497327 0 0.0
bss 51824 51824 0 0.0
rodata 45780 45780 0 0.0
text 339436 339436 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 853647 854207 560 0.1
bss 110312 110392 80 0.1
rodata 94840 95352 512 0.5
text 573052 573028 -24 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 846711 847271 560 0.1
bss 110188 110268 80 0.1
rodata 92976 93488 512 0.6
text 568112 568088 -24 -0.0
shell nrf52840dk_nrf52840 (read/write) 779163 779723 560 0.1
bss 109616 109696 80 0.1
rodata 73216 73728 512 0.7
text 521832 521804 -28 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 694210 694754 544 0.1
bss 110600 110680 80 0.1
rodata 67860 68372 512 0.8
text 442444 442408 -36 -0.0
p6 all-clusters-app default (read/write) 2318288 2317920 -368 -0.0
.bss 109688 109864 176 0.2
.data 2456 2456 0 0.0
.heap 921200 921024 -176 -0.0
.text 1276552 1276184 -368 -0.0
lock-app default (read/write) 2229528 2229160 -368 -0.0
.bss 96408 96584 176 0.2
.data 2280 2280 0 0.0
.heap 934656 934480 -176 -0.0
.text 1187792 1187424 -368 -0.0
qpg lighting-app qpg6100+debug (read only) 496860 496428 -432 -0.1
(read/write) 114140 114140 0 0.0
.bss 79656 79712 56 0.1
.data 940 940 0 0.0
.text 491540 491108 -432 -0.1
lock-app qpg6100+debug (read only) 469448 469032 -416 -0.1
(read/write) 114140 114140 0 0.0
.bss 78568 78624 56 0.1
.data 892 892 0 0.0
.text 464128 463712 -416 -0.1
persistent-storage-app qpg6100+debug (read only) 108020 108020 0 0.0
(read/write) 114140 114140 0 0.0
.bss 36688 36688 0 0.0
.data 292 292 0 0.0
.text 102700 102700 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 778614 779242 628 0.1
bss 79716 79796 80 0.1
noinit 37160 37160 0 0.0
text 541394 541416 22 0.0

@woody-apple
Copy link
Contributor

Fast tracking, given this looks like it's had ample time for review, and has gone stale review wise.

@woody-apple woody-apple merged commit 4ec0e4e into project-chip:master Dec 2, 2021
@kghost kghost deleted the mrp-no-shift branch December 2, 2021 07:22
bzbarsky-apple added a commit to bzbarsky-apple/connectedhomeip that referenced this pull request Dec 2, 2021
This is failing due to a merge conflict between
project-chip#11988 and
project-chip#12389: the latter
ends up in an error state as described in
project-chip#12466 (comment)
and the former makes our code a lot more sensitive to being in that
error state.

The fix for the test is to not use the sync mode of loopback
transport, which allows the stack for sending a message to unwind
before responses are delivered and avoids the "object deleted by
response while we are still working with it" problem described in
project-chip#12466 (comment).

When the responses were made async, it turned out the test was missing
some "expect response" flags that should have been there all along and
it was only passing because the response happened before the send
could get to the "close the exchange" stage.  With async responses,
exchanges were closing too early without the "expect response" flags.

Separately we should figure out which parts of
project-chip#12466 we should
do.
kghost pushed a commit that referenced this pull request Dec 2, 2021
This is failing due to a merge conflict between
#11988 and
#12389: the latter
ends up in an error state as described in
#12466 (comment)
and the former makes our code a lot more sensitive to being in that
error state.

The fix for the test is to not use the sync mode of loopback
transport, which allows the stack for sending a message to unwind
before responses are delivered and avoids the "object deleted by
response while we are still working with it" problem described in
#12466 (comment).

When the responses were made async, it turned out the test was missing
some "expect response" flags that should have been there all along and
it was only passing because the response happened before the send
could get to the "close the exchange" stage.  With async responses,
exchanges were closing too early without the "expect response" flags.

Separately we should figure out which parts of
#12466 we should
do.
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