This repository was archived by the owner on Mar 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
ACA task framework refactoring #275
Merged
lfu-ps
merged 144 commits into
futurewei-cloud:master
from
zzxgzgz:marl_fully_async_packet_in
Jan 27, 2022
Merged
Changes from all commits
Commits
Show all changes
144 commits
Select commit
Hold shift + click to select a range
312ac44
Changed ACA's openflow version from 1.3 to 1.0
zzxgzgz 2a06e33
Added tunnel_id printout, and commented out some unused code
zzxgzgz 3e2855d
Try to make packet out to the bridge based on the of_connection_id
zzxgzgz 3b9185c
Changed more code to let packet out based on of_connection_i
zzxgzgz 329132c
Changed implementation for adding/removing switches in of_controller,…
zzxgzgz a6b7697
Try to make on-demand packet_out based on the connection_id, rather t…
zzxgzgz 75cc958
Added logs, in order to investigate why ofconnection dropped
zzxgzgz 1964af9
Suspect removing switches with empty name causes the problem
zzxgzgz 5d27e89
Modifed arp_responder to avoid calling NCM
zzxgzgz 28ff285
Added local map lookup
zzxgzgz 7dea624
Initiate marl integration for packet-in stress testing
lfu-ps bccd5f5
Move libfluid packet-in parsing also to async scheduler, to release m…
lfu-ps 42716a1
Break parse ARP job
lfu-ps ec1a842
Test setting specific worker thread number
lfu-ps 1c6659f
Do not break parse job but set specific worker size
lfu-ps 2664956
Try to make atomic counter for packet_in
zzxgzgz dbdfcef
Try to make atomic counter for packet_in
zzxgzgz da761c3
Try to make atomic counter for packet_in
zzxgzgz 72a5d46
Try to make atomic counter for packet_in
zzxgzgz 416b3dc
Try to make atomic counter for packet_in
zzxgzgz 5c4c36c
Try to make atomic counter for packet_in
zzxgzgz 8241bff
Added sleep 100 us in marl code when packet in
zzxgzgz 975df7d
Added packet_out_counter, also made the counters global
zzxgzgz a4d7e36
Added packet_out_counter, also made the counters global
zzxgzgz 636fbf8
Print out both counters every 1 second
zzxgzgz 89b634d
Commented out arp_recv and see if the bottleneck is in the on-demand …
zzxgzgz 5ee0437
Changed packet_out_counter++ to the start of parse_packet, then retur…
zzxgzgz 777bec9
Changed packet_out_counter++ to the start of parse_packet, then retur…
zzxgzgz ec1a2a7
Change it to right inside the arp ether type
zzxgzgz 6d1bcfc
Change it to before arp ether type
zzxgzgz 393050f
Change it to before vlan ether type
zzxgzgz 5072919
Change it to before
zzxgzgz f78c751
Commented out ACA_LOG_INFOs on the packet_in to packet_out path
zzxgzgz 262a54d
Confirm on_demand_engine is already fast
zzxgzgz c8adc01
Put the count into the arp_recv
zzxgzgz 0e68150
Put the count into the arp_recv
zzxgzgz ba1a2db
Added fmt library and sample fmt code
zzxgzgz 8d67fe2
Set counter before sprintf to get a baseline for comparison
zzxgzgz 093d563
Set counter before sprintf to get a baseline for comparison
zzxgzgz d1542cd
Set counter before sprintf to get a baseline for comparison
zzxgzgz 4ccc709
Set counter after 5 sprintf and string.append
zzxgzgz 1e4f944
Set counter after 5 sprintf and string.append
zzxgzgz d7b0574
set counter after for loops
zzxgzgz 64c4626
set counter after if statement
zzxgzgz 65f8f23
set counter before return
zzxgzgz 55347bc
_serialize_arp_message isn't a bottleneck?
zzxgzgz 4b633b2
have to do it again with 4 switches in cbench
zzxgzgz ab932a2
after first five sprintf and string.append
zzxgzgz 1cf9a3a
after for loops
zzxgzgz 4c96380
before return
zzxgzgz 2926e15
Try to rewrite _serialize_arp_message with fmt code
zzxgzgz 411a4f2
try to call condense format_to to fewer ones
zzxgzgz b313280
comment out append to see if it takes a lot of time
zzxgzgz 2e47718
Try to use FMT_COMPILE when calling format_to
zzxgzgz cc50820
do test with fmt
zzxgzgz 4bce071
Check qps before packet out
zzxgzgz 84fe31b
let packet out go and test again
zzxgzgz f5b3802
Comment out time recording and test again
zzxgzgz 28e4894
put counter before is_found
zzxgzgz f9ddf46
put counter at the beginning of packet_out
zzxgzgz 94d8e3d
add packet out counter to packet out
zzxgzgz 6e5b596
place counter in ofcontroller::packet_out
zzxgzgz 6af4b6d
place counter in create_packet_out
zzxgzgz a76e587
place counter in create_packet_out
zzxgzgz 4a55014
place counter in create_packet_out
zzxgzgz 9f95413
place counter in create_packet_out
zzxgzgz a80bb80
place counter in create_packet_out
zzxgzgz b57e463
place counter in create_packet_out
zzxgzgz 20d4fed
place counter in create_packet_out
zzxgzgz 1b7ff1c
place counter in create_packet_out
zzxgzgz 51f3ec9
place counter in create_packet_out
zzxgzgz 86e5cd5
testing without std::move
zzxgzgz 5e6f6e1
testing without std::move
zzxgzgz dd54552
remove lock
zzxgzgz e08c8dc
put counter after create_packet_out
zzxgzgz e20248e
put counter after send_packet_out
zzxgzgz 1b99814
use marl to send packet out
zzxgzgz 246fcf7
added marl code to BaseOFConnection::send
zzxgzgz 962298f
Disabled marl scheduling for OFConnection
zzxgzgz 7b16f17
try to send flow_mod when receiving a packet_in
zzxgzgz 423e74e
enabled send packet out again, and test if cbench's OFPT_VENDOR shoul…
zzxgzgz c9fef85
use marl to send flow_mod
zzxgzgz a0c27ff
test parse_packet with marl
zzxgzgz a58dff7
Bring back gRPC client/server for testing
zzxgzgz a9f5dca
Reverted OF version from 1.0 to 1.3
zzxgzgz a7b5396
comment out set ports' vlan tag for testing
zzxgzgz 6e9a984
bring back adding getting ovs connections with bridge name
zzxgzgz 98fb35f
added logs to investigate why no ovs flows are set up
zzxgzgz e414c58
modified of message version
zzxgzgz 6056a5e
commented out logs and time calculations to speed up the gs processing
zzxgzgz 5afb161
Try to use marl to update neighbor states
zzxgzgz 9028989
Try to use marl to manage the whole gRPC server, so that update neigh…
zzxgzgz 0db49e6
Added waitGroup.wait()
zzxgzgz 2ed23b6
Check what should be the size of the wait group
zzxgzgz 49943d6
Check what should be the size of the wait group
zzxgzgz 03fee9f
Check what should be the size of the wait group
zzxgzgz d35190c
Check what should be the size of the wait group
zzxgzgz 24f9634
Check what should be the size of the wait group
zzxgzgz f28c5d0
Check what should be the size of the wait group
zzxgzgz dc8536b
Check what should be the size of the wait group
zzxgzgz 0fdfe1d
Check what should be the size of the wait group
zzxgzgz 0fd2440
Check what should be the size of the wait group
zzxgzgz f2832fd
Check what should be the size of the wait group
zzxgzgz d70af88
Check what should be the size of the wait group
zzxgzgz 3ce3242
Check what should be the size of the wait group
zzxgzgz 80947e1
Use neighbor_count as waitGroup count; also changed back to for each …
zzxgzgz 5d2a30a
try not to use defer()
zzxgzgz b0bc9be
add one in waitgroup when iter through 1 neighbor
zzxgzgz 7c33069
Try to use barrier request/reply to check neighbor procecssing time
zzxgzgz d8fa338
added endl to printout
zzxgzgz e36b80a
Try to send barrier request at the 950k th neighbor creation
zzxgzgz 0013e0d
Changed to send barrier request at the 970k th neighbor creation
zzxgzgz b03c611
try to use marl to furthur schedule create l2 neighbor
zzxgzgz 591038b
try to use marl to schedule execute_openflow when create_l2_neighbor
zzxgzgz 1ee51e5
comment out duplicated part
zzxgzgz 438f008
comment out duplicated part
zzxgzgz b9afb78
comment out extra code
zzxgzgz c918bfd
revert back changes
zzxgzgz 7711148
enable counter again
zzxgzgz 49d03df
put second counter after assert revision number
zzxgzgz 14c94e9
put second counter after invalid argument checks
zzxgzgz e9dd31e
increment first counter before marl schedule
zzxgzgz ba6aeb6
put second counter at the beginning of update_neighbor_state_workitem
zzxgzgz bf2ceb5
Improve performance by reducing unnecessary syslogs
lfu-ps 62f38b0
Use marl::schedule to process netowrk resource states
zzxgzgz 889e0f1
Merge branch 'marl_fully_async_packet_in' of https://github.com/zzxgz…
zzxgzgz c49986c
added waitgroup to marl::schedule
zzxgzgz 8dbd687
added marl::schedule to on-demand engine
zzxgzgz e1b50bb
bring back original _parse_arp_request, in order to test with NCM
zzxgzgz 4f27854
add changes from #272
zzxgzgz 713067c
Reverted ACA_ARP_Responder::_serialize_arp_message
zzxgzgz a01b0df
try to merge from master
zzxgzgz b1fa8cb
Cleaned up code
zzxgzgz 24ba862
Cleaned up more code
zzxgzgz 2952ffe
Changed multiple logs from INFO to DEBUG
zzxgzgz 3186ac0
Add marl dependencies in cmake as well as machine init script
lfu-ps 0232067
Fix marl dependency location in test cmake
lfu-ps f8dcae1
Fix docker file marl dependency
lfu-ps 3318ad7
Fix spaces
lfu-ps 24bc813
removed fmt library related code
zzxgzgz c054ff5
corrected comment about OpenFlow Version
zzxgzgz 5b59700
Tried to fix the memory leak
zzxgzgz 0b87417
fixed blank lines and identation
zzxgzgz bbc5271
Always restart AlcorControlAgent with new build, and set default debu…
lfu-ps File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Submodule alcor
updated
1508 files
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made the worker thread count to be
thread_pool_size * 2, instead of a fixed number.