[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lustre-discuss
Subject:    Re: [lustre-discuss] About Lustre small files performace(8k) improve
From:       Andreas Dilger via lustre-discuss <lustre-discuss () lists ! lustre ! org>
Date:       2023-03-28 4:56:50
Message-ID: 5CE79196-BAA6-4047-9498-32C9A53C1E00 () ddn ! com
[Download RAW message or body]

[Attachment #2 (text/plain)]

Are your performance tests on NFS or on native Lustre clients?  Native Lustre clients \
will likely be faster, and with many clients they can create files in parallel, even \
in the same directory.  With a single NFS server they will be limited by the VFS \
locking for a single directory.

Are you using IB or TCP networking?  IB will be faster for low-latency requests.

Are you using the Data-on-MDT feature?  This can reduce overhead for very small \
files.

Are you using NVMe storage or e.g. SATA SSDs?  Based on the OST size it looks like \
flash of some kind, unless you are using single-HDD OSTs?

Cheers, Andreas

On Mar 18, 2023, at 01:44, 王烁斌 via lustre-discuss \
<lustre-discuss@lists.lustre.org<mailto:lustre-discuss@lists.lustre.org>> wrote:

Hi all,

This is my Lustre FS.
UUID                   1K-blocks        Used   Available Use% Mounted on
ltfs-MDT0000_UUID      307826072       36904   281574768   1% /mnt/lfs[MDT:0]
ltfs-MDT0001_UUID      307826072       36452   281575220   1% /mnt/lfs[MDT:1]
ltfs-MDT0002_UUID      307826072       36600   281575072   1% /mnt/lfs[MDT:2]
ltfs-MDT0003_UUID      307826072       36300   281575372   1% /mnt/lfs[MDT:3]
ltfs-OST0000_UUID    15962575136     1027740 15156068868   1% /mnt/lfs[OST:0]
ltfs-OST0001_UUID    15962575136     1027780 15156067516   1% /mnt/lfs[OST:1]
ltfs-OST0002_UUID    15962575136     1027772 15156074212   1% /mnt/lfs[OST:2]
ltfs-OST0003_UUID    15962575136     1027756 15156067860   1% /mnt/lfs[OST:3]
ltfs-OST0004_UUID    15962575136     1027728 15156058224   1% /mnt/lfs[OST:4]
ltfs-OST0005_UUID    15962575136     1027772 15156057668   1% /mnt/lfs[OST:5]
ltfs-OST0006_UUID    15962575136     1027768 15156058568   1% /mnt/lfs[OST:6]
ltfs-OST0007_UUID    15962575136     1027792 15156056752   1% /mnt/lfs[OST:7]

filesystem_summary:  127700601088     8222108 121248509668   1% /mnt/lfs

Structure ias flow:
<image.png>

After testing, under the current structure, the write performance of 500,000 "8k" \
small files is: NFSclient1——IOPS:28,000;  bandwidth——230MB
NFSclient1——IOPS:27,500;  bandwidth——220MB

Now I want to improve the performance of small files to a better level,May I ask if \
there is a better way。

I have noticed a feature called "MIP-IO" that can improve small file performance, but \
I don't know how to deploy this feature. Is there any way to improve small file \
performance?



_______________________________________________
lustre-discuss mailing list
lustre-discuss@lists.lustre.org<mailto:lustre-discuss@lists.lustre.org>
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Cheers, Andreas
--
Andreas Dilger
Lustre Principal Architect
Whamcloud


[Attachment #3 (text/html)]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: \
after-white-space;" class=""> Are your performance tests on NFS or on native Lustre \
clients? &nbsp;Native Lustre clients will likely be faster, and with many clients \
they can create files in parallel, even in the same directory. &nbsp;With a single \
NFS server they will be limited by the VFS locking  for a single directory.
<div class=""><br class="">
</div>
<div class="">Are you using IB or TCP networking? &nbsp;IB will be faster for \
low-latency requests.</div> <div class=""><br class="">
</div>
<div class="">Are you using the Data-on-MDT feature? &nbsp;This can reduce overhead \
for very small files.</div> <div class=""><br class="">
</div>
<div class="">Are you using NVMe storage or e.g. SATA SSDs? &nbsp;Based on the OST \
size it looks like flash of some kind, unless you are using single-HDD OSTs?</div> \
<div class=""><br class=""> </div>
<div class="">Cheers, Andreas<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Mar 18, 2023, at 01:44, 王烁斌 via lustre-discuss &lt;<a \
href="mailto:lustre-discuss@lists.lustre.org" \
class="">lustre-discuss@lists.lustre.org</a>&gt; wrote:</div> <br \
class="Apple-interchange-newline"> <div class="">
<div style="line-height: 1.7; font-size: 14px; font-family: Arial;" class="">
<div class="">Hi all,<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">This is my Lustre FS.&nbsp;</div>
<div class="">
<div class="">UUID&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp;1K-blocks&nbsp; &nbsp; &nbsp; &nbsp; Used&nbsp; &nbsp;Available Use% Mounted \
on</div> <div class="">ltfs-MDT0000_UUID&nbsp; &nbsp; &nbsp; 307826072&nbsp; &nbsp; \
&nbsp; &nbsp;36904&nbsp; &nbsp;281574768&nbsp; &nbsp;1% /mnt/lfs[MDT:0]</div> <div \
class="">ltfs-MDT0001_UUID&nbsp; &nbsp; &nbsp; 307826072&nbsp; &nbsp; &nbsp; \
&nbsp;36452&nbsp; &nbsp;281575220&nbsp; &nbsp;1% /mnt/lfs[MDT:1]</div> <div \
class="">ltfs-MDT0002_UUID&nbsp; &nbsp; &nbsp; 307826072&nbsp; &nbsp; &nbsp; \
&nbsp;36600&nbsp; &nbsp;281575072&nbsp; &nbsp;1% /mnt/lfs[MDT:2]</div> <div \
class="">ltfs-MDT0003_UUID&nbsp; &nbsp; &nbsp; 307826072&nbsp; &nbsp; &nbsp; \
&nbsp;36300&nbsp; &nbsp;281575372&nbsp; &nbsp;1% /mnt/lfs[MDT:3]</div> <div \
class="">ltfs-OST0000_UUID&nbsp; &nbsp; 15962575136&nbsp; &nbsp; &nbsp;1027740 \
15156068868&nbsp; &nbsp;1% /mnt/lfs[OST:0]</div> <div \
class="">ltfs-OST0001_UUID&nbsp; &nbsp; 15962575136&nbsp; &nbsp; &nbsp;1027780 \
15156067516&nbsp; &nbsp;1% /mnt/lfs[OST:1]</div> <div \
class="">ltfs-OST0002_UUID&nbsp; &nbsp; 15962575136&nbsp; &nbsp; &nbsp;1027772 \
15156074212&nbsp; &nbsp;1% /mnt/lfs[OST:2]</div> <div \
class="">ltfs-OST0003_UUID&nbsp; &nbsp; 15962575136&nbsp; &nbsp; &nbsp;1027756 \
15156067860&nbsp; &nbsp;1% /mnt/lfs[OST:3]</div> <div \
class="">ltfs-OST0004_UUID&nbsp; &nbsp; 15962575136&nbsp; &nbsp; &nbsp;1027728 \
15156058224&nbsp; &nbsp;1% /mnt/lfs[OST:4]</div> <div \
class="">ltfs-OST0005_UUID&nbsp; &nbsp; 15962575136&nbsp; &nbsp; &nbsp;1027772 \
15156057668&nbsp; &nbsp;1% /mnt/lfs[OST:5]</div> <div \
class="">ltfs-OST0006_UUID&nbsp; &nbsp; 15962575136&nbsp; &nbsp; &nbsp;1027768 \
15156058568&nbsp; &nbsp;1% /mnt/lfs[OST:6]</div> <div \
class="">ltfs-OST0007_UUID&nbsp; &nbsp; 15962575136&nbsp; &nbsp; &nbsp;1027792 \
15156056752&nbsp; &nbsp;1% /mnt/lfs[OST:7]</div> <div class=""><br class="">
</div>
<div class="">filesystem_summary:&nbsp; 127700601088&nbsp; &nbsp; &nbsp;8222108 \
121248509668&nbsp; &nbsp;1% /mnt/lfs</div> </div>
<div class=""><br class="">
</div>
<div class="">Structure ias flow:</div>
<div class=""><span id="cid:ad69d04$1$186f3a691ff$Coremail$w14767780617$163.com">&lt;image.png&gt;</span>&nbsp;</div>
 <div class=""><br class="">
</div>
<div class="">After testing, under the current structure, the write performance of \
500,000 &quot;8k&quot; small files is:</div> <div \
class="">NFSclient1——IOPS:28,000;&nbsp;&nbsp;bandwidth——230MB</div> <div \
class="">NFSclient1——IOPS:27,500;&nbsp; bandwidth——220MB</div> <div \
class=""><br class=""> </div>
<div class="">Now I want to improve the performance of small files to a better \
level,May I ask if there is a better way。</div> <div class=""><br class="">
</div>
<div class="">I have noticed a feature called &quot;MIP-IO&quot; that can improve \
small file performance, but I don't know how to deploy this feature. Is there any way \
to improve small file performance?</div> <div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
</div>
_______________________________________________<br class="">
lustre-discuss mailing list<br class="">
<a href="mailto:lustre-discuss@lists.lustre.org" \
class="">lustre-discuss@lists.lustre.org</a><br class=""> \
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org<br class=""> </div>
</blockquote>
</div>
<br class="">
<div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; \
text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: \
after-white-space;" class=""> <div dir="auto" style="caret-color: rgb(0, 0, 0); \
color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; \
text-transform: none; white-space: normal; word-spacing: 0px; \
-webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; \
-webkit-nbsp-mode: space; line-break: after-white-space;" class=""> <div dir="auto" \
style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; \
text-align: start; text-indent: 0px; text-transform: none; white-space: normal; \
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: \
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""> <div \
dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; \
word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" \
class=""> <div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; \
text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: \
after-white-space;" class=""> <div dir="auto" style="caret-color: rgb(0, 0, 0); \
color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; \
text-transform: none; white-space: normal; word-spacing: 0px; \
-webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; \
-webkit-nbsp-mode: space; line-break: after-white-space;" class=""> <div>Cheers, \
Andreas</div> <div>--</div>
<div>Andreas Dilger</div>
<div>Lustre&nbsp;Principal Architect</div>
<div>Whamcloud</div>
<div><br class="">
</div>
<div><br class="">
</div>
<div><br class="">
</div>
</div>
</div>
</div>
</div>
</div>
<br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br class="">
</div>
</body>
</html>



_______________________________________________
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

--===============2633278755165369935==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic