为什么要默认关闭它呢? @madeye @Mygod
开启了它以便启用多实例是否对多核设备具有更佳的性能(均衡负载?)?
FYI #1172
@pexcn Have I answer your question? If so, maybe you wish to close this issue.
@kimw 在多核心设备上有没有必要启用它呢?
Of cause you should open it, if you want to maximize the performance as instantiate up to core_count + 1. For example, you can run 3 ss-server --reuse-port ... instances while your server box has 2 cores.
BUT, it's not necessary except the server side serves hundreds of users.
原来如此,但为什么是实例数 = 核心数 + 1?不是应该是 = 核心数吗?
In short, it's depending on experience, or you should say statistics.
A little bit long story - As you known, an instance will not run at top all the time. Which means, in fact, you could start instance as many as you wishes, even 2 times or 3 times of core numbers. Only the problem is - more instances means more resources it'll take. total core + 1 is a reasonable number.
The full story ... it's a new book, or maybe two books, I plan to write in 2117 A.D. :)
Most helpful comment
In short, it's depending on experience, or you should say statistics.
A little bit long story - As you known, an instance will not run at top all the time. Which means, in fact, you could start instance as many as you wishes, even 2 times or 3 times of core numbers. Only the problem is - more instances means more resources it'll take. total core + 1 is a reasonable number.
The full story ... it's a new book, or maybe two books, I plan to write in 2117 A.D. :)