diff --git a/README.md b/README.md index 2664688..ce1ff26 100644 --- a/README.md +++ b/README.md @@ -66,8 +66,39 @@ Note that both `aquatic_http` and `aquatic_ws` require configuring TLS certificate and private key files. More details are available in the respective configuration files. -For optimal performance, start at least as many `request_workers` as -`socket_workers`. +#### Workers + +The sum of `socket_workers` and `request_workers` should equal the total +number of CPU cores that you want to use. + +Recommended proportions: + +
| aquatic_udp | +||||
|---|---|---|---|---|
| CPU cores | +2-5 | +6-9 | +10-15 | +>=16 | +
| request_workers | +1 | +2 | +3 | +4 | +
| socket_workers | +1-4 | +4-7 | +7-12 | +>=12 | +