Currently there is no easy way to specify net.isr.maxthreads = all cpus. We need to specify exact number of cpus in loader.conf which get annoying when you have mix of machines which don't have equal number of total cpus. I propose "-1" as that value. When loader.conf has net.isr.maxthreads = -1, netisr will use all available cpus.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
Comment Actions
- Addressing offline comments by davide@ to do input validation for all possible values.
- jhb@ mentioned that we can always set a high value like 255 in loader.conf and it'd be capped down to total cpus. I prefer the approach presented in this patch.