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

[3/3] Spec-compliant CASE eviction policy algorithm #19903

Merged

Conversation

mrjerryjohns
Copy link
Contributor

@mrjerryjohns mrjerryjohns commented Jun 23, 2022

Problem

Fixes #17568

This implements a spec-compliant CASE eviction policy algorithm that attempts to achieve the following sort key order:

  • Key1: Sessions on fabrics that have more sessions in the table are placed ahead of sessions on fabrics
    with lesser sessions.
  • Key2: Sessions that match the eviction hint's fabric are placed ahead of those that don't.
  • Key3: Peers with more sessions are placed ahead of those with less.
  • Key4: Sessions whose target peer's ScopedNodeId matches the eviction hint are placed ahead of those who don't.
  • Key5: Sessions that are in defunct state are placed ahead of those in the active state, ahead of any other state.
  • Key6: Sessions that have a less recent activity time are placed ahead of those with a more recent activity time.

Key1 and Key2 are what guarantee spec-defined minima / fabric regardless of session establishment activity on other fabrics.

More detailed rationale can be found in the comments for SecureSessionTable::DefaultEvictionPolicy

Other fixes:

  • Shifts from a heap-allocated SortableSession list to a stack-allocated one based on discussions previously.

Testing

  • Adds a new TestSecureSessionTable test that validates the various different eviction scenarios that require the different sorting criteria above.
  • Adds Python end-to-end tests that validate that over-active session establishment on one fabric does not affect session establishment on another.

This implements a reasonably complete session eviction policy algorithm
that meets the spec minima requirements for sessions / fabric and
ensures that can be up-held at all times on a given fabric regardless of activity on
other fabrics. It also adds a more nuanced selection algorithm to
correctly balance the multiple factors that go into selecting a session
for eviction.
@github-actions
Copy link

github-actions bot commented Jun 23, 2022

PR #19903: Size comparison from 1381c8e to 279b206

