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

ASF GitHub Bot commented on ROCKETMQ-317:
-----------------------------------------

githublaohu commented on issue #195: [ROCKETMQ-317] Take advantage of Linux 
native libaio
URL: https://github.com/apache/rocketmq/pull/195#issuecomment-349522823
 
 
   sorry, English is not good, can only be described in Chinese.
   
   目前使用的 linux aio,解决mmap 映射页面不在,mmap使用直io,造成netty io线程阻塞请求超时。
   如果请求的数据在映射页面,那么 linux aio的执行速度,低于 mmap
   如果用户使用linux,那么除了最后一个commitLog之外,其他的mmap的文件,没有意义了?

----------------------------------------------------------------
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]


> Make full use of Linux native libaio 
> -------------------------------------
>
>                 Key: ROCKETMQ-317
>                 URL: https://issues.apache.org/jira/browse/ROCKETMQ-317
>             Project: Apache RocketMQ
>          Issue Type: Improvement
>            Reporter: Zhanhui Li
>            Assignee: vongosling
>
> libaio is a library, developed as part of the Linux kernel project. With 
> libaio, writes are submitted to the operating system where they are processed 
> asynchronously. When the writes have been processed, the operating system 
> calls the code back.
> When messages being pulled were reclaimed out of main memory, making use of 
> Linux native AIO system calls still allows zero-copy without blocking netty 
> IO threads.
> https://activemq.apache.org/artemis/docs/latest/libaio.html
> https://www.ibm.com/developerworks/library/l-async/
> https://access.redhat.com/documentation/en-us/jboss_enterprise_application_platform/5/html/hornetq_user_guide/libaio
> https://stackoverflow.com/questions/8768083/difference-between-posix-aio-and-libaio-on-linux



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to