-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use array-of-maps as storage for aggregations
In preparation for indexed aggregations and the clear() and trunc() operations, the storage for aggregations is moving from a per-CPU array map to an array of maps, indexed by CPU id. The existing storage solution for aggregations stored all data in a singleton map value, i.e. all CPUs were writing to their own portion of a block of memory that the consumer retrieved in its entirety in a single system call. The new storage solution allocates a memory block for each CPU so that data retrieval by the consumer can be done per CPU. This sets the stage for future development where the consumer may need to update the aggregation buffers. Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com> Reviewed-by: Eugene Loh <eugene.loh@oracle.com>
- Loading branch information
Showing
5 changed files
with
130 additions
and
90 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
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
Oops, something went wrong.