<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"Préformaté HTML Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
span.PrformatHTMLCar
        {mso-style-name:"Préformaté HTML Car";
        mso-style-priority:99;
        mso-style-link:"Préformaté HTML";
        font-family:Consolas;
        color:black;}
p.HTMLPreformatted, li.HTMLPreformatted, div.HTMLPreformatted
        {mso-style-name:"HTML Preformatted";
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;}
span.EmailStyle24
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext;mso-fareast-language:EN-US">Also, if you’re not using Lustre 2.11 or 2.12, do not forget dnodesize=auto and recordsize=1M for OST<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">zfs set dnodesize=auto mdt0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">zfs set dnodesize=auto ostX<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext;mso-fareast-language:EN-US"><a href="https://jira.whamcloud.com/browse/LU-8342">https://jira.whamcloud.com/browse/LU-8342</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext;mso-fareast-language:EN-US">(useful for 2.10 LTS. Automatically done by Lustre for 2.11+)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:12.0pt">De : </span></b><span style="font-size:12.0pt">lustre-discuss <lustre-discuss-bounces@lists.lustre.org> au nom de "Carlson, Timothy S" <Timothy.Carlson@pnnl.gov><br>
<b>Date : </b>mercredi 13 mars 2019 à 23:07<br>
<b>À : </b>Riccardo Veraldi <Riccardo.Veraldi@cnaf.infn.it>, Kurt Strosahl <strosahl@jlab.org>, "lustre-discuss@lists.lustre.org" <lustre-discuss@lists.lustre.org><br>
<b>Objet : </b>Re: [lustre-discuss] ZFS tuning for MDT/MGS<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal">+1 on <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">options zfs zfs_prefetch_disable=1<br>
<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal">Might not be as critical now, but that was a must-have on Lustre 2.5.x<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Tim<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>From:</b> lustre-discuss <lustre-discuss-bounces@lists.lustre.org>
<b>On Behalf Of </b>Riccardo Veraldi<br>
<b>Sent:</b> Wednesday, March 13, 2019 3:00 PM<br>
<b>To:</b> Kurt Strosahl <strosahl@jlab.org>; lustre-discuss@lists.lustre.org<br>
<b>Subject:</b> Re: [lustre-discuss] ZFS tuning for MDT/MGS<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">these are the zfs settings I use on my MDSes<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><br>
 zfs set mountpoint=none mdt0<br>
 zfs set sync=disabled mdt0<br>
 zfs set atime=off amdt0<br>
 zfs set redundant_metadata=most mdt0<br>
 zfs set xattr=sa mdt0<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">if youor MDT partition is on a 4KB sector disk then you can use ashift=12 when you create the filesystem but zfs is pretty smart and in my case it recognized it automatically and used ashift=12 automatically.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">also here are the zfs kernel modules parameters i use to ahve better performance. I use it on both MDS and OSSes<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">options zfs zfs_prefetch_disable=1<br>
options zfs zfs_txg_history=120<br>
options zfs metaslab_debug_unload=1<br>
#<br>
options zfs zfs_vdev_scheduler=deadline<br>
options zfs zfs_vdev_async_write_active_min_dirty_percent=20<br>
#<br>
options zfs zfs_vdev_scrub_min_active=48<br>
options zfs zfs_vdev_scrub_max_active=128<br>
#options zfs zfs_vdev_sync_write_min_active=64<br>
#options zfs zfs_vdev_sync_write_max_active=128<br>
#<br>
options zfs zfs_vdev_sync_write_min_active=8<br>
options zfs zfs_vdev_sync_write_max_active=32<br>
options zfs zfs_vdev_sync_read_min_active=8<br>
options zfs zfs_vdev_sync_read_max_active=32<br>
options zfs zfs_vdev_async_read_min_active=8<br>
options zfs zfs_vdev_async_read_max_active=32<br>
options zfs zfs_top_maxinflight=320<br>
options zfs zfs_txg_timeout=30<br>
options zfs zfs_dirty_data_max_percent=40<br>
options zfs zfs_vdev_async_write_min_active=8<br>
options zfs zfs_vdev_async_write_max_active=32<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">some people may disagree with me anyway after years of trying different options I reached this stable configuration.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">then there are a bunch of other important Lustre level optimizations that you can do if you are looking for performance increase.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Cheers<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Rick<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">On 3/13/19 11:44 AM, Kurt Strosahl wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div id="divtagdefaultwrapper">
<p><span style="font-size:12.0pt">Good Afternoon,</span><o:p></o:p></p>
<p><span style="font-size:12.0pt"> </span><o:p></o:p></p>
<p><span style="font-size:12.0pt">    I'm reviewing the zfs parameters for a new metadata system and I was looking to see if anyone had examples (good or bad) of zfs parameters?  I'm assuming that the MDT won't benefit from a recordsize of 1MB, and I've already
 set the ashift to 12.  I'm using an MDT/MGS made up of a stripe across mirrored ssds.</span><o:p></o:p></p>
<p><span style="font-size:12.0pt"> </span><o:p></o:p></p>
<p><span style="font-size:12.0pt">w/r,</span><o:p></o:p></p>
<div id="Signature">
<div id="divtagdefaultwrapper">
<p><span style="font-size:10.5pt;font-family:"Courier New";color:#333333">Kurt</span><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>lustre-discuss mailing list<o:p></o:p></pre>
<pre><a href="mailto:lustre-discuss@lists.lustre.org">lustre-discuss@lists.lustre.org</a><o:p></o:p></pre>
<pre><a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><o:p></o:p></pre>
</blockquote>
<p> <o:p></o:p></p>
</div>
</body>
</html>