intel / intel/DTO

DTO run with Nginx, dto only run 10ms and dto destructor function cleanup_dto executed, this cause DSA unmap and close wq portal.

Open
#5 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
45
Forks
13
PR merge metrics
No merged PRs in 30d

Description

1 Run Nginx separately, it works fine:
![image](https://github.com/intel/DTO/assets/17918455/c0000a6d-d9a1-4610-94f4-bccfb955f500)
![image](https://github.com/intel/DTO/assets/17918455/cce42694-7bef-472c-8138-be5443424101)

2 Run DTO with Nginx,
2.1 Configure DTO:
➜ DTO git:(main) ✗ accel-config disable-device dsa0
accel-config disable-device dsa2
accel-config disable-device dsa4
accel-config disable-device dsa6

accel-config load-config -c ./dto-4-dsa.conf

accel-config enable-device dsa0
accel-config enable-device dsa2
accel-config enable-device dsa4
accel-config enable-device dsa6

accel-config enable-wq dsa0/wq0.0
accel-config enable-wq dsa2/wq2.0
accel-config enable-wq dsa4/wq4.0
accel-config enable-wq dsa6/wq6.0

export DTO_USESTDC_CALLS=0
export DTO_COLLECT_STATS=1
export DTO_WAIT_METHOD=yield
export DTO_MIN_BYTES=4096
export DTO_CPU_SIZE_FRACTION=0.33
export DTO_AUTO_ADJUST_KNOBS=1
disabled 1 device(s) out of 1
disabled 1 device(s) out of 1
dsa4 device not found
disabled 0 device(s) out of 1
dsa6 device not found
disabled 0 device(s) out of 1
device is not available
Parse json and set device fail: -1
enabled 1 device(s) out of 1
enabled 1 device(s) out of 1
dsa4 device not found
enabled 0 device(s) out of 1
dsa6 device not found
enabled 0 device(s) out of 1
enabled 1 wq(s) out of 1
enabled 1 wq(s) out of 1
dsa4 device not found
enabled 0 wq(s) out of 1
dsa6 device not found
enabled 0 wq(s) out of 1

2.2 Run DTO with Nginx:
![image](https://github.com/intel/DTO/assets/17918455/0d83f22a-c87c-4b3c-a899-f077942783e7)

3 Expect: when Nginx keep running, dto need keep running too.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.