-
Notifications
You must be signed in to change notification settings - Fork 60
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
[nrf toup] Reduce Packet Buffer Pool size to 11 #507
Conversation
@@ -48,7 +48,7 @@ struct ChipDeviceEvent; | |||
#define CHIP_SYSTEM_CONFIG_USE_SOCKETS 1 | |||
|
|||
#ifndef CONFIG_ARCH_POSIX | |||
#define CHIP_SYSTEM_CONFIG_PACKETBUFFER_POOL_SIZE 15 | |||
#define CHIP_SYSTEM_CONFIG_PACKETBUFFER_POOL_SIZE 11 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this selected based on the top usage in tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, please fill in this info in the commit description :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As this is not yet targeted for 2.8.0 and we have a bit of time - what do you think to introduce a KConfig for this configuration?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As this is not yet targeted for 2.8.0 and we have a bit of time - what do you think to introduce a KConfig for this configuration?
Good idea.
Is this selected based on the top usage in tests?
Yes, highest observed pool usage was 10. I updated commit description.
5f3a9cb
to
94ebf53
Compare
94ebf53
to
fc8dc9b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Please squash commits before merging.
Add `CHIP_SYSTEM_PACKETBUFFER_POOL_SIZE` Kconfig for packet buffer pool size configuration. Signed-off-by: Adrian Gielniewski <[email protected]> [nrf toup] config: Reduce packet buffer pool size to 11 Value selected based on top usage in tests. Highest observed number of packet buffers was 10. Signed-off-by: Adrian Gielniewski <[email protected]>
fc8dc9b
to
61a07ec
Compare
No description provided.