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

ASF GitHub Bot logged work on ARTEMIS-1977:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 29/Jan/19 06:04
            Start Date: 29/Jan/19 06:04
    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-458418530
 
 
   @michaelandrepearce @clebertsuconic 
   Today I will talk with some of the kernel guys that has written libAIO: I've 
taken a deep look to 
https://elixir.bootlin.com/linux/latest/source/fs/aio.c#L1148 and seems that 
for x86 I could avoid any hardware barriers.
   `lfence,sfence` are hw barriers needed just when used among non-temporal 
stores ie that won't use the caches, while temporal x86 stores are guaranteed 
to not being reordered by the processor.
   I need to cross-compile the 32 bit version accordly, many thanks to super- 
@orpiske  for his help!
 
----------------------------------------------------------------
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: 191439)
    Time Spent: 4h 20m  (was: 4h 10m)

> 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: 4h 20m
>  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)

Reply via email to