Gérald,
Typically you should set the `num.io.threads` to something greater than
the # of disks since data hits the page cache and the disk. Using the
default of 8 when you have a JBOD of 12 attached volumes would cause an
increase of CPU context switching, for example.
`num.network.threads` is usually fine since most machines have 1 or 2
NIC's attached at tops and then the rule of *N + 1* suits the case.
However, you should double that if TLS is enabled in the broker.
Thanks,
-- Ricardo
On 6/19/20 8:56 AM, Gérald Quintana wrote:
Hello,
How do you size Kafka broker thread pools, in particular num.io.threads (8
by default) and num.network.threads (3 by default) depending on the number
of CPU cores available on the host?
Regards,
Gérald