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

Limit to around 26k request per second #427

Open
miladtempaccount opened this issue Nov 26, 2024 · 1 comment
Open

Limit to around 26k request per second #427

miladtempaccount opened this issue Nov 26, 2024 · 1 comment

Comments

@miladtempaccount
Copy link

As far as I'm checking with Adguard, somehow it won't go higher than 26K request per second, I think the problem is in dnsproxy
Can you please help me to fix it ? 50K would be ok for me

@miladtempaccount
Copy link
Author

./dnsproxy -l 127.0.0.1 -p 5355 -u 127.0.0.1:5353 --max-go-routines=1000000

root@cr-srv-st:~/test1# dnsperf -s 127.0.0.1 -p 5355 -c 1 -d test/query.txt -n 10
DNS Performance Testing Tool
Version 2.14.0

[Status] Command line: dnsperf -s 127.0.0.1 -p 5355 -c 1 -d test/query.txt -n 10
[Status] Sending queries (to 127.0.0.1:5355)
[Status] Started at: Tue Nov 26 08:51:25 2024
[Status] Stopping after 10 runs through file
[Status] Testing complete (end of file)

Statistics:

Queries sent: 70200
Queries completed: 70200 (100.00%)
Queries lost: 0 (0.00%)

Response codes: NOERROR 70200 (100.00%)
Average packet size: request 27, response 43
Run time (s): 2.805360
Queries per second: 25023.526392

Average Latency (s): 0.003816 (min 0.000183, max 0.028328)
Latency StdDev (s): 0.002333

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

1 participant