Increases (37 builds for cc13x2_26x2, cyw30739, efr32, k32w, linux, mbed, p6, telink)
platform target config section 1381c8e 279b206 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 660451 660795 344 0.1
.text 573128 573472 344 0.1
all-clusters-minimal-app LP_CC2652R7 (read only) 649351 649687 336 0.1
.text 558408 558744 336 0.1
lock-ftd LP_CC2652R7 (read only) 692099 692339 240 0.0
.text 592148 592388 240 0.0
lock-mtd LP_CC2652R7 (read only) 641515 641755 240 0.0
.text 541668 541908 240 0.0
pump-app LP_CC2652R7 (read only) 673343 673675 332 0.0
.rodata 87783 87803 20 0.0
.text 585076 585388 312 0.1
pump-controller-app LP_CC2652R7 (read only) 659215 659547 332 0.1
.rodata 83623 83643 20 0.0
.text 575112 575424 312 0.1
shell LP_CC2652R7 (read only) 690290 690634 344 0.0
.text 580112 580456 344 0.1
cyw30739 light cyw930739m2evb_01 (read/write) 592626 592970 344 0.1
.app_xip_area 462740 463084 344 0.1
lock cyw930739m2evb_01 (read/write) 590002 590354 352 0.1
.app_xip_area 459940 460292 352 0.1
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 595142 595602 460 0.1
.app_xip_area 466128 466588 460 0.1
efr32 lighting-app BRD4161A (read/write) 1071784 1072220 436 0.0
.text 936000 936436 436 0.0
BRD4161A+rpc (read/write) 1125852 1126284 432 0.0
.text 973164 973600 436 0.0
BRD4161A+rs911x (read/write) 936456 936892 436 0.0
.text 794300 794736 436 0.1
lock-app BRD4161A+wf200 (read/write) 1112148 1112600 452 0.0
.text 969568 970020 452 0.0
window-app BRD4161A (read/write) 1057036 1057476 440 0.0
.text 921152 921588 436 0.0
k32w light k32w061+release (read/write) 662204 662620 416 0.1
.text 584016 584432 416 0.1
lock k32w061+release (read/write) 724200 724652 452 0.1
.text 645556 646008 452 0.1
linux all-clusters-app debug (read only) 2939145 2940249 1104 0.0
.text 2500994 2502098 1104 0.0
all-clusters-minimal-app debug (read only) 2792921 2794057 1136 0.0
.rodata 263261 263293 32 0.0
.text 2355346 2356450 1104 0.0
bridge-app debug+rpc (read only) 2296905 2297753 848 0.0
.text 1939202 1940146 944 0.0
chip-tool debug (read only) 10165629 10166749 1120 0.0
.text 8249013 8250133 1120 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9902644 9903716 1072 0.0
.rodata 471492 471508 16 0.0
.text 7892292 7893348 1056 0.0
lighting-app debug+rpc (read only) 2533673 2534593 920 0.0
.rodata 212200 212232 32 0.0
.text 2151634 2152610 976 0.0
lock-app debug (read only) 2466977 2467849 872 0.0
.text 2076610 2077570 960 0.0
ota-provider-app debug (read only) 2304817 2305697 880 0.0
.rodata 202104 202136 32 0.0
.text 1940418 1941362 944 0.0
ota-requestor-app debug (read only) 2421921 2422801 880 0.0
.rodata 205984 206016 32 0.0
.text 2045266 2046210 944 0.0
shell debug (read only) 2612633 2613785 1152 0.0
.rodata 231698 231730 32 0.0
.text 2221154 2222274 1120 0.1
thermostat-no-ble arm64 (read only) 2579044 2579940 896 0.0
.text 2175104 2176000 896 0.0
tv-app debug (read only) 3079665 3080785 1120 0.0
.text 2644946 2646066 1120 0.0
tv-casting-app debug (read only) 5542289 5543409 1120 0.0
.text 4924274 4925394 1120 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2439536 2439952 416 0.0
.text 1402180 1402596 416 0.0
p6 all-clusters-app default (read/write) 2555952 2556376 424 0.0
.text 1514216 1514640 424 0.0
all-clusters-minimal-app default (read/write) 2501800 2502240 440 0.0
.text 1460064 1460504 440 0.0
light-app default (read/write) 2432552 2432944 392 0.0
.text 1390816 1391208 392 0.0
lock-app default (read/write) 2453280 2453664 384 0.0
.text 1411544 1411928 384 0.0
telink light-switch-app tlsr9518adk80d (read/write) 793000 793504 504 0.1
text 561082 561558 476 0.1
lighting-app tlsr9518adk80d (read/write) 812704 813208 504 0.1
text 577544 578016 472 0.1
Decreases (10 builds for cc13x2_26x2, linux)
platform target config section 1381c8e 279b206 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 191620 191276 -344 -0.2
lock-ftd LP_CC2652R7 (read/write) 150084 149844 -240 -0.2
pump-app LP_CC2652R7 (read/write) 169736 169404 -332 -0.2
pump-controller-app LP_CC2652R7 (read/write) 183976 183644 -332 -0.2
shell LP_CC2652R7 (read/write) 157284 156940 -344 -0.2
linux bridge-app debug+rpc .got 4400 4392 -8 -0.2
lighting-app debug+rpc .got 4432 4424 -8 -0.2
lock-app debug (read/write) 146672 146640 -32 -0.0
.got 4432 4424 -8 -0.2
ota-provider-app debug (read/write) 140776 140744 -32 -0.0
.got 4496 4488 -8 -0.2
ota-requestor-app debug .got 4488 4480 -8 -0.2
Full report (37 builds for cc13x2_26x2, cyw30739, efr32, k32w, linux, mbed, p6, telink)
platform target config section 1381c8e 279b206 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 660451 660795 344 0.1
(read/write) 191620 191276 -344 -0.2
.bss 74964 74964 0 0.0
.data 3356 3356 0 0.0
.rodata 87011 87011 0 0.0
.text 573128 573472 344 0.1
all-clusters-minimal-app LP_CC2652R7 (read only) 649351 649687 336 0.1
(read/write) 158524 158524 0 0.0
.bss 74252 74252 0 0.0
.data 3356 3356 0 0.0
.rodata 90623 90623 0 0.0
.text 558408 558744 336 0.1
lock-ftd LP_CC2652R7 (read only) 692099 692339 240 0.0
(read/write) 150084 149844 -240 -0.2
.bss 71964 71964 0 0.0
.data 3280 3280 0 0.0
.rodata 99467 99467 0 0.0
.text 592148 592388 240 0.0
lock-mtd LP_CC2652R7 (read only) 641515 641755 240 0.0
(read/write) 145096 145096 0 0.0
.bss 67700 67700 0 0.0
.data 3280 3280 0 0.0
.rodata 99355 99355 0 0.0
.text 541668 541908 240 0.0
pump-app LP_CC2652R7 (read only) 673343 673675 332 0.0
(read/write) 169736 169404 -332 -0.2
.bss 72092 72092 0 0.0
.data 3280 3280 0 0.0
.rodata 87783 87803 20 0.0
.text 585076 585388 312 0.1
pump-controller-app LP_CC2652R7 (read only) 659215 659547 332 0.1
(read/write) 183976 183644 -332 -0.2
.bss 72204 72204 0 0.0
.data 3276 3276 0 0.0
.rodata 83623 83643 20 0.0
.text 575112 575424 312 0.1
shell LP_CC2652R7 (read only) 690290 690634 344 0.0
(read/write) 157284 156940 -344 -0.2
.bss 77268 77268 0 0.0
.data 3360 3360 0 0.0
.rodata 109866 109866 0 0.0
.text 580112 580456 344 0.1
cyw30739 light cyw930739m2evb_01 (read/write) 592626 592970 344 0.1
.app_xip_area 462740 463084 344 0.1
.bss 72848 72848 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 590002 590354 352 0.1
.app_xip_area 459940 460292 352 0.1
.bss 73024 73024 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 595142 595602 460 0.1
.app_xip_area 466128 466588 460 0.1
.bss 72032 72032 0 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1071784 1072220 436 0.0
.bss 133716 133716 0 0.0
.data 2048 2048 0 0.0
.text 936000 936436 436 0.0
BRD4161A+rpc (read/write) 1125852 1126284 432 0.0
.bss 150404 150404 0 0.0
.data 2260 2260 0 0.0
.text 973164 973600 436 0.0
BRD4161A+rs911x (read/write) 936456 936892 436 0.0
.bss 140088 140088 0 0.0
.data 2048 2048 0 0.0
.text 794300 794736 436 0.1
lock-app BRD4161A+wf200 (read/write) 1112148 1112600 452 0.0
.bss 140504 140504 0 0.0
.data 2056 2056 0 0.0
.text 969568 970020 452 0.0
window-app BRD4161A (read/write) 1057036 1057476 440 0.0
.bss 133788 133788 0 0.0
.data 2076 2076 0 0.0
.text 921152 921588 436 0.0
k32w light k32w061+release (read/write) 662204 662620 416 0.1
.bss 70396 70396 0 0.0
.data 1992 1992 0 0.0
.text 584016 584432 416 0.1
lock k32w061+release (read/write) 724200 724652 452 0.1
.bss 70844 70844 0 0.0
.data 2000 2000 0 0.0
.text 645556 646008 452 0.1
linux all-clusters-app debug (read only) 2939145 2940249 1104 0.0
(read/write) 177136 177136 0 0.0
.bss 84192 84192 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 84696 84696 0 0.0
.dynamic 608 608 0 0.0
.got 4536 4536 0 0.0
.init 27 27 0 0.0
.init_array 1032 1032 0 0.0
.rodata 261661 261661 0 0.0
.text 2500994 2502098 1104 0.0
all-clusters-minimal-app debug (read only) 2792921 2794057 1136 0.0
(read/write) 169040 169040 0 0.0
.bss 83520 83520 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 77336 77336 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1032 1032 0 0.0
.rodata 263261 263293 32 0.0
.text 2355346 2356450 1104 0.0
bridge-app debug+rpc (read only) 2296905 2297753 848 0.0
(read/write) 147936 147936 0 0.0
.bss 71616 71616 0 0.0
.data 3792 3792 0 0.0
.data.rel.ro 66760 66760 0 0.0
.dynamic 608 608 0 0.0
.got 4400 4392 -8 -0.2
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 196448 196448 0 0.0
.text 1939202 1940146 944 0.0
chip-tool debug (read only) 10165629 10166749 1120 0.0
(read/write) 610600 610600 0 0.0
.bss 24416 24416 0 0.0
.data 1088 1088 0 0.0
.data.rel.ro 578792 578792 0 0.0
.dynamic 624 624 0 0.0
.got 5008 5008 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 508629 508629 0 0.0
.text 8249013 8250133 1120 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9902644 9903716 1072 0.0
(read/write) 675265 675265 0 0.0
.bss 42641 42641 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 614184 614184 0 0.0
.dynamic 528 528 0 0.0
.got 13472 13472 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 471492 471508 16 0.0
.text 7892292 7893348 1056 0.0
lighting-app debug+rpc (read only) 2533673 2534593 920 0.0
(read/write) 151928 151928 0 0.0
.bss 72064 72064 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 71912 71912 0 0.0
.dynamic 608 608 0 0.0
.got 4432 4424 -8 -0.2
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 212200 212232 32 0.0
.text 2151634 2152610 976 0.0
lock-app debug (read only) 2466977 2467849 872 0.0
(read/write) 146672 146640 -32 -0.0
.bss 70496 70496 0 0.0
.data 1680 1680 0 0.0
.data.rel.ro 68632 68632 0 0.0
.dynamic 608 608 0 0.0
.got 4432 4424 -8 -0.2
.init 27 27 0 0.0
.init_array 776 776 0 0.0
.rodata 225928 225928 0 0.0
.text 2076610 2077570 960 0.0
ota-provider-app debug (read only) 2304817 2305697 880 0.0
(read/write) 140776 140744 -32 -0.0
.bss 70176 70176 0 0.0
.data 1912 1912 0 0.0
.data.rel.ro 62872 62872 0 0.0
.dynamic 608 608 0 0.0
.got 4496 4488 -8 -0.2
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 202104 202136 32 0.0
.text 1940418 1941362 944 0.0
ota-requestor-app debug (read only) 2421921 2422801 880 0.0
(read/write) 147648 147648 0 0.0
.bss 72544 72544 0 0.0
.data 2200 2200 0 0.0
.data.rel.ro 67048 67048 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4480 -8 -0.2
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 205984 206016 32 0.0
.text 2045266 2046210 944 0.0
shell debug (read only) 2612633 2613785 1152 0.0
(read/write) 196120 196120 0 0.0
.bss 111304 111304 0 0.0
.data 1232 1232 0 0.0
.data.rel.ro 77832 77832 0 0.0
.dynamic 608 608 0 0.0
.got 4168 4168 0 0.0
.init 27 27 0 0.0
.init_array 936 936 0 0.0
.rodata 231698 231730 32 0.0
.text 2221154 2222274 1120 0.1
thermostat-no-ble arm64 (read only) 2579044 2579940 896 0.0
(read/write) 180673 180673 0 0.0
.bss 87905 87905 0 0.0
.data 1704 1704 0 0.0
.data.rel.ro 82952 82952 0 0.0
.dynamic 528 528 0 0.0
.got 5088 5088 0 0.0
.init 24 24 0 0.0
.init_array 400 400 0 0.0
.rodata 164724 164724 0 0.0
.text 2175104 2176000 896 0.0
tv-app debug (read only) 3079665 3080785 1120 0.0
(read/write) 277864 277864 0 0.0
.bss 187720 187720 0 0.0
.data 4656 4656 0 0.0
.data.rel.ro 79048 79048 0 0.0
.dynamic 608 608 0 0.0
.got 4840 4840 0 0.0
.init 27 27 0 0.0
.init_array 952 952 0 0.0
.rodata 247808 247808 0 0.0
.text 2644946 2646066 1120 0.0
tv-casting-app debug (read only) 5542289 5543409 1120 0.0
(read/write) 184144 184144 0 0.0
.bss 72872 72872 0 0.0
.data 2448 2448 0 0.0
.data.rel.ro 102592 102592 0 0.0
.dynamic 608 608 0 0.0
.got 4712 4712 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 341737 341737 0 0.0
.text 4924274 4925394 1120 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2439536 2439952 416 0.0
.bss 214692 214692 0 0.0
.data 5864 5864 0 0.0
.text 1402180 1402596 416 0.0
p6 all-clusters-app default (read/write) 2555952 2556376 424 0.0
.bss 149872 149872 0 0.0
.data 2776 2776 0 0.0
.text 1514216 1514640 424 0.0
all-clusters-minimal-app default (read/write) 2501800 2502240 440 0.0
.bss 149152 149152 0 0.0
.data 2776 2776 0 0.0
.text 1460064 1460504 440 0.0
light-app default (read/write) 2432552 2432944 392 0.0
.bss 141232 141232 0 0.0
.data 2592 2592 0 0.0
.text 1390816 1391208 392 0.0
lock-app default (read/write) 2453280 2453664 384 0.0
.bss 141056 141056 0 0.0
.data 2600 2600 0 0.0
.text 1411544 1411928 384 0.0
telink light-switch-app tlsr9518adk80d (read/write) 793000 793504 504 0.1
bss 71924 71924 0 0.0
noinit 40416 40416 0 0.0
text 561082 561558 476 0.1
lighting-app tlsr9518adk80d (read/write) 812704 813208 504 0.1
bss 72172 72172 0 0.0
noinit 40416 40416 0 0.0
text 577544 578016 472 0.1

