-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generalized test structure and added multi-q test
Signed-off-by: Cliff Burdick <[email protected]>
- Loading branch information
1 parent
4038dc4
commit 7dee702
Showing
4 changed files
with
289 additions
and
62 deletions.
There are no files selected for viewing
96 changes: 96 additions & 0 deletions
96
applications/adv_networking_bench/adv_networking_bench_default_rx_multi_q.yaml
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 |
---|---|---|
@@ -0,0 +1,96 @@ | ||
%YAML 1.2 | ||
# SPDX-FileCopyrightText: Copyright (c) 2022-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
--- | ||
multithreaded: true | ||
num_delay_ops: 32 | ||
delay: 0.1 | ||
delay_step: 0.01 | ||
|
||
scheduler: | ||
check_recession_period_ms: 0 | ||
worker_thread_number: 5 | ||
stop_on_deadlock: true | ||
stop_on_deadlock_timeout: 500 | ||
# max_duration_ms: 20000 | ||
|
||
advanced_network: | ||
cfg: | ||
version: 1 | ||
manager: "dpdk" | ||
master_core: 3 | ||
debug: false | ||
log_level: "info" | ||
|
||
memory_regions: | ||
- name: "Data_RX_GPU" | ||
kind: "device" | ||
affinity: 0 | ||
access: | ||
- local | ||
num_bufs: 51200 | ||
buf_size: 9000 | ||
- name: "Data_RX_GPU2" | ||
kind: "device" | ||
affinity: 0 | ||
access: | ||
- local | ||
num_bufs: 51200 | ||
buf_size: 9000 | ||
|
||
interfaces: | ||
- name: data2 | ||
address: <0000:00:00.0> # The BUS address of the interface doing Rx | ||
flow_isolation: true | ||
rx: | ||
- queues: | ||
- name: "Data" | ||
id: 0 | ||
cpu_core: 9 | ||
batch_size: 10240 | ||
output_port: "bench_rx_out" | ||
memory_regions: | ||
- "Data_RX_GPU" | ||
- name: "Data" | ||
id: 1 | ||
cpu_core: 9 | ||
batch_size: 10240 | ||
output_port: "bench_rx_out" | ||
memory_regions: | ||
- "Data_RX_GPU2" | ||
flows: | ||
- name: "ADC Samples" | ||
id: 0 | ||
action: | ||
type: queue | ||
id: 0 | ||
match: | ||
udp_src: 4096 #12288 | ||
udp_dst: 4096 #12288 | ||
- name: "ADC Samples" | ||
id: 1 | ||
action: | ||
type: queue | ||
id: 1 | ||
match: | ||
udp_src: 4095 #12288 | ||
udp_dst: 4095 #12288 | ||
|
||
bench_rx: | ||
gpu_direct: true # Set to true if using a GPU region for the Rx queues. | ||
split_boundary: false # Whether header and data is split (Header to CPU) | ||
batch_size: 10240 | ||
max_packet_size: 1064 | ||
header_size: 64 |
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.