-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Change fabric table persistence to not use a single blob per fabric. #16032
Merged
bzbarsky-apple
merged 2 commits into
project-chip:master
from
bzbarsky-apple:fabric-table-storage
Mar 10, 2022
Merged
Change fabric table persistence to not use a single blob per fabric. #16032
bzbarsky-apple
merged 2 commits into
project-chip:master
from
bzbarsky-apple:fabric-table-storage
Mar 10, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This will let us do a better job of loading things on demand as needed, in followups, so we don't have to keep the certs in RAM all the time.
PR #16032: Size comparison from cd44f9b to 0cd3be7 Increases above 0.2%:
Increases (26 builds for cyw30739, efr32, esp32, k32w, linux, nrfconnect, p6, telink)
Decreases (3 builds for linux, mbed)
Full report (27 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
tcarmelveilleux
approved these changes
Mar 9, 2022
PR #16032: Size comparison from cd44f9b to 6a2f84b Increases above 0.2%:
Increases (26 builds for cyw30739, efr32, esp32, k32w, linux, nrfconnect, p6, telink)
Decreases (7 builds for cyw30739, efr32, k32w, linux, mbed)
Full report (27 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
sagar-apple
reviewed
Mar 9, 2022
6a2f84b
to
44775e7
Compare
PR #16032: Size comparison from b5a0754 to 44775e7 Increases above 0.2%:
Increases (25 builds for cyw30739, efr32, esp32, k32w, linux, p6, telink)
Decreases (3 builds for linux, mbed)
Full report (26 builds for cyw30739, efr32, esp32, k32w, linux, mbed, p6, telink)
|
sagar-apple
approved these changes
Mar 10, 2022
andrei-menzopol
pushed a commit
to andrei-menzopol/connectedhomeip
that referenced
this pull request
Apr 14, 2022
…roject-chip#16032) * Change fabric table persistence to not use a single blob per fabric. This will let us do a better job of loading things on demand as needed, in followups, so we don't have to keep the certs in RAM all the time. * Address review comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This will let us do a better job of loading things on demand as
needed, in followups, so we don't have to keep the certs in RAM all
the time.
Problem
A fabric table entry is being stored as a single blob, so we have to read it all-or-nothing.
Issue: #7695
Change overview
Store the separate bits separately, so we can read just the part we want.
Testing
In addition to our CI, did ran chip-all-clusters-app and then ran the following commands:
where for each read I ran it, then restarted all-clusters-app, then ran the read again and verified that the information did not change.