forked from sonic-net/sonic-swss
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support allocate buffer pool based on ratio (sonic-net#3201)
Support allocate buffer pool size based on percentage of available memory by percentage field in BUFFER_POOL table. It is used in the dynamic buffer model only and represents the percentage of a buffer pool's size compared to the available memory size. On Nvidia devices, if the percentage is defined, the buffer pool size is available memory * percentage.
- Loading branch information
Showing
2 changed files
with
44 additions
and
4 deletions.
There are no files selected for viewing
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 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