[ 
https://issues.apache.org/jira/browse/ARTEMIS-1977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16539754#comment-16539754
 ] 

Francesco Nigro edited comment on ARTEMIS-1977 at 7/11/18 9:03 AM:
-------------------------------------------------------------------

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 
userspace|[https://groups.google.com/forum/#!msg/seastar-dev/DSXC5UcIsTg/LD13i1vmAAAJ;context-place=topic/seastar-dev/zdr01znzUes]]

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.


was (Author: nigro....@gmail.com):
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 
userspace|[https://groups.google.com/forum/#!msg/seastar-dev/DSXC5UcIsTg/LD13i1vmAAAJ;context-place=topic/seastar-dev/zdr01znzUes].]

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
(v7.6.3#76005)

Reply via email to