You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using CoreDNS v1.12.0 on an 8 core server with 32GB memory, I am getting poor QPS performance with UDP even when setting GOMAXPROCS=8 , the QPS at 90% CHR isn’t exceeding 2000 QPS with UDP. Multi socket has been set to be 4. Note its important for me to scale out vertically using a single CoreDNS instance due to some custom plugin that will be used later. I am not hitting any upstream limitation as I am directly forwarding to an upstream that can do 15K QPS at the same 90% CHR. So, its not an upstream limitation.
Corefile:
.:5353 {
bufsize 4096
multisocket 4
cache {
# cache specific configurations
success 1000
denial 200
prefetch 5 1m
}
# Forward all queries to an upstream resolver
forward . X.X.X.X:1153 {
max_concurrent 100000
policy round_robin
prefer_udp
}
}
For a quick test, can you see what you get with near 100% CHR? That's a quick way to narrow down the issue.
You'll need to figure out if you are CPU or network bound, or if neither, it's likely some internal concurrency management issue.
Take a look at the testing @Shmillerov and others did during development of the multi-socket plugin. Look at this PR and dig through the links to see their techniques and tools.
With 100% CHR I can get around 15k-20k qps. The weird thing is that I am using an upstream as forwarder that is capable to do 2000 qps at 90% CHR. Not sure why I am stuck at 2000 qps given upstream is scaling and I am able to reach 15k-20k qps with 100% CHR.
@SuperQ , appreciate letting me know what kind of data would be useful to upload ?
Hello Experts,
I am using CoreDNS v1.12.0 on an 8 core server with 32GB memory, I am getting poor QPS performance with UDP even when setting GOMAXPROCS=8 , the QPS at 90% CHR isn’t exceeding 2000 QPS with UDP. Multi socket has been set to be 4. Note its important for me to scale out vertically using a single CoreDNS instance due to some custom plugin that will be used later. I am not hitting any upstream limitation as I am directly forwarding to an upstream that can do 15K QPS at the same 90% CHR. So, its not an upstream limitation.
Corefile:
I am using minimal packages:
Any tips or guidance will be greatly appreciated.
Regards,
Hexen
The text was updated successfully, but these errors were encountered: