<div dir="ltr">Depending on your IO workloads reads can be slower than writes in cases where the writes may be sequential and optimized for the backing storage hardware, and the reads random, or semi-random. This also can be greatly affected by block allocator efficiency. Typically on well tuned modern lustre file systems reads and writes are very similar (if not better for reads as Paf mentions).<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 27, 2021 at 5:30 PM Nagmat Nazarov <<a href="mailto:nagmat@nevada.unr.edu">nagmat@nevada.unr.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">My backing file system is ldiskfs. <div>The storage hardware is HDD I guess(Since I am using emulab cloud storage)</div><div>I am doing buffered I/O. </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 27, 2021 at 4:20 PM Patrick Farrell <<a href="mailto:pfarrell@ddn.com" target="_blank">pfarrell@ddn.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>
<div>It does depend on your storage hardware, but modern Lustre software is generally the same or faster for reads.</div>
<div><br>
</div>
<div>What is your backing file system - ldiskfs or ZFS?  And what is the storage hardware?  And are you doing direct or buffered I/O?</div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_8911768358528354338gmail-m_-6075350018947999357divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> lustre-discuss <<a href="mailto:lustre-discuss-bounces@lists.lustre.org" target="_blank">lustre-discuss-bounces@lists.lustre.org</a>> on behalf of Nagmat Nazarov <<a href="mailto:nagmat@nevada.unr.edu" target="_blank">nagmat@nevada.unr.edu</a>><br>
<b>Sent:</b> Monday, September 27, 2021 5:57 PM<br>
<b>To:</b> <a href="mailto:lustre-discuss@lists.lustre.org" target="_blank">lustre-discuss@lists.lustre.org</a> <<a href="mailto:lustre-discuss@lists.lustre.org" target="_blank">lustre-discuss@lists.lustre.org</a>><br>
<b>Subject:</b> [lustre-discuss] Why reads are slower than writes on lustre file system?</font>
<div> </div>
</div>
<div>
<div dir="ltr">Dear Engineers, 
<div><br>
</div>
<div>I have started working on a lustre file system. I have done couple of experiments so far: </div>
<div>On the first experiment I am writing 100 files each 10MB and the batch size is 4K. I got 107MB/s bandwidth. </div>
<div><br>
</div>
<div>On the second experiment I am (writing 10 files each 10MB and reading 1 10 MB file back) for 10 times.  Here also the average bandwidth is 106MB/s while  read average bandwidth is 59MB/s which is very weird I guess? </div>
<div><br>
</div>
<div>My question is, generally on ext4 file systems read average bandwidth is faster that write average bandwidth, why is it 2 times slower on lustre file system. My ethernet speed is 1Gb/s. </div>
<div><br>
</div>
<div>Kind regards</div>
<div>Nagmat Nazarov</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>

</blockquote></div>
_______________________________________________<br>
lustre-discuss mailing list<br>
<a href="mailto:lustre-discuss@lists.lustre.org" target="_blank">lustre-discuss@lists.lustre.org</a><br>
<a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org" rel="noreferrer" target="_blank">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><br>
</blockquote></div>