-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refs #22: Implement continuous batches and skeleton for VectorElement.
* "Continuous batches" - Assumption: reordering inside a batch does not incur perf.overheads in higher-layer applications (e.g., TCP). - We move excluded packets to the end of batches by swapping them with the tail packets. This way, we can eliminate checks for "excluded" on iteration over packet batches everywhere! - This change improves the performance a little bit: 5.7 Gbps => 5.9 Gbps for a single-core IPv4 64 B packets forwarding 63 Gbps => 64 Gbps for a dual-node IPv4 64 B packets forwarding * Applied changes of output port selection API to IPv6/IPsec elements as well. * Implemented a (non-vectorized) version of VectorElement loop.
- Loading branch information
Showing
18 changed files
with
241 additions
and
110 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
FromInput -> lv1_head :: RandomWeightedBranch({0}, {1}); | ||
lv1_head[0] -> L2Forward(method {2}) -> ToOutput(); | ||
lv1_head[1] -> L2Forward(method {2}) -> ToOutput(); | ||
//FromInput -> lv1_head :: RandomWeightedBranch({0}, {1}); | ||
//lv1_head[0] -> L2Forward(method {2}) -> ToOutput(); | ||
//lv1_head[1] -> L2Forward(method {2}) -> ToOutput(); | ||
FromInput -> lv1_head :: RandomWeightedBranch(0.3, 0.7); | ||
lv1_head[0] -> L2Forward(method echoback) -> ToOutput(); | ||
lv1_head[1] -> L2Forward(method echoback) -> ToOutput(); |
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
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
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.