[undertow-dev] Why are ioThreads capped at a max of 2 by default?
Greg Hellings
greg.hellings at gmail.com
Sun Oct 22 19:31:49 EDT 2017
I think the value defaults to 2 * number_of_cpu_cores_detected? So yeah, 2
would be minimal.
On Sun, Oct 22, 2017 at 4:05 PM, Mario Carbajal <mario.e.carbajal at gmail.com>
wrote:
> Uh.. please disregard this email. I just realized it's the other way
> around: minimum two threads.
>
> On Sun, Oct 22, 2017 at 6:02 PM, Mario Carbajal <
> mario.e.carbajal at gmail.com> wrote:
>
>> In the undertow builder there's this line:
>> ioThreads = Math.max(Runtime.getRuntime().availableProcessors(), 2);
>>
>> Why the cap? is it not recommended to go over 2?
>>
>
>
> _______________________________________________
> undertow-dev mailing list
> undertow-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/undertow-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20171022/330d27f2/attachment.html
More information about the undertow-dev
mailing list