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

[PATCH v4] test: queue_perf: add new test modes #2136

Merged
merged 2 commits into from
Nov 1, 2024

Conversation

MatiasElo
Copy link
Collaborator

@MatiasElo MatiasElo commented Oct 23, 2024

Add new option ('-p') for using private queues per worker. In private queue mode each worker thread operates on separate queues which can improve performance scaling.

V2:

  • Added new queue pair test mode

@odpbuild odpbuild changed the title test: queue_perf: add option for using private queues [PATCH v1] test: queue_perf: add option for using private queues Oct 23, 2024
@odpbuild odpbuild changed the title [PATCH v1] test: queue_perf: add option for using private queues [PATCH v2] test: queue_perf: add option for using private queues Oct 30, 2024
@MatiasElo MatiasElo changed the title [PATCH v2] test: queue_perf: add option for using private queues [PATCH v2] test: queue_perf: add new test modes Oct 30, 2024
test/performance/odp_queue_perf.c Outdated Show resolved Hide resolved
test/performance/odp_queue_perf.c Show resolved Hide resolved
test/performance/odp_queue_perf.c Outdated Show resolved Hide resolved
test/performance/odp_queue_perf.c Outdated Show resolved Hide resolved
test/performance/odp_queue_perf.c Outdated Show resolved Hide resolved
test/performance/odp_queue_perf.c Show resolved Hide resolved
test/performance/odp_queue_perf.c Outdated Show resolved Hide resolved
@odpbuild odpbuild changed the title [PATCH v2] test: queue_perf: add new test modes [PATCH v3] test: queue_perf: add new test modes Oct 31, 2024
Add new option ('-p') for using private queues per worker. In private queue
mode each worker thread operates on separate queues which can improve
performance scaling.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Add pair test mode where events are moved between queue pairs connecting
two or more workers. This mode requires an even number of both queues and
workers. The pair test mode can be enabled with new '-m, --mode <arg>'
command line option.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
@odpbuild odpbuild changed the title [PATCH v3] test: queue_perf: add new test modes [PATCH v4] test: queue_perf: add new test modes Nov 1, 2024
@MatiasElo MatiasElo enabled auto-merge (rebase) November 1, 2024 10:45
@MatiasElo MatiasElo merged commit 6aa0ab7 into OpenDataPlane:master Nov 1, 2024
162 checks passed
@MatiasElo MatiasElo deleted the dev/queue_perf branch November 1, 2024 11:22
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.

2 participants