@mrjerryjohns mrjerryjohns force-pushed the case-eviction-final-policy branch from 5658d33 to eff137a Compare June 24, 2022 18:47
@github-actions
Copy link

github-actions bot commented Jun 24, 2022

PR #19903: Size comparison from eaafe61 to eff137a

Increases (10 builds for cyw30739, k32w, linux, mbed, telink)
platform target config section eaafe61 eff137a change % change
cyw30739 light cyw930739m2evb_01 (read/write) 592794 593146 352 0.1
.app_xip_area 462900 463252 352 0.1
lock cyw930739m2evb_01 (read/write) 594394 594754 360 0.1
.app_xip_area 464292 464652 360 0.1
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 595430 595898 468 0.1
.app_xip_area 466408 466876 468 0.1
k32w light k32w061+release (read/write) 663024 663456 432 0.1
.text 584240 584672 432 0.1
lock k32w061+release (read/write) 695320 695772 452 0.1
.text 616052 616504 452 0.1
linux chip-tool-no-interactive-ipv6only arm64 (read only) 9904844 9906028 1184 0.0
.rodata 471564 471580 16 0.0
.text 7894164 7895332 1168 0.0
thermostat-no-ble arm64 (read only) 2579964 2580956 992 0.0
(read/write) 180705 180721 16 0.0
.bss 87921 87937 16 0.0
.text 2175856 2176848 992 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2444432 2444912 480 0.0
.text 1407076 1407556 480 0.0
telink light-switch-app tlsr9518adk80d (read/write) 793768 794280 512 0.1
text 561412 561890 478 0.1
lighting-app tlsr9518adk80d (read/write) 813716 814228 512 0.1
text 577846 578326 480 0.1
Full report (10 builds for cyw30739, k32w, linux, mbed, telink)
platform target config section eaafe61 eff137a change % change
cyw30739 light cyw930739m2evb_01 (read/write) 592794 593146 352 0.1
.app_xip_area 462900 463252 352 0.1
.bss 72864 72864 0 0.0
.data 712 712 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 594394 594754 360 0.1
.app_xip_area 464292 464652 360 0.1
.bss 73064 73064 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 595430 595898 468 0.1
.app_xip_area 466408 466876 468 0.1
.bss 72048 72048 0 0.0
.data 656 656 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
k32w light k32w061+release (read/write) 663024 663456 432 0.1
.bss 70996 70996 0 0.0
.data 1988 1988 0 0.0
.text 584240 584672 432 0.1
lock k32w061+release (read/write) 695320 695772 452 0.1
.bss 71468 71468 0 0.0
.data 2000 2000 0 0.0
.text 616052 616504 452 0.1
linux chip-tool-no-interactive-ipv6only arm64 (read only) 9904844 9906028 1184 0.0
(read/write) 675345 675345 0 0.0
.bss 42641 42641 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 614272 614272 0 0.0
.dynamic 528 528 0 0.0
.got 13472 13472 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 471564 471580 16 0.0
.text 7894164 7895332 1168 0.0
thermostat-no-ble arm64 (read only) 2579964 2580956 992 0.0
(read/write) 180705 180721 16 0.0
.bss 87921 87937 16 0.0
.data 1696 1696 0 0.0
.data.rel.ro 82984 82984 0 0.0
.dynamic 528 528 0 0.0
.got 5088 5088 0 0.0
.init 24 24 0 0.0
.init_array 400 400 0 0.0
.rodata 164812 164812 0 0.0
.text 2175856 2176848 992 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2444432 2444912 480 0.0
.bss 214732 214732 0 0.0
.data 5872 5872 0 0.0
.text 1407076 1407556 480 0.0
telink light-switch-app tlsr9518adk80d (read/write) 793768 794280 512 0.1
bss 71960 71960 0 0.0
noinit 40416 40416 0 0.0
text 561412 561890 478 0.1
lighting-app tlsr9518adk80d (read/write) 813716 814228 512 0.1
bss 72780 72780 0 0.0
noinit 40416 40416 0 0.0
text 577846 578326 480 0.1

@mrjerryjohns mrjerryjohns force-pushed the case-eviction-final-policy branch from eff137a to ce387e9 Compare June 24, 2022 19:44
@github-actions
Copy link

github-actions bot commented Jun 24, 2022

PR #19903: Size comparison from eaafe61 to ce387e9

