Loom and high performance networking

Alan Bateman alan.bateman at oracle.com
Tue Aug 13 07:25:00 UTC 2024



On 12/08/2024 20:29, Robert Engels wrote:
> Sorry, I should have included that. I am using (build 24-loom+3-33) - which is still using Pollers.
>
That's based on jdk-24+8 so up to date.

There are two "poller modes". On macOS it uses the "system thread" 
poller mode by default but you can experiment with -Djdk.pollerMode=2 to 
have the poller threads be virtual threads, same as the default on 
Linux. To do this will also mean setting -Djdk.readPollers=4 or some 
power of 2 value. Our testing on macOS some time ago didn't converge on 
the best default.

There seems to be a lot of errors (broken pipe, connection reset, and 
other timeouts) in your results. Do you have some TCP/networking tuning 
to remove these from the runs as I assume timeouts will skew some of the 
results.

-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20240813/c2bf60ad/attachment.htm>


More information about the loom-dev mailing list