<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:15:33 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-8207] Add auto-stripe option to lfs_migrate</title>
                <link>https://jira.whamcloud.com/browse/LU-8207</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The primary reason for this feature is to be able to give users a tool to fix stripe settings on existing files based on file size.  Optimal stripe selection for performance is dependent on access patern, but we can make the assumption that large files are more likely to be accessed by multiple clients and benefit from wider striping.  The other benefit from restriping is to balance OST capacity used, which an algorithm based solely on file size can more easily address.&lt;/p&gt;

&lt;p&gt;The goal is to have a tool to give the users and say &quot;go restripe your directory with this command&quot; and it will do the right thing in 90% of cases.  lfs_migrate already has most of the needed functionality.  The change would be to add a &quot;-A&quot; flag to automatically select the stripe count as the file is rewritten.  Initial algorithm to determine stripe count is Log2(size_in_GB)+1, though this could change in the future.&lt;/p&gt;

&lt;p&gt;The other application of this patch would be to integrate it with Robinhood (or &quot;lfs find&quot;) to generate a list of large, inactive, and narrowly-striped files and pass them to lfs_migrate for restriping.  This could be coupled well with OST rebalancing actions.&lt;/p&gt;

&lt;p&gt;For further discussion and context, see mailing list thread &quot;stripe count recommendation, and proposal for auto-stripe tool&quot;:&lt;br/&gt;
  &lt;a href=&quot;http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/2016-May/013526.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/2016-May/013526.html&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="37216">LU-8207</key>
            <summary>Add auto-stripe option to lfs_migrate</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="utopiabound">Nathaniel Clark</assignee>
                                    <reporter username="eschnepp">Eric Schnepp</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Thu, 26 May 2016 16:32:22 +0000</created>
                <updated>Fri, 3 Jan 2020 23:59:07 +0000</updated>
                            <resolved>Sun, 3 Mar 2019 14:39:02 +0000</resolved>
                                    <version>Lustre 2.7.0</version>
                    <version>Lustre 2.5.3</version>
                                    <fixVersion>Lustre 2.13.0</fixVersion>
                    <fixVersion>Lustre 2.12.4</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>12</watches>
                                                                            <comments>
                            <comment id="153697" author="ndauchy" created="Thu, 26 May 2016 16:53:12 +0000"  >&lt;p&gt;Draft patch attached, lightly tested, still needs work.  It also includes a useful &quot;-v&quot; option to increase verbosity and help test/debug/monitor what is being done.&lt;/p&gt;

&lt;p&gt;This should be updated to use pure bash instead of &apos;bc&apos; for the log function.  Use a simple &quot;multiply by 2, increment stripe_count, compare to file size&quot; loop, after converting bytes to GiB?  That would be a few cycles for huge files, but probably still faster than fork/exec of an external binary.&lt;/p&gt;

&lt;p&gt;May also want to include a case to switch to stripe_count=(file_size)/100GB for very large files to cap the capacity used on each OST.  And the 150GB value could itself be dynamic, and instead calculated as a percentage (1%? 5%?) of the capacity of the smallest OST.  This would prevent any single file from taking up too much space on a target.&lt;/p&gt;</comment>
                            <comment id="153708" author="jgmitter" created="Thu, 26 May 2016 17:13:46 +0000"  >&lt;p&gt;Hi Nathan,&lt;/p&gt;

&lt;p&gt;Can you please submit the patch through gerrit?&lt;/p&gt;

&lt;p&gt;Thanks.&lt;br/&gt;
Joe&lt;/p&gt;</comment>
                            <comment id="154297" author="gerrit" created="Wed, 1 Jun 2016 18:11:20 +0000"  >&lt;p&gt;Nathan Dauchy (nathan.dauchy@nasa.gov) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/20552&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/20552&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8207&quot; title=&quot;Add auto-stripe option to lfs_migrate&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8207&quot;&gt;&lt;del&gt;LU-8207&lt;/del&gt;&lt;/a&gt; scripts: add auto-stripe option to lfs_migrate&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 5b445117677d684f3782d1f7f30ed31eba87c4bd&lt;/p&gt;</comment>
                            <comment id="154299" author="ndauchy" created="Wed, 1 Jun 2016 18:17:38 +0000"  >&lt;p&gt;Patch updated to try to incorporate comments from the lustre-discuss thread, and submitted to gerrit.&lt;/p&gt;

&lt;p&gt;This is my first submitted patch, so I hope I put it into the system correctly!  &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="210915" author="ndauchy" created="Thu, 12 Oct 2017 00:28:59 +0000"  >&lt;p&gt;FYI, colleagues at NASA pointed out that the log function curved the wrong way.   &quot;sqrt($SIZE_IN_GB)&quot; would probably be a better fit for the initial auto stripe algorithm.&lt;/p&gt;

&lt;p&gt;Sorry I haven&apos;t had time to work on this.  Thanks to Steve G. for picking it up!&lt;/p&gt;</comment>
                            <comment id="243239" author="gerrit" created="Sun, 3 Mar 2019 00:20:47 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/20552/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/20552/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8207&quot; title=&quot;Add auto-stripe option to lfs_migrate&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8207&quot;&gt;&lt;del&gt;LU-8207&lt;/del&gt;&lt;/a&gt; scripts: add auto-stripe option to lfs_migrate&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 99d7a8ed43be126b2769ad8bb0b5350cd328ed7f&lt;/p&gt;</comment>
                            <comment id="243259" author="pjones" created="Sun, 3 Mar 2019 14:39:02 +0000"  >&lt;p&gt;Landed for 2.13&lt;/p&gt;</comment>
                            <comment id="259448" author="gerrit" created="Mon, 9 Dec 2019 08:57:44 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/36958&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36958&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8207&quot; title=&quot;Add auto-stripe option to lfs_migrate&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8207&quot;&gt;&lt;del&gt;LU-8207&lt;/del&gt;&lt;/a&gt; scripts: add auto-stripe option to lfs_migrate&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 70db4d54052c47b2d77641ed26464aabd26efccb&lt;/p&gt;</comment>
                            <comment id="260592" author="gerrit" created="Fri, 3 Jan 2020 23:43:44 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/36958/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36958/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8207&quot; title=&quot;Add auto-stripe option to lfs_migrate&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8207&quot;&gt;&lt;del&gt;LU-8207&lt;/del&gt;&lt;/a&gt; scripts: add auto-stripe option to lfs_migrate&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: f1edda04ac6821ffa2c1e9be01437a55852df4cf&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="25084">LU-5170</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="57668">LU-13090</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="37384">LU-8235</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="27979">LU-6051</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="21638" name="lfs_migrate_auto-stripe.patch" size="4462" author="ndauchy" created="Thu, 26 May 2016 16:53:12 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzycxj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>