[prev in list] [next in list] [prev in thread] [next in thread]
List: lustre-discuss
Subject: Re: [lustre-discuss] ZFS tuning for MDT/MGS
From: Riccardo Veraldi <riccardo.veraldi () gmail ! com>
Date: 2019-03-20 16:56:21
Message-ID: e5785464-fb66-9206-c832-e17b93212741 () gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
On 3/19/19 11:46 AM, Degremont, Aurelien wrote:
>
> Also, if you're not using Lustre 2.11 or 2.12, do not forget
> dnodesize=auto and recordsize=1M for OST
>
> zfs set dnodesize=auto mdt0
>
> zfs set dnodesize=auto ostX
>
> https://jira.whamcloud.com/browse/LU-8342
>
good point, thank you
> (useful for 2.10 LTS. Automatically done by Lustre for 2.11+)
>
> *De : *lustre-discuss <lustre-discuss-bounces@lists.lustre.org> au nom
> de "Carlson, Timothy S" <Timothy.Carlson@pnnl.gov>
> *Date : *mercredi 13 mars 2019 Ă 23:07
> *Ă : *Riccardo Veraldi <Riccardo.Veraldi@cnaf.infn.it>, Kurt Strosahl
> <strosahl@jlab.org>, "lustre-discuss@lists.lustre.org"
> <lustre-discuss@lists.lustre.org>
> *Objet : *Re: [lustre-discuss] ZFS tuning for MDT/MGS
>
> +1 on
>
> options zfs zfs_prefetch_disable=1
>
>
> Might not be as critical now, but that was a must-have on Lustre 2.5.x
>
> Tim
>
> *From:* lustre-discuss <lustre-discuss-bounces@lists.lustre.org> *On
> Behalf Of *Riccardo Veraldi
> *Sent:* Wednesday, March 13, 2019 3:00 PM
> *To:* Kurt Strosahl <strosahl@jlab.org>; lustre-discuss@lists.lustre.org
> *Subject:* Re: [lustre-discuss] ZFS tuning for MDT/MGS
>
> these are the zfs settings I use on my MDSes
>
>
> zfs set mountpoint=none mdt0
> zfs set sync=disabled mdt0
> zfs set atime=off amdt0
> zfs set redundant_metadata=most mdt0
> zfs set xattr=sa mdt0
>
> if youor MDT partition is on a 4KB sector disk then you can use
> ashift when you create the filesystem but zfs is pretty smart and
> in my case it recognized it automatically and used ashift
> automatically.
>
> also here are the zfs kernel modules parameters i use to ahve better
> performance. I use it on both MDS and OSSes
>
> options zfs zfs_prefetch_disable=1
> options zfs zfs_txg_history0
> options zfs metaslab_debug_unload=1
> #
> options zfs zfs_vdev_schedulerȚadline
> options zfs zfs_vdev_async_write_active_min_dirty_percent
> #
> options zfs zfs_vdev_scrub_min_activeH
> options zfs zfs_vdev_scrub_max_active8
> #options zfs zfs_vdev_sync_write_min_actived
> #options zfs zfs_vdev_sync_write_max_active8
> #
> options zfs zfs_vdev_sync_write_min_active=8
> options zfs zfs_vdev_sync_write_max_active2
> options zfs zfs_vdev_sync_read_min_active=8
> options zfs zfs_vdev_sync_read_max_active2
> options zfs zfs_vdev_async_read_min_active=8
> options zfs zfs_vdev_async_read_max_active2
> options zfs zfs_top_maxinflight20
> options zfs zfs_txg_timeout0
> options zfs zfs_dirty_data_max_percent@
> options zfs zfs_vdev_async_write_min_active=8
> options zfs zfs_vdev_async_write_max_active2
>
> some people may disagree with me anyway after years of trying
> different options I reached this stable configuration.
>
> then there are a bunch of other important Lustre level optimizations
> that you can do if you are looking for performance increase.
>
> Cheers
>
> Rick
>
> On 3/13/19 11:44 AM, Kurt Strosahl wrote:
>
> Good Afternoon,
>
> 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.
>
> w/r,
>
> Kurt
>
>
>
>
> _______________________________________________
>
> 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
>
>
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss@lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
[Attachment #5 (text/html)]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 3/19/19 11:46 AM, Degremont,
Aurelien wrote:<br>
</div>
<blockquote type="cite"
cite="mid:DBE52E84-F4EC-4815-80B8-5039509A49AE@amazon.com">
<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]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="color:windowtext;mso-fareast-language:EN-US"
lang="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
style="color:windowtext;mso-fareast-language:EN-US"
lang="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"
moz-do-not-send="true">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> </div>
</blockquote>
<p>good point, thank you</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:DBE52E84-F4EC-4815-80B8-5039509A49AE@amazon.com">
<div class="WordSection1">
<p class="MsoNormal"><span
style="color:windowtext;mso-fareast-language:EN-US"
lang="EN-US">(useful for 2.10 LTS. Automatically done by
Lustre for 2.11+)<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:windowtext;mso-fareast-language:EN-US"
lang="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
<a class="moz-txt-link-rfc2396E" \
href="mailto:lustre-discuss-bounces@lists.lustre.org"><lustre-discuss-bounces@lists.lustre.org></a> \
au nom de
"Carlson, Timothy S" <a class="moz-txt-link-rfc2396E" \
href="mailto:Timothy.Carlson@pnnl.gov"><Timothy.Carlson@pnnl.gov></a><br> \
<b>Date : </b>mercredi 13 mars 2019 Ă 23:07<br> <b>Ă : </b>Riccardo Veraldi
<a class="moz-txt-link-rfc2396E" \
href="mailto:Riccardo.Veraldi@cnaf.infn.it"><Riccardo.Veraldi@cnaf.infn.it></a>, \
Kurt Strosahl
<a class="moz-txt-link-rfc2396E" \
href="mailto:strosahl@jlab.org"><strosahl@jlab.org></a>,
<a class="moz-txt-link-rfc2396E" \
href="mailto:lustre-discuss@lists.lustre.org">"lustre-discuss@lists.lustre.org"</a>
<a class="moz-txt-link-rfc2396E" \
href="mailto:lustre-discuss@lists.lustre.org"><lustre-discuss@lists.lustre.org></a><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
<a class="moz-txt-link-rfc2396E" \
href="mailto:lustre-discuss-bounces@lists.lustre.org"><lustre-discuss-bounces@lists.lustre.org></a>
<b>On Behalf Of </b>Riccardo Veraldi<br>
<b>Sent:</b> Wednesday, March 13, 2019 3:00 PM<br>
<b>To:</b> Kurt Strosahl <a class="moz-txt-link-rfc2396E" \
href="mailto:strosahl@jlab.org"><strosahl@jlab.org></a>;
<a class="moz-txt-link-abbreviated" \
href="mailto:lustre-discuss@lists.lustre.org">lustre-discuss@lists.lustre.org</a><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 when you create the
filesystem but zfs is pretty smart and in my case it
recognized it automatically and used ashift
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_history0<br>
options zfs metaslab_debug_unload=1<br>
#<br>
options zfs zfs_vdev_schedulerȚadline<br>
options zfs zfs_vdev_async_write_active_min_dirty_percent <br>
#<br>
options zfs zfs_vdev_scrub_min_activeH<br>
options zfs zfs_vdev_scrub_max_active8<br>
#options zfs zfs_vdev_sync_write_min_actived<br>
#options zfs zfs_vdev_sync_write_max_active8<br>
#<br>
options zfs zfs_vdev_sync_write_min_active=8<br>
options zfs zfs_vdev_sync_write_max_active2<br>
options zfs zfs_vdev_sync_read_min_active=8<br>
options zfs zfs_vdev_sync_read_max_active2<br>
options zfs zfs_vdev_async_read_min_active=8<br>
options zfs zfs_vdev_async_read_max_active2<br>
options zfs zfs_top_maxinflight20<br>
options zfs zfs_txg_timeout0<br>
options zfs zfs_dirty_data_max_percent@<br>
options zfs zfs_vdev_async_write_min_active=8<br>
options zfs zfs_vdev_async_write_max_active2<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" \
moz-do-not-send="true">lustre-discuss@lists.lustre.org</a><o:p></o:p></pre> <pre><a \
href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org" \
moz-do-not-send="true">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><o:p></o:p></pre>
</blockquote>
<p> <o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" \
wrap="">_______________________________________________ lustre-discuss mailing list
<a class="moz-txt-link-abbreviated" \
href="mailto:lustre-discuss@lists.lustre.org">lustre-discuss@lists.lustre.org</a> <a \
class="moz-txt-link-freetext" \
href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a>
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>
_______________________________________________
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic