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

Disable DNSSD cache globally in preparation for address resolve #16029

Merged
merged 6 commits into from
Mar 9, 2022

Conversation

andy31415
Copy link
Contributor

Problem

DNSSD caching is not consistent : extra caching layers (both case and platform), likely doubling platform caches, no cache expiry, missing where we really need it (device side where platform service does not exist).

see #11632 and #12762

Change overview

Set cache size to 0, add more ifdefs. This is in preparation to removing it everywhere or moving it to a central place, in which case we either delete or reuse the DNSSD class.

Testing

CI will validate, expect smoke tests to also pick it up to validate.

In project-chip#15934 caching is generally not used, with the rationale of:
  - cache is doubled/trippled:
     - Platform MDNS servers are expected to cache at least on linux and
       mac due to avahi/bonjour being system wide and enforcing TTLs
     - We have cache both on CASESession and Platform, with separate
       caching between operational and commissionable
  - MinMdns does not have the dnssd cache like platform, but would
    likely benefit the most of it (since it would have TTLs)
  - we do not have a good way to clear caches and we do not update
    them on boot advertising (platform dnssd implementations would,
    however since we have an internal cache that seems to break)

Looking to disable caching and either build it anew if it required/helps
and at least make use of only one.
@github-actions
Copy link

github-actions bot commented Mar 9, 2022

PR #16029: Size comparison from cd44f9b to c430b8e

