[
https://issues.apache.org/jira/browse/ARTEMIS-1977?focusedWorklogId=190381&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-190381
]
ASF GitHub Bot logged work on ARTEMIS-1977:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 26/Jan/19 10:30
Start Date: 26/Jan/19 10:30
Worklog Time Spent: 10m
Work Description: franz1981 commented on issue #2523: ARTEMIS-1977
ASYNCIO can reduce sys-calls to retrieve I/O events
URL: https://github.com/apache/activemq-artemis/pull/2523#issuecomment-457811530
@michaelandrepearce
> whats the compatibility of using the c++ c11 features
I don't know , that' s why I've implemented the barriers by myself, instead
of using the ones provided by C11. Re the barriers I've implemented they work
for any x86_64 platform (the version of Linux won't make any difference,
because I'm not using OS features, but just arch-specific instructions).
I could provide an implementation of x86 (32 bit) and we won't need any
support (+ eventual incompatibilities) of C11.
@clebertsuconic @michaelandrepearce Related to the OS compatibility of
stealing kernel space info from user space: the ring buffer layout is part of
the linux ABI.
There are quite few already existing uses of this optimizations: ScyllaDB
(Cassandra replacement written in C++), QEMU (Linux virtualizer) and FIO (a
file system benchmark tool).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 190381)
Time Spent: 3h 10m (was: 3h)
> ASYNCIO can reduce sys-calls to retrieve I/O 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
>
> Time Spent: 3h 10m
> Remaining Estimate: 0h
>
> 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)