dnsproxy icon indicating copy to clipboard operation
dnsproxy copied to clipboard

Limit to around 26k request per second

Open miladtempaccount opened this issue 1 year ago • 1 comments

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 avatar Nov 26 '24 08:11 miladtempaccount

./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

miladtempaccount avatar Nov 26 '24 08:11 miladtempaccount