Decreases (38 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section cd44f9b c430b8e change % change
cyw30739 light cyw930739m2evb_01 (read/write) 602202 598058 -4144 -0.7
.app_xip_area 506720 505640 -1080 -0.2
.bss 78172 75108 -3064 -3.9
lock cyw930739m2evb_01 (read/write) 560078 555926 -4152 -0.7
.app_xip_area 466132 465044 -1088 -0.2
.bss 76676 73612 -3064 -4.0
ota-requestor cyw930739m2evb_01 (read/write) 570226 565790 -4436 -0.8
.app_xip_area 466584 465212 -1372 -0.3
.bss 86012 82948 -3064 -3.6
efr32 lighting-app BRD4161A (read only) 922240 919584 -2656 -0.3
(read/write) 128888 128256 -632 -0.5
.bss 126808 126176 -632 -0.5
.text 922232 919576 -2656 -0.3
BRD4161A+rpc (read only) 951076 948396 -2680 -0.3
(read/write) 144844 144212 -632 -0.4
.bss 142584 141952 -632 -0.4
.text 951068 948388 -2680 -0.3
window-app BRD4161A (read only) 854412 852348 -2064 -0.2
(read/write) 126852 126220 -632 -0.5
.bss 124936 124304 -632 -0.5
.text 854404 852340 -2064 -0.2
esp32 all-clusters-app c3devkit (read only) 958694 957736 -958 -0.1
(read/write) 1393802 1393778 -24 -0.0
.flash.rodata 197088 197064 -24 -0.0
.flash.text 958694 957736 -958 -0.1
m5stack (read only) 1013715 1012907 -808 -0.1
(read/write) 461052 461028 -24 -0.0
.flash.rodata 226056 226032 -24 -0.0
.flash.text 1008331 1007523 -808 -0.1
k32w light k32w061+release (read/write) 696264 694264 -2000 -0.3
.bss 77744 77112 -632 -0.8
.text 610756 609388 -1368 -0.2
lock k32w061+release (read/write) 697016 695292 -1724 -0.2
.bss 77704 77072 -632 -0.8
.text 611548 610456 -1092 -0.2
linux all-clusters-app debug (read only) 2432289 2430337 -1952 -0.1
.rodata 205765 205637 -128 -0.1
.text 2063538 2061714 -1824 -0.1
bridge-app debug+rpc (read only) 1737061 1735493 -1568 -0.1
.rodata 141964 141868 -96 -0.1
.text 1479125 1477653 -1472 -0.1
chip-tool debug (read only) 9937749 9935573 -2176 -0.0
.rodata 514452 514292 -160 -0.0
.text 8645413 8643397 -2016 -0.0
chip-tool-ipv6only arm64 (read only) 9586076 9584124 -1952 -0.0
.rodata 490436 490324 -112 -0.0
.text 8051508 8049668 -1840 -0.0
door-lock-app debug (read only) 1951521 1949953 -1568 -0.1
.rodata 173852 173756 -96 -0.1
.text 1629026 1627554 -1472 -0.1
lighting-app debug+rpc (read only) 2083689 2082105 -1584 -0.1
.rodata 166044 165948 -96 -0.1
.text 1761986 1760498 -1488 -0.1
ota-provider-app debug (read only) 1884793 1883193 -1600 -0.1
.rodata 159091 158963 -128 -0.1
.text 1574978 1573506 -1472 -0.1
ota-requestor-app debug (read only) 1912225 1910257 -1968 -0.1
.rodata 154892 154764 -128 -0.1
.text 1606818 1604978 -1840 -0.1
shell debug (read only) 2398465 2396513 -1952 -0.1
.rodata 205714 205586 -128 -0.1
.text 2036178 2034354 -1824 -0.1
thermostat-no-ble arm64 (read only) 2180428 2178620 -1808 -0.1
(read/write) 148833 148817 -16 -0.0
.bss 65409 65393 -16 -0.0
.rodata 133228 133116 -112 -0.1
.text 1828608 1826912 -1696 -0.1
tv-app debug (read only) 2624745 2622441 -2304 -0.1
(read/write) 251000 250360 -640 -0.3
.bss 168160 167520 -640 -0.4
.rodata 199677 199485 -192 -0.1
.text 2250978 2248866 -2112 -0.1
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2457408 2456552 -856 -0.0
.text 1419980 1419124 -856 -0.1
lighting-app CY8CPROTO_062_4343W+release (read/write) 2418808 2418016 -792 -0.0
.text 1381380 1380588 -792 -0.1
lock-app CY8CPROTO_062_4343W+release (read/write) 2351892 2351356 -536 -0.0
.text 1314492 1313956 -536 -0.0
shell CY8CPROTO_062_4343W+release (read/write) 2345096 2344240 -856 -0.0
.text 1307668 1306812 -856 -0.1
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1153379 1151411 -1968 -0.2
bss 146848 146216 -632 -0.4
rodata 144476 144396 -80 -0.1
text 786808 785564 -1244 -0.2
lighting-app nrf52840dk_nrf52840 (read/write) 1140191 1138239 -1952 -0.2
bss 143244 142612 -632 -0.4
rodata 122232 122152 -80 -0.1
text 795700 794456 -1244 -0.2
nrf52840dk_nrf52840+rpc (read/write) 1087203 1085235 -1968 -0.2
bss 139328 138696 -632 -0.5
rodata 109644 109564 -80 -0.1
text 759104 757860 -1244 -0.2
nrf52840dongle_nrf52840 (read/write) 1153483 1151803 -1680 -0.1
bss 144244 143612 -632 -0.4
rodata 121384 121304 -80 -0.1
text 798052 797096 -956 -0.1
nrf5340dk_nrf5340_cpuapp (read/write) 1043370 1041402 -1968 -0.2
bss 140308 139676 -632 -0.5
rodata 114336 114256 -80 -0.1
text 706712 705472 -1240 -0.2
lock-app nrf52840dk_nrf52840 (read/write) 1040431 1038479 -1952 -0.2
bss 133192 132560 -632 -0.5
rodata 114896 114816 -80 -0.1
text 713556 712316 -1240 -0.2
nrf5340dk_nrf5340_cpuapp (read/write) 943998 942030 -1968 -0.2
bss 130288 129656 -632 -0.5
rodata 107052 106972 -80 -0.1
text 624720 623480 -1240 -0.2
pump-app nrf52840dk_nrf52840 (read/write) 1058471 1056519 -1952 -0.2
bss 133104 132472 -632 -0.5
rodata 116840 116760 -80 -0.1
text 729664 728424 -1240 -0.2
pump-controller-app nrf52840dk_nrf52840 (read/write) 1036203 1034235 -1968 -0.2
bss 132960 132328 -632 -0.5
rodata 113740 113660 -80 -0.1
text 710616 709372 -1244 -0.2
p6 all-clusters-app default (read/write) 2495488 2494216 -1272 -0.1
.text 1453752 1452480 -1272 -0.1
light-app default (read/write) 2398960 2398296 -664 -0.0
.text 1357224 1356560 -664 -0.0
lock-app default (read/write) 2362520 2361856 -664 -0.0
.text 1320784 1320120 -664 -0.1
telink lighting-app tlsr9518adk80d (read/write) 889826 888882 -944 -0.1
text 629098 628184 -914 -0.1
Full report (38 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section cd44f9b c430b8e change % change
cyw30739 light cyw930739m2evb_01 (read/write) 602202 598058 -4144 -0.7
.app_xip_area 506720 505640 -1080 -0.2
.bss 78172 75108 -3064 -3.9
.data 652 652 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 560078 555926 -4152 -0.7
.app_xip_area 466132 465044 -1088 -0.2
.bss 76676 73612 -3064 -4.0
.data 616 616 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 570226 565790 -4436 -0.8
.app_xip_area 466584 465212 -1372 -0.3
.bss 86012 82948 -3064 -3.6
.data 592 592 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 922240 919584 -2656 -0.3
(read/write) 128888 128256 -632 -0.5
.bss 126808 126176 -632 -0.5
.data 2080 2080 0 0.0
.text 922232 919576 -2656 -0.3
BRD4161A+rpc (read only) 951076 948396 -2680 -0.3
(read/write) 144844 144212 -632 -0.4
.bss 142584 141952 -632 -0.4
.data 2260 2260 0 0.0
.text 951068 948388 -2680 -0.3
window-app BRD4161A (read only) 854412 852348 -2064 -0.2
(read/write) 126852 126220 -632 -0.5
.bss 124936 124304 -632 -0.5
.data 1916 1916 0 0.0
.text 854404 852340 -2064 -0.2
esp32 all-clusters-app c3devkit (read only) 958694 957736 -958 -0.1
(read/write) 1393802 1393778 -24 -0.0
.dram0.bss 63576 63576 0 0.0
.dram0.data 14220 14220 0 0.0
.flash.rodata 197088 197064 -24 -0.0
.flash.text 958694 957736 -958 -0.1
.iram0.text 62016 62016 0 0.0
m5stack (read only) 1013715 1012907 -808 -0.1
(read/write) 461052 461028 -24 -0.0
.dram0.bss 69096 69096 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 226056 226032 -24 -0.0
.flash.text 1008331 1007523 -808 -0.1
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 696264 694264 -2000 -0.3
.bss 77744 77112 -632 -0.8
.data 1964 1964 0 0.0
.text 610756 609388 -1368 -0.2
lock k32w061+release (read/write) 697016 695292 -1724 -0.2
.bss 77704 77072 -632 -0.8
.data 1964 1964 0 0.0
.text 611548 610456 -1092 -0.2
linux all-clusters-app debug (read only) 2432289 2430337 -1952 -0.1
(read/write) 145872 145872 0 0.0
.bss 60352 60352 0 0.0
.data 1360 1360 0 0.0
.data.rel.ro 78424 78424 0 0.0
.dynamic 592 592 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 936 936 0 0.0
.rodata 205765 205637 -128 -0.1
.text 2063538 2061714 -1824 -0.1
bridge-app debug+rpc (read only) 1737061 1735493 -1568 -0.1
(read/write) 92784 92784 0 0.0
.bss 47624 47624 0 0.0
.data 2016 2016 0 0.0
.data.rel.ro 38064 38064 0 0.0
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 544 544 0 0.0
.rodata 141964 141868 -96 -0.1
.text 1479125 1477653 -1472 -0.1
chip-tool debug (read only) 9937749 9935573 -2176 -0.0
(read/write) 356152 356152 0 0.0
.bss 25640 25640 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 323336 323336 0 0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 514452 514292 -160 -0.0
.text 8645413 8643397 -2016 -0.0
chip-tool-ipv6only arm64 (read only) 9586076 9584124 -1952 -0.0
(read/write) 472945 472945 0 0.0
.bss 43953 43953 0 0.0
.data 1200 1200 0 0.0
.data.rel.ro 369312 369312 0 0.0
.dynamic 560 560 0 0.0
.got 54680 54680 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 490436 490324 -112 -0.0
.text 8051508 8049668 -1840 -0.0
door-lock-app debug (read only) 1951521 1949953 -1568 -0.1
(read/write) 119296 119296 0 0.0
.bss 50656 50656 0 0.0
.data 1056 1056 0 0.0
.data.rel.ro 62184 62184 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 173852 173756 -96 -0.1
.text 1629026 1627554 -1472 -0.1
lighting-app debug+rpc (read only) 2083689 2082105 -1584 -0.1
(read/write) 124616 124616 0 0.0
.bss 51456 51456 0 0.0
.data 1536 1536 0 0.0
.data.rel.ro 66104 66104 0 0.0
.dynamic 608 608 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 736 736 0 0.0
.rodata 166044 165948 -96 -0.1
.text 1761986 1760498 -1488 -0.1
ota-provider-app debug (read only) 1884793 1883193 -1600 -0.1
(read/write) 114896 114896 0 0.0
.bss 50464 50464 0 0.0
.data 1320 1320 0 0.0
.data.rel.ro 57464 57464 0 0.0
.dynamic 608 608 0 0.0
.got 4368 4368 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 159091 158963 -128 -0.1
.text 1574978 1573506 -1472 -0.1
ota-requestor-app debug (read only) 1912225 1910257 -1968 -0.1
(read/write) 117832 117832 0 0.0
.bss 51552 51552 0 0.0
.data 1480 1480 0 0.0
.data.rel.ro 59368 59368 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 154892 154764 -128 -0.1
.text 1606818 1604978 -1840 -0.1
shell debug (read only) 2398465 2396513 -1952 -0.1
(read/write) 150088 150088 0 0.0
.bss 70472 70472 0 0.0
.data 864 864 0 0.0
.data.rel.ro 73064 73064 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 205714 205586 -128 -0.1
.text 2036178 2034354 -1824 -0.1
thermostat-no-ble arm64 (read only) 2180428 2178620 -1808 -0.1
(read/write) 148833 148817 -16 -0.0
.bss 65409 65393 -16 -0.0
.data 1048 1048 0 0.0
.data.rel.ro 75160 75160 0 0.0
.dynamic 560 560 0 0.0
.got 4240 4240 0 0.0
.init 24 24 0 0.0
.init_array 352 352 0 0.0
.rodata 133228 133116 -112 -0.1
.text 1828608 1826912 -1696 -0.1
tv-app debug (read only) 2624745 2622441 -2304 -0.1
(read/write) 251000 250360 -640 -0.3
.bss 168160 167520 -640 -0.4
.data 3168 3168 0 0.0
.data.rel.ro 73624 73624 0 0.0
.dynamic 592 592 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 199677 199485 -192 -0.1
.text 2250978 2248866 -2112 -0.1
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2457408 2456552 -856 -0.0
.bss 192168 192168 0 0.0
.data 5504 5504 0 0.0
.text 1419980 1419124 -856 -0.1
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2418808 2418016 -792 -0.0
.bss 187484 187484 0 0.0
.data 5816 5816 0 0.0
.text 1381380 1380588 -792 -0.1
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2351892 2351356 -536 -0.0
.bss 186212 186212 0 0.0
.data 5792 5792 0 0.0
.text 1314492 1313956 -536 -0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2345096 2344240 -856 -0.0
.bss 186024 186024 0 0.0
.data 5608 5608 0 0.0
.text 1307668 1306812 -856 -0.1
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1153379 1151411 -1968 -0.2
bss 146848 146216 -632 -0.4
rodata 144476 144396 -80 -0.1
text 786808 785564 -1244 -0.2
lighting-app nrf52840dk_nrf52840 (read/write) 1140191 1138239 -1952 -0.2
bss 143244 142612 -632 -0.4
rodata 122232 122152 -80 -0.1
text 795700 794456 -1244 -0.2
nrf52840dk_nrf52840+rpc (read/write) 1087203 1085235 -1968 -0.2
bss 139328 138696 -632 -0.5
rodata 109644 109564 -80 -0.1
text 759104 757860 -1244 -0.2
nrf52840dongle_nrf52840 (read/write) 1153483 1151803 -1680 -0.1
bss 144244 143612 -632 -0.4
rodata 121384 121304 -80 -0.1
text 798052 797096 -956 -0.1
nrf5340dk_nrf5340_cpuapp (read/write) 1043370 1041402 -1968 -0.2
bss 140308 139676 -632 -0.5
rodata 114336 114256 -80 -0.1
text 706712 705472 -1240 -0.2
lock-app nrf52840dk_nrf52840 (read/write) 1040431 1038479 -1952 -0.2
bss 133192 132560 -632 -0.5
rodata 114896 114816 -80 -0.1
text 713556 712316 -1240 -0.2
nrf5340dk_nrf5340_cpuapp (read/write) 943998 942030 -1968 -0.2
bss 130288 129656 -632 -0.5
rodata 107052 106972 -80 -0.1
text 624720 623480 -1240 -0.2
pump-app nrf52840dk_nrf52840 (read/write) 1058471 1056519 -1952 -0.2
bss 133104 132472 -632 -0.5
rodata 116840 116760 -80 -0.1
text 729664 728424 -1240 -0.2
pump-controller-app nrf52840dk_nrf52840 (read/write) 1036203 1034235 -1968 -0.2
bss 132960 132328 -632 -0.5
rodata 113740 113660 -80 -0.1
text 710616 709372 -1244 -0.2
p6 all-clusters-app default (read/write) 2495488 2494216 -1272 -0.1
.bss 119640 119640 0 0.0
.data 2680 2680 0 0.0
.text 1453752 1452480 -1272 -0.1
light-app default (read/write) 2398960 2398296 -664 -0.0
.bss 113104 113104 0 0.0
.data 2536 2536 0 0.0
.text 1357224 1356560 -664 -0.0
lock-app default (read/write) 2362520 2361856 -664 -0.0
.bss 112848 112848 0 0.0
.data 2496 2496 0 0.0
.text 1320784 1320120 -664 -0.1
telink lighting-app tlsr9518adk80d (read/write) 889826 888882 -944 -0.1
bss 86968 86968 0 0.0
noinit 37160 37160 0 0.0
text 629098 628184 -914 -0.1

Copy link
Contributor

@bzbarsky-apple bzbarsky-apple left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable, but we also need to disable the platform-mdns cache, right? Separate PR for that?

@andy31415
Copy link
Contributor Author

Looks reasonable, but we also need to disable the platform-mdns cache, right? Separate PR for that?

I believe that was already gated by the flag (or I assumed so). Will double-check.

@andy31415
Copy link
Contributor Author

Already gated: https://github.com/project-chip/connectedhomeip/blob/master/src/lib/dnssd/Discovery_ImplPlatform.cpp#L41 so the change to make size 0 should disable it.

@github-actions
Copy link

github-actions bot commented Mar 9, 2022

PR #16029: Size comparison from 3382a5f to 1d90e31

Decreases (38 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 3382a5f 1d90e31 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 602202 598058 -4144 -0.7
.app_xip_area 506720 505640 -1080 -0.2
.bss 78172 75108 -3064 -3.9
lock cyw930739m2evb_01 (read/write) 560078 555926 -4152 -0.7
.app_xip_area 466132 465044 -1088 -0.2
.bss 76676 73612 -3064 -4.0
ota-requestor cyw930739m2evb_01 (read/write) 570226 565790 -4436 -0.8
.app_xip_area 466584 465212 -1372 -0.3
.bss 86012 82948 -3064 -3.6
efr32 lighting-app BRD4161A (read only) 922240 919584 -2656 -0.3
(read/write) 128888 128256 -632 -0.5
.bss 126808 126176 -632 -0.5
.text 922232 919576 -2656 -0.3
BRD4161A+rpc (read only) 951076 948396 -2680 -0.3
(read/write) 144844 144212 -632 -0.4
.bss 142584 141952 -632 -0.4
.text 951068 948388 -2680 -0.3
window-app BRD4161A (read only) 854412 852348 -2064 -0.2
(read/write) 126852 126220 -632 -0.5
.bss 124936 124304 -632 -0.5
.text 854404 852340 -2064 -0.2
esp32 all-clusters-app c3devkit (read only) 958694 957736 -958 -0.1
(read/write) 1393802 1393778 -24 -0.0
.flash.rodata 197088 197064 -24 -0.0
.flash.text 958694 957736 -958 -0.1
m5stack (read only) 1013715 1012907 -808 -0.1
(read/write) 461052 461028 -24 -0.0
.flash.rodata 226056 226032 -24 -0.0
.flash.text 1008331 1007523 -808 -0.1
k32w light k32w061+release (read/write) 696264 694264 -2000 -0.3
.bss 77744 77112 -632 -0.8
.text 610756 609388 -1368 -0.2
lock k32w061+release (read/write) 697016 695292 -1724 -0.2
.bss 77704 77072 -632 -0.8
.text 611548 610456 -1092 -0.2
linux all-clusters-app debug (read only) 2432289 2430337 -1952 -0.1
.rodata 205765 205637 -128 -0.1
.text 2063538 2061714 -1824 -0.1
bridge-app debug+rpc (read only) 1737061 1735493 -1568 -0.1
.rodata 141964 141868 -96 -0.1
.text 1479125 1477653 -1472 -0.1
chip-tool debug (read only) 9943877 9941669 -2208 -0.0
.rodata 514388 514196 -192 -0.0
.text 8648725 8646709 -2016 -0.0
chip-tool-ipv6only arm64 (read only) 9592140 9590204 -1936 -0.0
.rodata 490468 490372 -96 -0.0
.text 8054516 8052676 -1840 -0.0
door-lock-app debug (read only) 1951521 1949953 -1568 -0.1
.rodata 173852 173756 -96 -0.1
.text 1629026 1627554 -1472 -0.1
lighting-app debug+rpc (read only) 2083689 2082105 -1584 -0.1
.rodata 166044 165948 -96 -0.1
.text 1761986 1760498 -1488 -0.1
ota-provider-app debug (read only) 1884793 1883193 -1600 -0.1
.rodata 159091 158963 -128 -0.1
.text 1574978 1573506 -1472 -0.1
ota-requestor-app debug (read only) 1912225 1910257 -1968 -0.1
.rodata 154892 154764 -128 -0.1
.text 1606818 1604978 -1840 -0.1
shell debug (read only) 2398465 2396513 -1952 -0.1
.rodata 205714 205586 -128 -0.1
.text 2036178 2034354 -1824 -0.1
thermostat-no-ble arm64 (read only) 2180428 2178620 -1808 -0.1
(read/write) 148833 148817 -16 -0.0
.bss 65409 65393 -16 -0.0
.rodata 133228 133116 -112 -0.1
.text 1828608 1826912 -1696 -0.1
tv-app debug (read only) 2624313 2622025 -2288 -0.1
(read/write) 251000 250360 -640 -0.3
.bss 168160 167520 -640 -0.4
.rodata 199485 199293 -192 -0.1
.text 2250738 2248642 -2096 -0.1
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2457408 2456552 -856 -0.0
.text 1419980 1419124 -856 -0.1
lighting-app CY8CPROTO_062_4343W+release (read/write) 2418808 2418016 -792 -0.0
.text 1381380 1380588 -792 -0.1
lock-app CY8CPROTO_062_4343W+release (read/write) 2351892 2351356 -536 -0.0
.text 1314492 1313956 -536 -0.0
shell CY8CPROTO_062_4343W+release (read/write) 2345096 2344240 -856 -0.0
.text 1307668 1306812 -856 -0.1
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1153379 1151411 -1968 -0.2
bss 146848 146216 -632 -0.4
rodata 144476 144396 -80 -0.1
text 786808 785564 -1244 -0.2
lighting-app nrf52840dk_nrf52840 (read/write) 1140191 1138239 -1952 -0.2
bss 143244 142612 -632 -0.4
rodata 122232 122152 -80 -0.1
text 795700 794456 -1244 -0.2
nrf52840dk_nrf52840+rpc (read/write) 1087203 1085235 -1968 -0.2
bss 139328 138696 -632 -0.5
rodata 109644 109564 -80 -0.1
text 759104 757860 -1244 -0.2
nrf52840dongle_nrf52840 (read/write) 1153483 1151803 -1680 -0.1
bss 144244 143612 -632 -0.4
rodata 121384 121304 -80 -0.1
text 798052 797096 -956 -0.1
nrf5340dk_nrf5340_cpuapp (read/write) 1043370 1041402 -1968 -0.2
bss 140308 139676 -632 -0.5
rodata 114336 114256 -80 -0.1
text 706712 705472 -1240 -0.2
lock-app nrf52840dk_nrf52840 (read/write) 1040431 1038479 -1952 -0.2
bss 133192 132560 -632 -0.5
rodata 114896 114816 -80 -0.1
text 713556 712316 -1240 -0.2
nrf5340dk_nrf5340_cpuapp (read/write) 943998 942030 -1968 -0.2
bss 130288 129656 -632 -0.5
rodata 107052 106972 -80 -0.1
text 624720 623480 -1240 -0.2
pump-app nrf52840dk_nrf52840 (read/write) 1058471 1056519 -1952 -0.2
bss 133104 132472 -632 -0.5
rodata 116840 116760 -80 -0.1
text 729664 728424 -1240 -0.2
pump-controller-app nrf52840dk_nrf52840 (read/write) 1036203 1034235 -1968 -0.2
bss 132960 132328 -632 -0.5
rodata 113740 113660 -80 -0.1
text 710616 709372 -1244 -0.2
p6 all-clusters-app default (read/write) 2495488 2494216 -1272 -0.1
.text 1453752 1452480 -1272 -0.1
light-app default (read/write) 2398960 2398296 -664 -0.0
.text 1357224 1356560 -664 -0.0
lock-app default (read/write) 2362520 2361856 -664 -0.0
.text 1320784 1320120 -664 -0.1
telink lighting-app tlsr9518adk80d (read/write) 889826 888882 -944 -0.1
text 629098 628184 -914 -0.1
Full report (38 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 3382a5f 1d90e31 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 602202 598058 -4144 -0.7
.app_xip_area 506720 505640 -1080 -0.2
.bss 78172 75108 -3064 -3.9
.data 652 652 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 560078 555926 -4152 -0.7
.app_xip_area 466132 465044 -1088 -0.2
.bss 76676 73612 -3064 -4.0
.data 616 616 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 570226 565790 -4436 -0.8
.app_xip_area 466584 465212 -1372 -0.3
.bss 86012 82948 -3064 -3.6
.data 592 592 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 922240 919584 -2656 -0.3
(read/write) 128888 128256 -632 -0.5
.bss 126808 126176 -632 -0.5
.data 2080 2080 0 0.0
.text 922232 919576 -2656 -0.3
BRD4161A+rpc (read only) 951076 948396 -2680 -0.3
(read/write) 144844 144212 -632 -0.4
.bss 142584 141952 -632 -0.4
.data 2260 2260 0 0.0
.text 951068 948388 -2680 -0.3
window-app BRD4161A (read only) 854412 852348 -2064 -0.2
(read/write) 126852 126220 -632 -0.5
.bss 124936 124304 -632 -0.5
.data 1916 1916 0 0.0
.text 854404 852340 -2064 -0.2
esp32 all-clusters-app c3devkit (read only) 958694 957736 -958 -0.1
(read/write) 1393802 1393778 -24 -0.0
.dram0.bss 63576 63576 0 0.0
.dram0.data 14220 14220 0 0.0
.flash.rodata 197088 197064 -24 -0.0
.flash.text 958694 957736 -958 -0.1
.iram0.text 62016 62016 0 0.0
m5stack (read only) 1013715 1012907 -808 -0.1
(read/write) 461052 461028 -24 -0.0
.dram0.bss 69096 69096 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 226056 226032 -24 -0.0
.flash.text 1008331 1007523 -808 -0.1
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 696264 694264 -2000 -0.3
.bss 77744 77112 -632 -0.8
.data 1964 1964 0 0.0
.text 610756 609388 -1368 -0.2
lock k32w061+release (read/write) 697016 695292 -1724 -0.2
.bss 77704 77072 -632 -0.8
.data 1964 1964 0 0.0
.text 611548 610456 -1092 -0.2
linux all-clusters-app debug (read only) 2432289 2430337 -1952 -0.1
(read/write) 145872 145872 0 0.0
.bss 60352 60352 0 0.0
.data 1360 1360 0 0.0
.data.rel.ro 78424 78424 0 0.0
.dynamic 592 592 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 936 936 0 0.0
.rodata 205765 205637 -128 -0.1
.text 2063538 2061714 -1824 -0.1
bridge-app debug+rpc (read only) 1737061 1735493 -1568 -0.1
(read/write) 92784 92784 0 0.0
.bss 47624 47624 0 0.0
.data 2016 2016 0 0.0
.data.rel.ro 38064 38064 0 0.0
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 544 544 0 0.0
.rodata 141964 141868 -96 -0.1
.text 1479125 1477653 -1472 -0.1
chip-tool debug (read only) 9943877 9941669 -2208 -0.0
(read/write) 357400 357400 0 0.0
.bss 25640 25640 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 324584 324584 0 0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 514388 514196 -192 -0.0
.text 8648725 8646709 -2016 -0.0
chip-tool-ipv6only arm64 (read only) 9592140 9590204 -1936 -0.0
(read/write) 474241 474241 0 0.0
.bss 43953 43953 0 0.0
.data 1200 1200 0 0.0
.data.rel.ro 370560 370560 0 0.0
.dynamic 560 560 0 0.0
.got 54728 54728 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 490468 490372 -96 -0.0
.text 8054516 8052676 -1840 -0.0
door-lock-app debug (read only) 1951521 1949953 -1568 -0.1
(read/write) 119296 119296 0 0.0
.bss 50656 50656 0 0.0
.data 1056 1056 0 0.0
.data.rel.ro 62184 62184 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 173852 173756 -96 -0.1
.text 1629026 1627554 -1472 -0.1
lighting-app debug+rpc (read only) 2083689 2082105 -1584 -0.1
(read/write) 124616 124616 0 0.0
.bss 51456 51456 0 0.0
.data 1536 1536 0 0.0
.data.rel.ro 66104 66104 0 0.0
.dynamic 608 608 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 736 736 0 0.0
.rodata 166044 165948 -96 -0.1
.text 1761986 1760498 -1488 -0.1
ota-provider-app debug (read only) 1884793 1883193 -1600 -0.1
(read/write) 114896 114896 0 0.0
.bss 50464 50464 0 0.0
.data 1320 1320 0 0.0
.data.rel.ro 57464 57464 0 0.0
.dynamic 608 608 0 0.0
.got 4368 4368 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 159091 158963 -128 -0.1
.text 1574978 1573506 -1472 -0.1
ota-requestor-app debug (read only) 1912225 1910257 -1968 -0.1
(read/write) 117832 117832 0 0.0
.bss 51552 51552 0 0.0
.data 1480 1480 0 0.0
.data.rel.ro 59368 59368 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 154892 154764 -128 -0.1
.text 1606818 1604978 -1840 -0.1
shell debug (read only) 2398465 2396513 -1952 -0.1
(read/write) 150088 150088 0 0.0
.bss 70472 70472 0 0.0
.data 864 864 0 0.0
.data.rel.ro 73064 73064 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 205714 205586 -128 -0.1
.text 2036178 2034354 -1824 -0.1
thermostat-no-ble arm64 (read only) 2180428 2178620 -1808 -0.1
(read/write) 148833 148817 -16 -0.0
.bss 65409 65393 -16 -0.0
.data 1048 1048 0 0.0
.data.rel.ro 75160 75160 0 0.0
.dynamic 560 560 0 0.0
.got 4240 4240 0 0.0
.init 24 24 0 0.0
.init_array 352 352 0 0.0
.rodata 133228 133116 -112 -0.1
.text 1828608 1826912 -1696 -0.1
tv-app debug (read only) 2624313 2622025 -2288 -0.1
(read/write) 251000 250360 -640 -0.3
.bss 168160 167520 -640 -0.4
.data 3168 3168 0 0.0
.data.rel.ro 73624 73624 0 0.0
.dynamic 592 592 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 199485 199293 -192 -0.1
.text 2250738 2248642 -2096 -0.1
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2457408 2456552 -856 -0.0
.bss 192168 192168 0 0.0
.data 5504 5504 0 0.0
.text 1419980 1419124 -856 -0.1
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2418808 2418016 -792 -0.0
.bss 187484 187484 0 0.0
.data 5816 5816 0 0.0
.text 1381380 1380588 -792 -0.1
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2351892 2351356 -536 -0.0
.bss 186212 186212 0 0.0
.data 5792 5792 0 0.0
.text 1314492 1313956 -536 -0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2345096 2344240 -856 -0.0
.bss 186024 186024 0 0.0
.data 5608 5608 0 0.0
.text 1307668 1306812 -856 -0.1
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1153379 1151411 -1968 -0.2
bss 146848 146216 -632 -0.4
rodata 144476 144396 -80 -0.1
text 786808 785564 -1244 -0.2
lighting-app nrf52840dk_nrf52840 (read/write) 1140191 1138239 -1952 -0.2
bss 143244 142612 -632 -0.4
rodata 122232 122152 -80 -0.1
text 795700 794456 -1244 -0.2
nrf52840dk_nrf52840+rpc (read/write) 1087203 1085235 -1968 -0.2
bss 139328 138696 -632 -0.5
rodata 109644 109564 -80 -0.1
text 759104 757860 -1244 -0.2
nrf52840dongle_nrf52840 (read/write) 1153483 1151803 -1680 -0.1
bss 144244 143612 -632 -0.4
rodata 121384 121304 -80 -0.1
text 798052 797096 -956 -0.1
nrf5340dk_nrf5340_cpuapp (read/write) 1043370 1041402 -1968 -0.2
bss 140308 139676 -632 -0.5
rodata 114336 114256 -80 -0.1
text 706712 705472 -1240 -0.2
lock-app nrf52840dk_nrf52840 (read/write) 1040431 1038479 -1952 -0.2
bss 133192 132560 -632 -0.5
rodata 114896 114816 -80 -0.1
text 713556 712316 -1240 -0.2
nrf5340dk_nrf5340_cpuapp (read/write) 943998 942030 -1968 -0.2
bss 130288 129656 -632 -0.5
rodata 107052 106972 -80 -0.1
text 624720 623480 -1240 -0.2
pump-app nrf52840dk_nrf52840 (read/write) 1058471 1056519 -1952 -0.2
bss 133104 132472 -632 -0.5
rodata 116840 116760 -80 -0.1
text 729664 728424 -1240 -0.2
pump-controller-app nrf52840dk_nrf52840 (read/write) 1036203 1034235 -1968 -0.2
bss 132960 132328 -632 -0.5
rodata 113740 113660 -80 -0.1
text 710616 709372 -1244 -0.2
p6 all-clusters-app default (read/write) 2495488 2494216 -1272 -0.1
.bss 119640 119640 0 0.0
.data 2680 2680 0 0.0
.text 1453752 1452480 -1272 -0.1
light-app default (read/write) 2398960 2398296 -664 -0.0
.bss 113104 113104 0 0.0
.data 2536 2536 0 0.0
.text 1357224 1356560 -664 -0.0
lock-app default (read/write) 2362520 2361856 -664 -0.0
.bss 112848 112848 0 0.0
.data 2496 2496 0 0.0
.text 1320784 1320120 -664 -0.1
telink lighting-app tlsr9518adk80d (read/write) 889826 888882 -944 -0.1
bss 86968 86968 0 0.0
noinit 37160 37160 0 0.0
text 629098 628184 -914 -0.1

@andy31415 andy31415 merged commit 190520d into project-chip:master Mar 9, 2022
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.

3 participants