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

DTO run with Redis server, cause Redis client connect failure issue. #6

Open
wllw210 opened this issue Nov 23, 2023 · 1 comment
Open

Comments

@wllw210
Copy link

wllw210 commented Nov 23, 2023

1 Run Redis server separately, it works fine:
image
image

2 Configure and set 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
dsa0 is in disabled state already, skipping...
failed in dsa0
disabled 0 device(s) out of 1
dsa2 is in disabled state already, skipping...
failed in dsa2
disabled 0 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

3 Run DTO with Redis server, got "Writing to socket: Connection refused" error:
image
image

4 Expect: DTO run with Redis server, its client can works fine.

@skuma24
Copy link
Contributor

skuma24 commented Feb 27, 2024

I am not able to reproduce this issue. This scenario is working fine on my system (Fedora 37). Can you please try to reproduce this issue with latest DTO?

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

No branches or pull requests

2 participants