Repository navigation
Add rank examples LAS and EDF, with SP-PIFO and AIFO next to the PIFO (re-land of #124) - #125
Merged
Merged
Conversation
p4-pifo-las and p4-pifo-edf build their network four times in one simulation, with the same traffic, and serve the ranks of the P4 program in four ways: a FIFO, SP-PIFO on the eight priority queues, AIFO on one FIFO, and ns3::P4PifoScheduler. - las.p4: least attained service; the rank is the bytes that the packet's TCP flow sent through the switch before it (AIFO's drops do not count). Short TCP flows pass two long ones; the example prints their completion times. - edf.p4: earliest deadline first; the rank is the arrival time plus the deadline of the packet's class, and the egress counts the late packets per class. - pifo_approx/sp_pifo.p4 and aifo.p4: SP-PIFO (NSDI 2020) and AIFO (SIGCOMM 2021) as P4 controls that a program applies once it knows the rank and the egress port. - examples/pifo-example.h: the network, the Poisson source and the register access, also used by p4-pifo-stfq now (its output is unchanged). - Docs: examples.md (rows, results, references), switch.md, README, TODO.md; the test list runs both examples. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
#124 was merged into
feat/pifo, not intomain: #123 merged 11 seconds earlier, and #124's base was stillfeat/pifo. So the LAS and EDF examples (commit 15cdecb) are not onmain. This PR brings that same commit tomain.What changes
Nothing new. The head is the commit that #124 merged, 15cdecb, unchanged. It merges into
mainwithout conflicts, and the merged tree equals 15cdecb's tree (mainholds exactly #123, 15cdecb's parent).For the content (
p4-pifo-las,p4-pifo-edf, the SP-PIFO and AIFO P4 controls,examples/pifo-example.h, docs), see #124.Scope
git merge-treeconfirms the clean merge and the identical tree.feat/pifonow holds #124's merge commit as well; it can be deleted once this PR is merged.🤖 Generated with Claude Code