Francesco Nigro commented on ARTEMIS-1977:

Currently there are low-latency DBMS that support this feature with success: 
[[PATCH seastar v2 2/6] linux-aio: try to perform io_getevents in 

The next step is to expose through JNI this feature and allow an even loop 
style of processing of I/O events, possibly lock-free and with smart batching

to reduce the submit sys-calls without impacting on latencies.

> ASYNCIO can reduce sys-calls to retrieve I/O completion events
> --------------------------------------------------------------
>                 Key: ARTEMIS-1977
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1977
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 2.6.2
>            Reporter: Francesco Nigro
>            Assignee: Francesco Nigro
>            Priority: Minor
>             Fix For: 2.7.0
> On LibAIO is possible to retrieve the I/O completion events without 
> using io_getevents sys-calls by reading the user-space ring buffer used by the
> kernel to store them.
> This is already beneficial for very fast disks and necessary for further 
> improvements
> of ASYNCIO Journal to leverage (very) fast low-latency disks by going 
> completly
> lock-free. 

This message was sent by Atlassian JIRA

Reply via email to