-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Making sure event number reported in Sync is close to what is being sent in the data plane (regardless of whether sequential, user-specified or usec event numbers are used) - Added ability to optionally use usec since UNIX Epoch as event numbers in LB header and Sync packets (while still using user-specified or sequential in RE header) - Added entropy test for system clock to make sure last 8 lsb of microsecond timestamps are sufficiently random - Added ability to further randomize the timestamps if entropy not sufficient - Various fixes - snifgen listening filter fix
- Loading branch information
Showing
14 changed files
with
214 additions
and
35 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
Submodule docs
updated
43 files
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -111,16 +111,8 @@ | |
"open_ports = {\n", | ||
"}\n", | ||
"\n", | ||
"# additional accounts and their public keys - they get sudo rights and docker,\n", | ||
"# their public keys are expected to reside under ssh-keys/ in a file\n", | ||
"# named after the account.\n", | ||
"# The list has the form of ['user1', 'user2'] where user1 and user2 accounts\n", | ||
"# will be created on the system. Under ssh-keys/ there should be two files\n", | ||
"# named 'user1' and 'user2' each containing the SSH public key for that user. \n", | ||
"accounts = []\n", | ||
"\n", | ||
"# url of e2sar deps. Find the appropriate version for the OS at https://github.com/JeffersonLab/E2SAR/releases\n", | ||
"e2sar_branch = \"e2sar-perf-with-cp\"\n", | ||
"e2sar_branch = \"main\"\n", | ||
"static_release_url = 'https://github.com/JeffersonLab/E2SAR/releases/download/' # don't need to change this\n", | ||
"e2sar_dep_artifcat = 'e2sar-deps_0.1.1_amd64.deb'\n", | ||
"e2sar_release_ver = 'E2SAR-0.1.1'\n", | ||
|
@@ -920,11 +912,11 @@ | |
"# for e2sar_perf only the data= part of the query is meaningful. sync= must be present but is ignored\n", | ||
"# same for gRPC token, address and port (and lb id)\n", | ||
"e2sarPerfURI = f\"ejfat://[email protected]:1234/lb/1?data={recver_addr}&sync=192.168.77.7:1234\"\n", | ||
"recverDuration = 20\n", | ||
"recverDuration = 40\n", | ||
"mtu = 9000\n", | ||
"rate = 15 # Gbps\n", | ||
"length = 1000000 # event length in bytes\n", | ||
"numEvents = 10000 # number of events to send\n", | ||
"numEvents = 20000 # number of events to send\n", | ||
"bufSize = 300 * 1024 * 1024 # 100MB send and receive buffers\n", | ||
"\n", | ||
"recv_command = f\"cd E2SAR; PATH=$HOME/.local/bin:/usr/local/bin:$PATH LD_LIBRARY_PATH=/usr/local/lib/ ./build/bin/e2sar_perf -r -u '{e2sarPerfURI}' -d {recverDuration} -b {bufSize} --ip {recver_addr} --port 19522\"\n", | ||
|
@@ -1143,7 +1135,10 @@ | |
"# Given that in FABRIC ejfat-lb.es.net resolves to IP6 first and gRPC C++ library doesn't\n", | ||
"# offer granular control over which resolved address is used, we use -4 option to tell the\n", | ||
"# code to use the IPv4 address, but this also disables cert validation.\n", | ||
"send_command = f\"{e2sar_perf} -s -u '{instance_uri}' --mtu {mtu} --rate {rate} --length {length} -n {numEvents} -b {bufSize} --ip {sender_addr} --sockets {numSocks} --withcp -4\"\n", | ||
"# Sender options of interest:\n", | ||
"# -z - send 0 event rate in Sync messages\n", | ||
"# --usec - use usec-precision timestamp as event numbers in Sync and LB messages \n", | ||
"send_command = f\"{e2sar_perf} -s -u '{instance_uri}' --mtu {mtu} --rate {rate} --length {length} -n {numEvents} -b {bufSize} --ip {sender_addr} --sockets {numSocks} --withcp -4 --usec\"\n", | ||
"\n", | ||
"for recver, recver_addr in zip(recvers, recver_addrs):\n", | ||
" recv_command = f\"{e2sar_perf} -r -u '{instance_uri}' -d {recverDuration} -b {bufSize} --ip {recver_addr} --port {startPort} --withcp -4 --threads {recvThreads}\"\n", | ||
|
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.