Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VTP Emulator Program #11

Open
faustus123 opened this issue Oct 25, 2023 · 1 comment
Open

VTP Emulator Program #11

faustus123 opened this issue Oct 25, 2023 · 1 comment
Milestone

Comments

@faustus123
Copy link
Contributor

faustus123 commented Oct 25, 2023

Create a program that can act as a software VTP data source. It should be able to write data to a socket (TCP or UDP) at high speed. It should be configurable so that the data can originate from any of a number sources :

  1. Random data generated within the program. This can be created by simply allocating a buffer and passing its contents without initialization. It may also come from filling the buffer with numbers from a random number generator. (n.b. if a random number generator is used, it should only be done once at the beginning of program execution!)

  2. Data read from an arbitrary file. In this case, it would exercise reading from a file, but not actually trying to interpret the format.

  3. Read from a VTP generated file so that the data format can be used downstream as though it came directly from a VTP.

In all cases it should have the ability to adjust the output data rate and the burstiness of the data.

It should also have the ability to be controlled by an external orchestrator so that it may be synchronized with other instances of the program. (See milestone M08.)

@faustus123 faustus123 added this to the M07 milestone Oct 25, 2023
@AyanRoy16
Copy link
Collaborator

Update: This is associated with VTP emulator synchronizer program. Currently we have scripts being executed in 2 ejfat machines that start sending existing pcap files (captured from CLAS12 detector in December 2023) to ejfat-fs when called by an external synchronizer program residing in a different remote (ejfat) machine.
What needs to be done is to design the stream splitter and let the current script (VTP emulator) to send the data received from the stream splitter rather than the pcap files which is currently being sent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants