How can I config multithreading? #1134
-
Some doubts about the parameters for setting the number of threads.
1, How many threads ss-server uses by default? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is why I'm convinced that this option shouldn't have existed at all. We have seen more than a few times, that people with zero understanding of coroutines or scheduling are getting confused by this option and tend to misconfigure it. To answer your question:
|
Beta Was this translation helpful? Give feedback.
This is why I'm convinced that this option shouldn't have existed at all. We have seen more than a few times, that people with zero understanding of coroutines or scheduling are getting confused by this option and tend to misconfigure it.
To answer your question:
trust-dns
feature enabled, the number of tokio's worker threads equals the number of CPU threads on your system.servers
array in config to define multiple servers for a singlessserver
instance to run, because userspace coroutine scheduling is much more efficient than kernel thread scheduling.