Increases (39 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, p6, telink)
platform target config section eaafe61 ce387e9 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 660723 661075 352 0.1
.text 573304 573656 352 0.1
all-clusters-minimal-app LP_CC2652R7 (read only) 649631 649983 352 0.1
.text 558592 558944 352 0.1
lock-ftd LP_CC2652R7 (read only) 663707 663963 256 0.0
.text 588000 588256 256 0.0
lock-mtd LP_CC2652R7 (read only) 613123 613379 256 0.0
.text 537528 537784 256 0.0
pump-app LP_CC2652R7 (read only) 673631 673987 356 0.1
.rodata 87879 87907 28 0.0
.text 585268 585596 328 0.1
pump-controller-app LP_CC2652R7 (read only) 659503 659859 356 0.1
.rodata 83719 83747 28 0.0
.text 575304 575632 328 0.1
shell LP_CC2652R7 (read only) 690562 690914 352 0.1
.text 580280 580632 352 0.1
cyw30739 light cyw930739m2evb_01 (read/write) 592794 593146 352 0.1
.app_xip_area 462900 463252 352 0.1
lock cyw930739m2evb_01 (read/write) 594394 594754 360 0.1
.app_xip_area 464292 464652 360 0.1
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 595430 595898 468 0.1
.app_xip_area 466408 466876 468 0.1
efr32 lighting-app BRD4161A (read/write) 1073516 1073940 424 0.0
.text 937128 937548 420 0.0
BRD4161A+rpc (read/write) 1127604 1128024 420 0.0
.text 974316 974736 420 0.0
BRD4161A+rs911x (read/write) 937688 938104 416 0.0
.text 795524 795944 420 0.1
lock-app BRD4161A+wf200 (read/write) 1117780 1118248 468 0.0
.text 975160 975628 468 0.0
window-app BRD4161A (read/write) 1058784 1059204 420 0.0
.text 922296 922716 420 0.0
esp32 all-clusters-app c3devkit (read only) 1014494 1015000 506 0.0
(read/write) 1485762 1485794 32 0.0
.flash.rodata 214272 214304 32 0.0
.flash.text 1014494 1015000 506 0.0
m5stack (read only) 1068795 1069379 584 0.1
(read/write) 487856 487888 32 0.0
.flash.rodata 244772 244804 32 0.0
.flash.text 1063411 1063995 584 0.1
k32w light k32w061+release (read/write) 663024 663456 432 0.1
.text 584240 584672 432 0.1
lock k32w061+release (read/write) 695320 695772 452 0.1
.text 616052 616504 452 0.1
linux all-clusters-app debug (read only) 2939553 2940721 1168 0.0
.text 2501394 2502562 1168 0.0
all-clusters-minimal-app debug (read only) 2793617 2794833 1216 0.0
.rodata 263229 263261 32 0.0
.text 2356002 2357186 1184 0.1
bridge-app debug+rpc (read only) 2297697 2298609 912 0.0
.text 1939954 1940962 1008 0.1
chip-tool debug (read only) 10168109 10169293 1184 0.0
.text 8251093 8252277 1184 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9904844 9906028 1184 0.0
.rodata 471564 471580 16 0.0
.text 7894164 7895332 1168 0.0
lighting-app debug+rpc (read only) 2534385 2535337 952 0.0
(read/write) 151992 152024 32 0.0
.bss 72096 72128 32 0.0
.text 2152306 2153346 1040 0.0
lock-app debug (read only) 2496553 2497521 968 0.0
.rodata 227016 227048 32 0.0
.text 2104786 2105810 1024 0.0
ota-provider-app debug (read only) 2305513 2306473 960 0.0
.rodata 202072 202104 32 0.0
.text 1941074 1942098 1024 0.1
ota-requestor-app debug (read only) 2422585 2423545 960 0.0
.rodata 205920 205952 32 0.0
.text 2045922 2046946 1024 0.1
shell debug (read only) 2613537 2614705 1168 0.0
.text 2222018 2223186 1168 0.1
thermostat-no-ble arm64 (read only) 2579964 2580972 1008 0.0
(read/write) 180705 180721 16 0.0
.bss 87921 87937 16 0.0
.text 2175856 2176864 1008 0.0
tv-app debug (read only) 3083521 3084705 1184 0.0
.text 2648450 2649634 1184 0.0
tv-casting-app debug (read only) 5573049 5574249 1200 0.0
(read/write) 184144 184176 32 0.0
.bss 72872 72904 32 0.0
.rodata 341865 341897 32 0.0
.text 4954690 4955858 1168 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2444432 2444912 480 0.0
.text 1407076 1407556 480 0.0
p6 all-clusters-app default (read/write) 2556248 2556672 424 0.0
.text 1514512 1514936 424 0.0
all-clusters-minimal-app default (read/write) 2502112 2502536 424 0.0
.text 1460376 1460800 424 0.0
light-app default (read/write) 2432872 2433248 376 0.0
.text 1391136 1391512 376 0.0
lock-app default (read/write) 2459136 2459504 368 0.0
.text 1417400 1417768 368 0.0
telink light-switch-app tlsr9518adk80d (read/write) 793768 794280 512 0.1
text 561412 561894 482 0.1
lighting-app tlsr9518adk80d (read/write) 813716 814236 520 0.1
text 577846 578332 486 0.1
Decreases (10 builds for cc13x2_26x2, linux)
platform target config section eaafe61 ce387e9 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 191956 191604 -352 -0.2
lock-ftd LP_CC2652R7 (read/write) 179116 178860 -256 -0.1
pump-app LP_CC2652R7 (read/write) 170056 169700 -356 -0.2
pump-controller-app LP_CC2652R7 (read/write) 184296 183940 -356 -0.2
shell LP_CC2652R7 (read/write) 157620 157268 -352 -0.2
linux bridge-app debug+rpc .got 4400 4392 -8 -0.2
lighting-app debug+rpc .got 4432 4424 -8 -0.2
lock-app debug (read/write) 147000 146968 -32 -0.0
.got 4432 4424 -8 -0.2
ota-provider-app debug (read/write) 140808 140776 -32 -0.0
.got 4496 4488 -8 -0.2
ota-requestor-app debug .got 4488 4480 -8 -0.2
Full report (39 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, p6, telink)
platform target config section eaafe61 ce387e9 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 660723 661075 352 0.1
(read/write) 191956 191604 -352 -0.2
.bss 75572 75572 0 0.0
.data 3352 3352 0 0.0
.rodata 87107 87107 0 0.0
.text 573304 573656 352 0.1
all-clusters-minimal-app LP_CC2652R7 (read only) 649631 649983 352 0.1
(read/write) 159128 159128 0 0.0
.bss 74860 74860 0 0.0
.data 3352 3352 0 0.0
.rodata 90719 90719 0 0.0
.text 558592 558944 352 0.1
lock-ftd LP_CC2652R7 (read only) 663707 663963 256 0.0
(read/write) 179116 178860 -256 -0.1
.bss 72604 72604 0 0.0
.data 3276 3276 0 0.0
.rodata 75227 75227 0 0.0
.text 588000 588256 256 0.0
lock-mtd LP_CC2652R7 (read only) 613123 613379 256 0.0
(read/write) 145732 145732 0 0.0
.bss 68340 68340 0 0.0
.data 3276 3276 0 0.0
.rodata 75107 75107 0 0.0
.text 537528 537784 256 0.0
pump-app LP_CC2652R7 (read only) 673631 673987 356 0.1
(read/write) 170056 169700 -356 -0.2
.bss 72700 72700 0 0.0
.data 3276 3276 0 0.0
.rodata 87879 87907 28 0.0
.text 585268 585596 328 0.1
pump-controller-app LP_CC2652R7 (read only) 659503 659859 356 0.1
(read/write) 184296 183940 -356 -0.2
.bss 72812 72812 0 0.0
.data 3272 3272 0 0.0
.rodata 83719 83747 28 0.0
.text 575304 575632 328 0.1
shell LP_CC2652R7 (read only) 690562 690914 352 0.1
(read/write) 157620 157268 -352 -0.2
.bss 77876 77876 0 0.0
.data 3356 3356 0 0.0
.rodata 109970 109970 0 0.0
.text 580280 580632 352 0.1
cyw30739 light cyw930739m2evb_01 (read/write) 592794 593146 352 0.1
.app_xip_area 462900 463252 352 0.1
.bss 72864 72864 0 0.0
.data 712 712 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 594394 594754 360 0.1
.app_xip_area 464292 464652 360 0.1
.bss 73064 73064 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 595430 595898 468 0.1
.app_xip_area 466408 466876 468 0.1
.bss 72048 72048 0 0.0
.data 656 656 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1073516 1073940 424 0.0
.bss 134324 134324 0 0.0
.data 2044 2044 0 0.0
.text 937128 937548 420 0.0
BRD4161A+rpc (read/write) 1127604 1128024 420 0.0
.bss 151012 151012 0 0.0
.data 2256 2256 0 0.0
.text 974316 974736 420 0.0
BRD4161A+rs911x (read/write) 937688 938104 416 0.0
.bss 140096 140096 0 0.0
.data 2044 2044 0 0.0
.text 795524 795944 420 0.1
lock-app BRD4161A+wf200 (read/write) 1117780 1118248 468 0.0
.bss 140544 140544 0 0.0
.data 2056 2056 0 0.0
.text 975160 975628 468 0.0
window-app BRD4161A (read/write) 1058784 1059204 420 0.0
.bss 134396 134396 0 0.0
.data 2072 2072 0 0.0
.text 922296 922716 420 0.0
esp32 all-clusters-app c3devkit (read only) 1014494 1015000 506 0.0
(read/write) 1485762 1485794 32 0.0
.dram0.bss 71432 71432 0 0.0
.dram0.data 14624 14624 0 0.0
.flash.rodata 214272 214304 32 0.0
.flash.text 1014494 1015000 506 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1068795 1069379 584 0.1
(read/write) 487856 487888 32 0.0
.dram0.bss 76944 76944 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 244772 244804 32 0.0
.flash.text 1063411 1063995 584 0.1
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 663024 663456 432 0.1
.bss 70996 70996 0 0.0
.data 1988 1988 0 0.0
.text 584240 584672 432 0.1
lock k32w061+release (read/write) 695320 695772 452 0.1
.bss 71468 71468 0 0.0
.data 2000 2000 0 0.0
.text 616052 616504 452 0.1
linux all-clusters-app debug (read only) 2939553 2940721 1168 0.0
(read/write) 177136 177136 0 0.0
.bss 84192 84192 0 0.0
.data 2016 2016 0 0.0
.data.rel.ro 84728 84728 0 0.0
.dynamic 608 608 0 0.0
.got 4536 4536 0 0.0
.init 27 27 0 0.0
.init_array 1032 1032 0 0.0
.rodata 261597 261597 0 0.0
.text 2501394 2502562 1168 0.0
all-clusters-minimal-app debug (read only) 2793617 2794833 1216 0.0
(read/write) 169040 169040 0 0.0
.bss 83520 83520 0 0.0
.data 2016 2016 0 0.0
.data.rel.ro 77368 77368 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1032 1032 0 0.0
.rodata 263229 263261 32 0.0
.text 2356002 2357186 1184 0.1
bridge-app debug+rpc (read only) 2297697 2298609 912 0.0
(read/write) 147968 147968 0 0.0
.bss 71616 71616 0 0.0
.data 3792 3792 0 0.0
.data.rel.ro 66792 66792 0 0.0
.dynamic 608 608 0 0.0
.got 4400 4392 -8 -0.2
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 196416 196416 0 0.0
.text 1939954 1940962 1008 0.1
chip-tool debug (read only) 10168109 10169293 1184 0.0
(read/write) 610696 610696 0 0.0
.bss 24416 24416 0 0.0
.data 1088 1088 0 0.0
.data.rel.ro 578896 578896 0 0.0
.dynamic 624 624 0 0.0
.got 5016 5016 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 508645 508645 0 0.0
.text 8251093 8252277 1184 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9904844 9906028 1184 0.0
(read/write) 675345 675345 0 0.0
.bss 42641 42641 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 614272 614272 0 0.0
.dynamic 528 528 0 0.0
.got 13472 13472 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 471564 471580 16 0.0
.text 7894164 7895332 1168 0.0
lighting-app debug+rpc (read only) 2534385 2535337 952 0.0
(read/write) 151992 152024 32 0.0
.bss 72096 72128 32 0.0
.data 2064 2064 0 0.0
.data.rel.ro 71944 71944 0 0.0
.dynamic 608 608 0 0.0
.got 4432 4424 -8 -0.2
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 212168 212168 0 0.0
.text 2152306 2153346 1040 0.0
lock-app debug (read only) 2496553 2497521 968 0.0
(read/write) 147000 146968 -32 -0.0
.bss 70528 70528 0 0.0
.data 1680 1680 0 0.0
.data.rel.ro 68920 68920 0 0.0
.dynamic 608 608 0 0.0
.got 4432 4424 -8 -0.2
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 227016 227048 32 0.0
.text 2104786 2105810 1024 0.0
ota-provider-app debug (read only) 2305513 2306473 960 0.0
(read/write) 140808 140776 -32 -0.0
.bss 70176 70176 0 0.0
.data 1912 1912 0 0.0
.data.rel.ro 62904 62904 0 0.0
.dynamic 608 608 0 0.0
.got 4496 4488 -8 -0.2
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 202072 202104 32 0.0
.text 1941074 1942098 1024 0.1
ota-requestor-app debug (read only) 2422585 2423545 960 0.0
(read/write) 147680 147680 0 0.0
.bss 72544 72544 0 0.0
.data 2200 2200 0 0.0
.data.rel.ro 67080 67080 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4480 -8 -0.2
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 205920 205952 32 0.0
.text 2045922 2046946 1024 0.1
shell debug (read only) 2613537 2614705 1168 0.0
(read/write) 196184 196184 0 0.0
.bss 111336 111336 0 0.0
.data 1232 1232 0 0.0
.data.rel.ro 77864 77864 0 0.0
.dynamic 608 608 0 0.0
.got 4168 4168 0 0.0
.init 27 27 0 0.0
.init_array 936 936 0 0.0
.rodata 231666 231666 0 0.0
.text 2222018 2223186 1168 0.1
thermostat-no-ble arm64 (read only) 2579964 2580972 1008 0.0
(read/write) 180705 180721 16 0.0
.bss 87921 87937 16 0.0
.data 1696 1696 0 0.0
.data.rel.ro 82984 82984 0 0.0
.dynamic 528 528 0 0.0
.got 5088 5088 0 0.0
.init 24 24 0 0.0
.init_array 400 400 0 0.0
.rodata 164812 164812 0 0.0
.text 2175856 2176864 1008 0.0
tv-app debug (read only) 3083521 3084705 1184 0.0
(read/write) 277896 277896 0 0.0
.bss 187720 187720 0 0.0
.data 4656 4656 0 0.0
.data.rel.ro 79080 79080 0 0.0
.dynamic 608 608 0 0.0
.got 4848 4848 0 0.0
.init 27 27 0 0.0
.init_array 952 952 0 0.0
.rodata 247936 247936 0 0.0
.text 2648450 2649634 1184 0.0
tv-casting-app debug (read only) 5573049 5574249 1200 0.0
(read/write) 184144 184176 32 0.0
.bss 72872 72904 32 0.0
.data 2416 2416 0 0.0
.data.rel.ro 102640 102640 0 0.0
.dynamic 608 608 0 0.0
.got 4720 4720 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 341865 341897 32 0.0
.text 4954690 4955858 1168 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2444432 2444912 480 0.0
.bss 214732 214732 0 0.0
.data 5872 5872 0 0.0
.text 1407076 1407556 480 0.0
p6 all-clusters-app default (read/write) 2556248 2556672 424 0.0
.bss 149880 149880 0 0.0
.data 2768 2768 0 0.0
.text 1514512 1514936 424 0.0
all-clusters-minimal-app default (read/write) 2502112 2502536 424 0.0
.bss 149160 149160 0 0.0
.data 2768 2768 0 0.0
.text 1460376 1460800 424 0.0
light-app default (read/write) 2432872 2433248 376 0.0
.bss 141240 141240 0 0.0
.data 2584 2584 0 0.0
.text 1391136 1391512 376 0.0
lock-app default (read/write) 2459136 2459504 368 0.0
.bss 141088 141088 0 0.0
.data 2600 2600 0 0.0
.text 1417400 1417768 368 0.0
telink light-switch-app tlsr9518adk80d (read/write) 793768 794280 512 0.1
bss 71960 71960 0 0.0
noinit 40416 40416 0 0.0
text 561412 561894 482 0.1
lighting-app tlsr9518adk80d (read/write) 813716 814236 520 0.1
bss 72780 72780 0 0.0
noinit 40416 40416 0 0.0
text 577846 578332 486 0.1

