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

Improve latency tests #663

Merged
merged 3 commits into from
Jan 7, 2025
Merged

Improve latency tests #663

merged 3 commits into from
Jan 7, 2025

Conversation

Revalioli
Copy link
Contributor

  • Run latency test for 5H
  • Save only the latency of the first SV of each 4000 iteration as a temporary workaround due to current memory limitations

@dupremathieu
Copy link
Member

In this case, you can just create the branch to run the CI in the action tab. No need to create the PR.

@Revalioli Revalioli force-pushed the improve-latency-tests branch 4 times, most recently from 682bb75 to 43f897b Compare January 3, 2025 13:47
@Revalioli Revalioli changed the base branch from debiancentos to main January 3, 2025 13:55
@Revalioli Revalioli force-pushed the improve-latency-tests branch 7 times, most recently from d2f0ba0 to 0d54b8f Compare January 7, 2025 13:20
The CI latency test uses sv_timestamp_analysis which currently only
generates a report with the latency results for SV stream 0.
Due to this current limitation, and the fact that sv_timestamp_analysis
cannot yet efficiently process large amounts of data, record timestamps
only for SV stream 0.

That way, it will be possible with a future commit to run longer
latency tests without having memory problems during recording
and result analysis.

Signed-off-by: Elinor Montmasson <elinor.montmasson@savoirfairelinux.com>
@Revalioli Revalioli force-pushed the improve-latency-tests branch 2 times, most recently from 556013e to 1f215d4 Compare January 7, 2025 14:09
Increase latency test duration from 10 seconds to 15 minutes to get
more relevant results during weekly CI runs. The environment variable
PCAP_LOOP is used for that.
To do so, create a reusable workflow "pcap_loop" input for ci-yocto.yml
which defaults to 60 (1 min) if not specified.

Also set the latency duration to 1 min for other CI contexts, such as
when the action is triggered by a PR.
That way it won't block the CI too much during development.
A ternary operator is used to conditionally set PCAP_LOOP.

Signed-off-by: Elinor Montmasson <elinor.montmasson@savoirfairelinux.com>
Add the use of the optional variable bittwist_cpu to set the affinity of
the bittwist process. It can be needed to obtain correct scheduling for
SV sending.

Signed-off-by: Elinor Montmasson <elinor.montmasson@savoirfairelinux.com>
@Revalioli Revalioli force-pushed the improve-latency-tests branch 2 times, most recently from 5de0881 to 67e8581 Compare January 7, 2025 15:03
@Revalioli Revalioli marked this pull request as ready for review January 7, 2025 15:05
@Revalioli Revalioli merged commit 9cb6e7b into main Jan 7, 2025
3 checks passed
@Revalioli Revalioli deleted the improve-latency-tests branch January 7, 2025 16:17
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

Successfully merging this pull request may close these issues.

3 participants