Hi!<div><br></div><div>That use case is not specific to databases only. Nginx users choose GPFS over Lustre just because GPFS does not have this trouble.</div><div><br></div><div>With best regards,</div><div><br></div><div>Vitaly<br><br>On Friday, May 13, 2016, Dilger, Andreas &lt;<a href="mailto:andreas.dilger@intel.com">andreas.dilger@intel.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2016/05/12, 09:11, &quot;Sebastian Rettenberger&quot; &lt;<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;rettenbs@in.tum.de&#39;)">rettenbs@in.tum.de</a>&gt; wrote:<br>
<br>
&gt;Hi,<br>
&gt;<br>
&gt;thanks for the feedback.<br>
&gt;<br>
&gt;I found out a few things (especially for Linux) that might be interesting:<br>
&gt;<br>
&gt;- glibc implements aio_read/aio_write in user-space using threads. Thus,<br>
&gt;they are always asynchronous but come with an overhead.<br>
&gt;<br>
&gt;- The Linux kernel provides non-portable native asynchronous I/O through<br>
&gt;libaio (io_submit).<br>
&gt;<br>
&gt;I tested native AIO function of Linux on Ext4, NFS, Lustre and GPFS.<br>
&gt;Only NFS performed the operation asynchronously and only with O_DIRECT.<br>
&gt;On all other file systems, the operation was turned in a synchronous<br>
&gt;operation.<br>
<br>
Could you please file a ticket in Jira and share what test tool you are<br>
using to check the aio functionality?  That would at least allow someone<br>
to investigate ow this is implemented and where it is getting blocked.<br>
I can&#39;t promise someone will work on it any time soon, but at least we<br>
would have somewhere to start, since I don&#39;t think this is a common IO<br>
interface except with database workloads.<br>
<br>
Cheers, Andreas<br>
<br>
<br>
&gt;On 05/12/2016 12:23 AM, Dilger, Andreas wrote:<br>
&gt;&gt; On 2016/05/10, 04:30, &quot;Sebastian Rettenberger&quot; &lt;<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;rettenbs@in.tum.de&#39;)">rettenbs@in.tum.de</a>&gt;<br>
&gt;&gt;wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I am currently investigating in asynchronous I/O capability of<br>
&gt;&gt;&gt;different<br>
&gt;&gt;&gt; file systems. I wounder whether Lustre supports aio_write and aio_read<br>
&gt;&gt;&gt;from the POSIX standard.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I found this bug report:<br>
&gt;&gt;&gt; <a href="https://bugzilla.lustre.org/show_bug.cgi?id=11719" target="_blank">https://bugzilla.lustre.org/show_bug.cgi?id=11719</a><br>
&gt;&gt;&gt; and this archived mail:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<a href="http://lists.lustre.org/htdig.cgi/lustre-discuss-lustre.org/2012-May/011" target="_blank">http://lists.lustre.org/htdig.cgi/lustre-discuss-lustre.org/2012-May/011</a><br>
&gt;&gt;&gt;08<br>
&gt;&gt;&gt; 7.html<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Does anybody has any resent information on this? Is this docuemented in<br>
&gt;&gt;&gt; the Lustre manual?<br>
&gt;&gt;<br>
&gt;&gt; The Lustre client does use the kernel -&gt;aio_read() and -&gt;aio_write()<br>
&gt;&gt; operations, but I don&#39;t know whether anyone has actually tested whether<br>
&gt;&gt;the<br>
&gt;&gt; IO operations will commit asynchronously or not.  If you have a test<br>
&gt;&gt;tool<br>
&gt;&gt; do verify this, it would definitely be interesting to know the results.<br>
&gt;&gt;<br>
&gt;&gt; Cheers, Andreas<br>
&gt;&gt;<br>
&gt;<br>
&gt;--<br>
&gt;Sebastian Rettenberger, M.Sc.<br>
&gt;Technische Universität München<br>
&gt;Department of Informatics<br>
&gt;Chair of Scientific Computing<br>
&gt;Boltzmannstrasse 3, 85748 Garching, Germany<br>
&gt;<a href="http://www5.in.tum.de/" target="_blank">http://www5.in.tum.de/</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
Cheers, Andreas<br>
--<br>
Andreas Dilger<br>
<br>
Lustre Principal Architect<br>
Intel High Performance Data Division<br>
<br>
<br>
_______________________________________________<br>
lustre-discuss mailing list<br>
<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;lustre-discuss@lists.lustre.org&#39;)">lustre-discuss@lists.lustre.org</a><br>
<a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org" target="_blank">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><br>
</blockquote></div><br><br>-- <br>\\wbr Vitaly<br>