@mrjerryjohns mrjerryjohns force-pushed the case-eviction-final-policy branch from ce387e9 to 491c810 Compare June 24, 2022 21:35
src/controller/python/test/test_scripts/base.py Outdated Show resolved Hide resolved
src/transport/SecureSessionTable.cpp Show resolved Hide resolved
src/transport/SecureSessionTable.cpp Outdated Show resolved Hide resolved
src/transport/SecureSessionTable.cpp Outdated Show resolved Hide resolved
src/transport/SecureSessionTable.cpp Outdated Show resolved Hide resolved
src/transport/SecureSessionTable.cpp Outdated Show resolved Hide resolved
src/transport/SecureSessionTable.h Show resolved Hide resolved
src/transport/SecureSessionTable.h Outdated Show resolved Hide resolved
src/transport/SecureSessionTable.h Outdated Show resolved Hide resolved
src/transport/SecureSessionTable.h Outdated Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Jun 24, 2022

PR #19903: Size comparison from e5e09f5 to 491c810

Increases (23 builds for cc13x2_26x2, cyw30739, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section e5e09f5 491c810 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 664795 665147 352 0.1
.text 576456 576808 352 0.1
all-clusters-minimal-app LP_CC2652R7 (read only) 653555 653907 352 0.1
.text 561712 562064 352 0.1
lock-ftd LP_CC2652R7 (read only) 667795 668051 256 0.0
.text 591168 591424 256 0.0
lock-mtd LP_CC2652R7 (read only) 617195 617451 256 0.0
.text 540680 540936 256 0.0
pump-app LP_CC2652R7 (read only) 677515 677871 356 0.1
.rodata 88683 88711 28 0.0
.text 588348 588676 328 0.1
pump-controller-app LP_CC2652R7 (read only) 663395 663759 364 0.1
.rodata 84523 84551 28 0.0
.text 578392 578728 336 0.1
shell LP_CC2652R7 (read only) 657262 657614 352 0.1
.text 572168 572520 352 0.1
cyw30739 light cyw930739m2evb_01 (read/write) 580174 580526 352 0.1
.app_xip_area 457200 457552 352 0.1
lock cyw930739m2evb_01 (read/write) 581742 582094 352 0.1
.app_xip_area 458576 458928 352 0.1
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 583882 584350 468 0.1
.app_xip_area 461756 462224 468 0.1
k32w light k32w061+release (read/write) 659840 660192 352 0.1
.text 580780 581132 352 0.1
lock k32w061+release (read/write) 686248 686600 352 0.1
.text 606704 607056 352 0.1
linux chip-tool-no-interactive-ipv6only arm64 (read only) 9927780 9928964 1184 0.0
.rodata 473348 473364 16 0.0
.text 7914756 7915924 1168 0.0
thermostat-no-ble arm64 (read only) 2596564 2597572 1008 0.0
.text 2190640 2191648 1008 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2447616 2448040 424 0.0
.text 1410260 1410684 424 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1174971 1175435 464 0.0
rodata 141660 141692 32 0.0
text 809724 810156 432 0.1
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1155839 1156303 464 0.0
rodata 133592 133624 32 0.0
text 799436 799864 428 0.1
p6 all-clusters-app default (read/write) 2563520 2563936 416 0.0
.text 1521784 1522200 416 0.0
all-clusters-minimal-app default (read/write) 2509368 2509784 416 0.0
.text 1467632 1468048 416 0.0
light-app default (read/write) 2440136 2440504 368 0.0
.text 1398400 1398768 368 0.0
lock-app default (read/write) 2466400 2466776 376 0.0
.text 1424664 1425040 376 0.0
telink light-switch-app tlsr9518adk80d (read/write) 798512 799024 512 0.1
text 564972 565456 484 0.1
lighting-app tlsr9518adk80d (read/write) 818476 818988 512 0.1
text 581412 581896 484 0.1
Decreases (6 builds for cc13x2_26x2)
platform target config section e5e09f5 491c810 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 188164 187812 -352 -0.2
all-clusters-minimal-app LP_CC2652R7 (read/write) 198700 198348 -352 -0.2
lock-ftd LP_CC2652R7 (read/write) 175308 175052 -256 -0.1
pump-app LP_CC2652R7 (read/write) 166444 166088 -356 -0.2
pump-controller-app LP_CC2652R7 (read/write) 180684 180320 -364 -0.2
shell LP_CC2652R7 (read/write) 191200 190848 -352 -0.2
Full report (23 builds for cc13x2_26x2, cyw30739, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section e5e09f5 491c810 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 664795 665147 352 0.1
(read/write) 188164 187812 -352 -0.2
.bss 75852 75852 0 0.0
.data 3356 3356 0 0.0
.rodata 88027 88027 0 0.0
.text 576456 576808 352 0.1
all-clusters-minimal-app LP_CC2652R7 (read only) 653555 653907 352 0.1
(read/write) 198700 198348 -352 -0.2
.bss 75148 75148 0 0.0
.data 3356 3356 0 0.0
.rodata 91531 91531 0 0.0
.text 561712 562064 352 0.1
lock-ftd LP_CC2652R7 (read only) 667795 668051 256 0.0
(read/write) 175308 175052 -256 -0.1
.bss 72884 72884 0 0.0
.data 3280 3280 0 0.0
.rodata 76147 76147 0 0.0
.text 591168 591424 256 0.0
lock-mtd LP_CC2652R7 (read only) 617195 617451 256 0.0
(read/write) 146016 146016 0 0.0
.bss 68620 68620 0 0.0
.data 3280 3280 0 0.0
.rodata 76027 76027 0 0.0
.text 540680 540936 256 0.0
pump-app LP_CC2652R7 (read only) 677515 677871 356 0.1
(read/write) 166444 166088 -356 -0.2
.bss 72972 72972 0 0.0
.data 3280 3280 0 0.0
.rodata 88683 88711 28 0.0
.text 588348 588676 328 0.1
pump-controller-app LP_CC2652R7 (read only) 663395 663759 364 0.1
(read/write) 180684 180320 -364 -0.2
.bss 73092 73092 0 0.0
.data 3276 3276 0 0.0
.rodata 84523 84551 28 0.0
.text 578392 578728 336 0.1
shell LP_CC2652R7 (read only) 657262 657614 352 0.1
(read/write) 191200 190848 -352 -0.2
.bss 78156 78156 0 0.0
.data 3360 3360 0 0.0
.rodata 84782 84782 0 0.0
.text 572168 572520 352 0.1
cyw30739 light cyw930739m2evb_01 (read/write) 580174 580526 352 0.1
.app_xip_area 457200 457552 352 0.1
.bss 65936 65936 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 581742 582094 352 0.1
.app_xip_area 458576 458928 352 0.1
.bss 66128 66128 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 583882 584350 468 0.1
.app_xip_area 461756 462224 468 0.1
.bss 65144 65144 0 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
k32w light k32w061+release (read/write) 659840 660192 352 0.1
.bss 71268 71268 0 0.0
.data 1992 1992 0 0.0
.text 580780 581132 352 0.1
lock k32w061+release (read/write) 686248 686600 352 0.1
.bss 71740 71740 0 0.0
.data 2004 2004 0 0.0
.text 606704 607056 352 0.1
linux chip-tool-no-interactive-ipv6only arm64 (read only) 9927780 9928964 1184 0.0
(read/write) 675697 675697 0 0.0
.bss 42641 42641 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 614632 614632 0 0.0
.dynamic 528 528 0 0.0
.got 13456 13456 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 473348 473364 16 0.0
.text 7914756 7915924 1168 0.0
thermostat-no-ble arm64 (read only) 2596564 2597572 1008 0.0
(read/write) 181793 181793 0 0.0
.bss 88721 88721 0 0.0
.data 1704 1704 0 0.0
.data.rel.ro 83256 83256 0 0.0
.dynamic 528 528 0 0.0
.got 5088 5088 0 0.0
.init 24 24 0 0.0
.init_array 400 400 0 0.0
.rodata 166148 166148 0 0.0
.text 2190640 2191648 1008 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2447616 2448040 424 0.0
.bss 215732 215732 0 0.0
.data 5872 5872 0 0.0
.text 1410260 1410684 424 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1174971 1175435 464 0.0
bss 144650 144650 0 0.0
rodata 141660 141692 32 0.0
text 809724 810156 432 0.1
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1155839 1156303 464 0.0
bss 143886 143886 0 0.0
rodata 133592 133624 32 0.0
text 799436 799864 428 0.1
p6 all-clusters-app default (read/write) 2563520 2563936 416 0.0
.bss 150896 150896 0 0.0
.data 2776 2776 0 0.0
.text 1521784 1522200 416 0.0
all-clusters-minimal-app default (read/write) 2509368 2509784 416 0.0
.bss 150176 150176 0 0.0
.data 2776 2776 0 0.0
.text 1467632 1468048 416 0.0
light-app default (read/write) 2440136 2440504 368 0.0
.bss 142248 142248 0 0.0
.data 2592 2592 0 0.0
.text 1398400 1398768 368 0.0
lock-app default (read/write) 2466400 2466776 376 0.0
.bss 142096 142096 0 0.0
.data 2600 2600 0 0.0
.text 1424664 1425040 376 0.0
telink light-switch-app tlsr9518adk80d (read/write) 798512 799024 512 0.1
bss 72360 72360 0 0.0
noinit 40416 40416 0 0.0
text 564972 565456 484 0.1
lighting-app tlsr9518adk80d (read/write) 818476 818988 512 0.1
bss 73180 73180 0 0.0
noinit 40416 40416 0 0.0
text 581412 581896 484 0.1

src/transport/SecureSessionTable.h Outdated Show resolved Hide resolved
src/transport/SecureSessionTable.h Outdated Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Jun 24, 2022

PR #19903: Size comparison from e5e09f5 to 1abcf48

Increases (39 builds for cc13x2_26x2, cyw30739, efr32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section e5e09f5 1abcf48 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 664795 665147 352 0.1
.text 576456 576808 352 0.1
all-clusters-minimal-app LP_CC2652R7 (read only) 653555 653907 352 0.1
.text 561712 562064 352 0.1
lock-ftd LP_CC2652R7 (read only) 667795 668051 256 0.0
.text 591168 591424 256 0.0
lock-mtd LP_CC2652R7 (read only) 617195 617451 256 0.0
.text 540680 540936 256 0.0
pump-app LP_CC2652R7 (read only) 677515 677871 356 0.1
.rodata 88683 88711 28 0.0
.text 588348 588676 328 0.1
pump-controller-app LP_CC2652R7 (read only) 663395 663759 364 0.1
.rodata 84523 84551 28 0.0
.text 578392 578728 336 0.1
shell LP_CC2652R7 (read only) 657262 657614 352 0.1
.text 572168 572520 352 0.1
cyw30739 light cyw930739m2evb_01 (read/write) 580174 580534 360 0.1
.app_xip_area 457200 457560 360 0.1
lock cyw930739m2evb_01 (read/write) 581742 582094 352 0.1
.app_xip_area 458576 458928 352 0.1
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 583882 584350 468 0.1
.app_xip_area 461756 462224 468 0.1
efr32 lighting-app BRD4161A (read/write) 1081100 1081520 420 0.0
.text 944316 944736 420 0.0
BRD4161A+rpc (read/write) 1135396 1135820 424 0.0
.text 981712 982132 420 0.0
BRD4161A+rs911x (read/write) 945236 945656 420 0.0
.text 802680 803100 420 0.1
lock-app BRD4161A+wf200 (read/write) 1122080 1122544 464 0.0
.text 979060 979528 468 0.0
window-app BRD4161A (read/write) 1066380 1066796 416 0.0
.text 929484 929904 420 0.0
k32w light k32w061+release (read/write) 659840 660192 352 0.1
.text 580780 581132 352 0.1
lock k32w061+release (read/write) 686248 686600 352 0.1
.text 606704 607056 352 0.1
linux all-clusters-app debug (read only) 2957729 2958817 1088 0.0
.text 2517506 2518594 1088 0.0
all-clusters-minimal-app debug (read only) 2811761 2812897 1136 0.0
.rodata 264925 264957 32 0.0
.text 2372114 2373218 1104 0.0
bridge-app debug+rpc (read only) 2316049 2316913 864 0.0
.rodata 198112 198144 32 0.0
.text 1956226 1957154 928 0.0
chip-tool debug (read only) 1019317 10194261 1088 0.0
.text 8274341 8275429 1088 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9927780 9928868 1088 0.0
.rodata 473348 473380 32 0.0
.text 7914756 7915812 1056 0.0
lighting-app debug+rpc (read only) 2552833 2553737 904 0.0
.bss 72896 72928 32 0.0
.rodata 213832 213864 32 0.0
.text 2168706 2169666 960 0.0
lock-app debug (read only) 2514913 2515753 840 0.0
.text 2121090 2122018 928 0.0
ota-provider-app debug (read only) 2323945 2324777 832 0.0
.text 1957458 1958386 928 0.0
ota-requestor-app debug (read only) 2441065 2441929 864 0.0
.rodata 207648 207680 32 0.0
.text 2062290 2063218 928 0.0
shell debug (read only) 2547857 2548993 1136 0.0
.rodata 227538 227570 32 0.0
.text 2164194 2165298 1104 0.1
thermostat-no-ble arm64 (read only) 2596564 2597460 896 0.0
.text 2190640 2191536 896 0.0
tv-app debug (read only) 3104401 3105489 1088 0.0
.text 2667394 2668482 1088 0.0
tv-casting-app debug (read only) 5591313 5592401 1088 0.0
(read/write) 185104 185136 32 0.0
.bss 73672 73704 32 0.0
.text 4970802 4971890 1088 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2447616 2448040 424 0.0
.text 1410260 1410684 424 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1174971 1175435 464 0.0
rodata 141660 141692 32 0.0
text 809724 810160 436 0.1
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1155839 1156303 464 0.0
rodata 133592 133624 32 0.0
text 799436 799864 428 0.1
p6 all-clusters-app default (read/write) 2563520 2563936 416 0.0
.text 1521784 1522200 416 0.0
all-clusters-minimal-app default (read/write) 2509368 2509784 416 0.0
.text 1467632 1468048 416 0.0
light-app default (read/write) 2440136 2440504 368 0.0
.text 1398400 1398768 368 0.0
lock-app default (read/write) 2466400 2466776 376 0.0
.text 1424664 1425040 376 0.0
telink light-switch-app tlsr9518adk80d (read/write) 798512 799056 544 0.1
text 564972 565486 514 0.1
lighting-app tlsr9518adk80d (read/write) 818476 819020 544 0.1
text 581412 581926 514 0.1
Decreases (11 builds for cc13x2_26x2, linux)
platform target config section e5e09f5 1abcf48 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 188164 187812 -352 -0.2
all-clusters-minimal-app LP_CC2652R7 (read/write) 198700 198348 -352 -0.2
lock-ftd LP_CC2652R7 (read/write) 175308 175052 -256 -0.1
pump-app LP_CC2652R7 (read/write) 166444 166088 -356 -0.2
pump-controller-app LP_CC2652R7 (read/write) 180684 180320 -364 -0.2
shell LP_CC2652R7 (read/write) 191200 190848 -352 -0.2
linux bridge-app debug+rpc .got 4400 4392 -8 -0.2
lighting-app debug+rpc .got 4432 4424 -8 -0.2
lock-app debug .got 4432 4424 -8 -0.2
ota-provider-app debug (read/write) 141800 141768 -32 -0.0
.got 4496 4488 -8 -0.2
ota-requestor-app debug .got 4488 4480 -8 -0.2
Full report (39 builds for cc13x2_26x2, cyw30739, efr32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section e5e09f5 1abcf48 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 664795 665147 352 0.1
(read/write) 188164 187812 -352 -0.2
.bss 75852 75852 0 0.0
.data 3356 3356 0 0.0
.rodata 88027 88027 0 0.0
.text 576456 576808 352 0.1
all-clusters-minimal-app LP_CC2652R7 (read only) 653555 653907 352 0.1
(read/write) 198700 198348 -352 -0.2
.bss 75148 75148 0 0.0
.data 3356 3356 0 0.0
.rodata 91531 91531 0 0.0
.text 561712 562064 352 0.1
lock-ftd LP_CC2652R7 (read only) 667795 668051 256 0.0
(read/write) 175308 175052 -256 -0.1
.bss 72884 72884 0 0.0
.data 3280 3280 0 0.0
.rodata 76147 76147 0 0.0
.text 591168 591424 256 0.0
lock-mtd LP_CC2652R7 (read only) 617195 617451 256 0.0
(read/write) 146016 146016 0 0.0
.bss 68620 68620 0 0.0
.data 3280 3280 0 0.0
.rodata 76027 76027 0 0.0
.text 540680 540936 256 0.0
pump-app LP_CC2652R7 (read only) 677515 677871 356 0.1
(read/write) 166444 166088 -356 -0.2
.bss 72972 72972 0 0.0
.data 3280 3280 0 0.0
.rodata 88683 88711 28 0.0
.text 588348 588676 328 0.1
pump-controller-app LP_CC2652R7 (read only) 663395 663759 364 0.1
(read/write) 180684 180320 -364 -0.2
.bss 73092 73092 0 0.0
.data 3276 3276 0 0.0
.rodata 84523 84551 28 0.0
.text 578392 578728 336 0.1
shell LP_CC2652R7 (read only) 657262 657614 352 0.1
(read/write) 191200 190848 -352 -0.2
.bss 78156 78156 0 0.0
.data 3360 3360 0 0.0
.rodata 84782 84782 0 0.0
.text 572168 572520 352 0.1
cyw30739 light cyw930739m2evb_01 (read/write) 580174 580534 360 0.1
.app_xip_area 457200 457560 360 0.1
.bss 65936 65936 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 581742 582094 352 0.1
.app_xip_area 458576 458928 352 0.1
.bss 66128 66128 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 583882 584350 468 0.1
.app_xip_area 461756 462224 468 0.1
.bss 65144 65144 0 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1081100 1081520 420 0.0
.bss 134716 134716 0 0.0
.data 2048 2048 0 0.0
.text 944316 944736 420 0.0
BRD4161A+rpc (read/write) 1135396 1135820 424 0.0
.bss 151404 151404 0 0.0
.data 2260 2260 0 0.0
.text 981712 982132 420 0.0
BRD4161A+rs911x (read/write) 945236 945656 420 0.0
.bss 140488 140488 0 0.0
.data 2048 2048 0 0.0
.text 802680 803100 420 0.1
lock-app BRD4161A+wf200 (read/write) 1122080 1122544 464 0.0
.bss 140936 140936 0 0.0
.data 2060 2060 0 0.0
.text 979060 979528 468 0.0
window-app BRD4161A (read/write) 1066380 1066796 416 0.0
.bss 134796 134796 0 0.0
.data 2076 2076 0 0.0
.text 929484 929904 420 0.0
k32w light k32w061+release (read/write) 659840 660192 352 0.1
.bss 71268 71268 0 0.0
.data 1992 1992 0 0.0
.text 580780 581132 352 0.1
lock k32w061+release (read/write) 686248 686600 352 0.1
.bss 71740 71740 0 0.0
.data 2004 2004 0 0.0
.text 606704 607056 352 0.1
linux all-clusters-app debug (read only) 2957729 2958817 1088 0.0
(read/write) 178096 178096 0 0.0
.bss 84992 84992 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 84872 84872 0 0.0
.dynamic 608 608 0 0.0
.got 4536 4536 0 0.0
.init 27 27 0 0.0
.init_array 1032 1032 0 0.0
.rodata 263325 263325 0 0.0
.text 2517506 2518594 1088 0.0
all-clusters-minimal-app debug (read only) 2811761 2812897 1136 0.0
(read/write) 170032 170032 0 0.0
.bss 84320 84320 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 77512 77512 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1032 1032 0 0.0
.rodata 264925 264957 32 0.0
.text 2372114 2373218 1104 0.0
bridge-app debug+rpc (read only) 2316049 2316913 864 0.0
(read/write) 148928 148928 0 0.0
.bss 72384 72384 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 66952 66952 0 0.0
.dynamic 608 608 0 0.0
.got 4400 4392 -8 -0.2
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 198112 198144 32 0.0
.text 1956226 1957154 928 0.0
chip-tool debug (read only) 1019317 10194261 1088 0.0
(read/write) 610856 610856 0 0.0
.bss 24416 24416 0 0.0
.data 1088 1088 0 0.0
.data.rel.ro 579064 579064 0 0.0
.dynamic 624 624 0 0.0
.got 5016 5016 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 510053 510053 0 0.0
.text 8274341 8275429 1088 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9927780 9928868 1088 0.0
(read/write) 675697 675697 0 0.0
.bss 42641 42641 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 614632 614632 0 0.0
.dynamic 528 528 0 0.0
.got 13456 13456 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 473348 473380 32 0.0
.text 7914756 7915812 1056 0.0
lighting-app debug+rpc (read only) 2552833 2553737 904 0.0
(read/write) 152984 152984 0 0.0
.bss 72896 72928 32 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72088 72088 0 0.0
.dynamic 608 608 0 0.0
.got 4432 4424 -8 -0.2
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 213832 213864 32 0.0
.text 2168706 2169666 960 0.0
lock-app debug (read only) 2514913 2515753 840 0.0
(read/write) 147928 147928 0 0.0
.bss 71296 71296 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69064 69064 0 0.0
.dynamic 608 608 0 0.0
.got 4432 4424 -8 -0.2
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 228712 228712 0 0.0
.text 2121090 2122018 928 0.0
ota-provider-app debug (read only) 2323945 2324777 832 0.0
(read/write) 141800 141768 -32 -0.0
.bss 70976 70976 0 0.0
.data 1944 1944 0 0.0
.data.rel.ro 63064 63064 0 0.0
.dynamic 608 608 0 0.0
.got 4496 4488 -8 -0.2
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 203736 203736 0 0.0
.text 1957458 1958386 928 0.0
ota-requestor-app debug (read only) 2441065 2441929 864 0.0
(read/write) 148640 148640 0 0.0
.bss 73312 73312 0 0.0
.data 2232 2232 0 0.0
.data.rel.ro 67240 67240 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4480 -8 -0.2
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 207648 207680 32 0.0
.text 2062290 2063218 928 0.0
shell debug (read only) 2547857 2548993 1136 0.0
(read/write) 164416 164416 0 0.0
.bss 80904 80904 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 76608 76608 0 0.0
.dynamic 608 608 0 0.0
.got 4096 4096 0 0.0
.init 27 27 0 0.0
.init_array 912 912 0 0.0
.rodata 227538 227570 32 0.0
.text 2164194 2165298 1104 0.1
thermostat-no-ble arm64 (read only) 2596564 2597460 896 0.0
(read/write) 181793 181793 0 0.0
.bss 88721 88721 0 0.0
.data 1704 1704 0 0.0
.data.rel.ro 83256 83256 0 0.0
.dynamic 528 528 0 0.0
.got 5088 5088 0 0.0
.init 24 24 0 0.0
.init_array 400 400 0 0.0
.rodata 166148 166148 0 0.0
.text 2190640 2191536 896 0.0
tv-app debug (read only) 3104401 3105489 1088 0.0
(read/write) 278856 278856 0 0.0
.bss 188488 188488 0 0.0
.data 4688 4688 0 0.0
.data.rel.ro 79232 79232 0 0.0
.dynamic 608 608 0 0.0
.got 4848 4848 0 0.0
.init 27 27 0 0.0
.init_array 952 952 0 0.0
.rodata 249536 249536 0 0.0
.text 2667394 2668482 1088 0.0
tv-casting-app debug (read only) 5591313 5592401 1088 0.0
(read/write) 185104 185136 32 0.0
.bss 73672 73704 32 0.0
.data 2416 2416 0 0.0
.data.rel.ro 102792 102792 0 0.0
.dynamic 608 608 0 0.0
.got 4720 4720 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 343657 343657 0 0.0
.text 4970802 4971890 1088 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2447616 2448040 424 0.0
.bss 215732 215732 0 0.0
.data 5872 5872 0 0.0
.text 1410260 1410684 424 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1174971 1175435 464 0.0
bss 144650 144650 0 0.0
rodata 141660 141692 32 0.0
text 809724 810160 436 0.1
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1155839 1156303 464 0.0
bss 143886 143886 0 0.0
rodata 133592 133624 32 0.0
text 799436 799864 428 0.1
p6 all-clusters-app default (read/write) 2563520 2563936 416 0.0
.bss 150896 150896 0 0.0
.data 2776 2776 0 0.0
.text 1521784 1522200 416 0.0
all-clusters-minimal-app default (read/write) 2509368 2509784 416 0.0
.bss 150176 150176 0 0.0
.data 2776 2776 0 0.0
.text 1467632 1468048 416 0.0
light-app default (read/write) 2440136 2440504 368 0.0
.bss 142248 142248 0 0.0
.data 2592 2592 0 0.0
.text 1398400 1398768 368 0.0
lock-app default (read/write) 2466400 2466776 376 0.0
.bss 142096 142096 0 0.0
.data 2600 2600 0 0.0
.text 1424664 1425040 376 0.0
telink light-switch-app tlsr9518adk80d (read/write) 798512 799056 544 0.1
bss 72360 72360 0 0.0
noinit 40416 40416 0 0.0
text 564972 565486 514 0.1
lighting-app tlsr9518adk80d (read/write) 818476 819020 544 0.1
bss 73180 73180 0 0.0
noinit 40416 40416 0 0.0
text 581412 581926 514 0.1

@mrjerryjohns mrjerryjohns merged commit 161e76a into project-chip:master Jun 25, 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.

Add session eviction logic to CASE session management
6 participants