Skip to content

Commit

Permalink
qat-dpdk-app: drop generic
Browse files Browse the repository at this point in the history
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
  • Loading branch information
hj-johannes-lee committed Apr 10, 2024
1 parent de1f592 commit 9002066
Show file tree
Hide file tree
Showing 16 changed files with 41 additions and 130 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
configMapGenerator:
- files:
- file.txt
name: test-data

kind: Pod
apiVersion: v1
metadata:
Expand All @@ -7,8 +12,8 @@ spec:
- name: crypto-perf
image: intel/crypto-perf:devel
imagePullPolicy: IfNotPresent
command: [ "/bin/bash", "-c", "--" ]
args: [ "while true; do sleep 300000; done;" ]
command: [ "/bin/bash", "-c", "/usr/bin/run-dpdk-test" ]
args: [ "--ptest throughput --devtype crypto_qat --optype cipher-only --cipher-algo aes-cbc --cipher-op encrypt --cipher-key-sz 16 --total-ops 10000000 --burst-sz 32 --buffer-sz 64" ]
volumeMounts:
- mountPath: /dev/hugepages
name: hugepage
Expand All @@ -18,12 +23,41 @@ spec:
requests:
cpu: "3"
memory: "128Mi"
qat.intel.com/generic: '4'
qat.intel.com/cy: '4'
hugepages-2Mi: "128Mi"
limits:
cpu: "3"
memory: "128Mi"
qat.intel.com/generic: '4'
qat.intel.com/cy: '4'
hugepages-2Mi: "128Mi"
securityContext:
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
capabilities:
add:
["IPC_LOCK"]
- name: compress-perf
image: intel/crypto-perf:devel
imagePullPolicy: IfNotPresent
command: [ "/bin/bash", "-c", "/usr/bin/run-dpdk-test" ]
args: [ "--driver-name compress_qat --input-file /var/data/file.txt --seg-sz 8192 --compress-level 1:1:9 --num-iter 10 --extended-input-sz 1048576 --max-num-sgl-segs 16 --huffman-enc fixed" ]
volumeMounts:
- mountPath: /dev/hugepages
name: hugepage
- mountPath: /var/run/dpdk
name: dpdk-runtime
- mountPath: /var/data/
name: testfile
resources:
requests:
cpu: "3"
memory: "128Mi"
qat.intel.com/dc: '4'
hugepages-2Mi: "128Mi"
limits:
cpu: "3"
memory: "128Mi"
qat.intel.com/dc: '4'
hugepages-2Mi: "128Mi"
securityContext:
readOnlyRootFilesystem: true
Expand All @@ -39,3 +73,6 @@ spec:
- name: hugepage
emptyDir:
medium: HugePages
- name: testfile
configMap:
name: test-data
File renamed without changes.

This file was deleted.

12 changes: 0 additions & 12 deletions deployments/qat_dpdk_app/patches/compress-perf/kustomization.yaml

This file was deleted.

This file was deleted.

This file was deleted.

11 changes: 0 additions & 11 deletions deployments/qat_dpdk_app/patches/crypto-perf/kustomization.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions deployments/qat_dpdk_app/patches/crypto-perf/test.json

This file was deleted.

This file was deleted.

11 changes: 0 additions & 11 deletions deployments/qat_dpdk_app/patches/dpdk-test/kustomization.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions deployments/qat_dpdk_app/test-compress1/kustomization.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions deployments/qat_dpdk_app/test-compress1/tc1.json

This file was deleted.

9 changes: 0 additions & 9 deletions deployments/qat_dpdk_app/test-crypto1-gen4/kustomization.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions deployments/qat_dpdk_app/test-crypto1-gen4/tc1-gen4.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions deployments/qat_dpdk_app/test-crypto1/kustomization.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions deployments/qat_dpdk_app/test-crypto1/tc1.json

This file was deleted.

0 comments on commit 9002066

Please sign in to comment.