-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Several optimizations & code clean-up written for Homa artifact evalu…
…ation Driver changes: 1) No more ad-hoc sync mechanisms when returning packet buf to drivers. A new method Driver::returnPacket(char*) is introduced to handle sync for all driver subclasses. It acquires the dispatch lock when called in a worker thread and elides locking when called in the dispatch thread (which is the common case). 2) Driver::release now becomes a batch release interface that should be called once in every iteration of the transport's poll method (as opposed to once for each received packet). 3) RX zero-copy is removed due to its complexity. It was a dirty hack to allow Homa to run W3 under 80% load. It's no longer necessary. 4) DpdkDriver's RX path is simplified quite a bit. For instance, an incorrect prefetch is removed (it was prefetching a cache-line that we immediately accessed a few lines later). Basic & HomaTransport changes: * Remove RX zero-copy for multi-packet messages (payloads are copied out to reduce # chunks in buffer) * Code reorganization/refactoring to improve performance * Faster ScheduledMessage::senderHash computation
- Loading branch information
Showing
25 changed files
with
553 additions
and
646 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.