<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:33:47 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-3423] Create LFSCK II Test Plan and attach to Jira ticket</title>
                <link>https://jira.whamcloud.com/browse/LU-3423</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Create the test plan for all of LFSCK Phase II and attach to the Jira ticket so that the test engineers know how to test the feature for the release.&lt;/p&gt;</description>
                <environment></environment>
        <key id="19235">LU-3423</key>
            <summary>Create LFSCK II Test Plan and attach to Jira ticket</summary>
                <type id="7" iconUrl="https://jira.whamcloud.com/images/icons/issuetypes/task_agile.png">Technical task</type>
                            <parent id="13763">LU-1267</parent>
                                    <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="yong.fan">nasf</assignee>
                                    <reporter username="jlevi">Jodi Levi</reporter>
                        <labels>
                    </labels>
                <created>Thu, 30 May 2013 19:46:50 +0000</created>
                <updated>Tue, 29 Jul 2014 20:47:48 +0000</updated>
                            <resolved>Thu, 1 May 2014 21:22:04 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="71780" author="yong.fan" created="Mon, 18 Nov 2013 14:05:42 +0000"  >&lt;p&gt;FLSCK 2 test plan (ldiskfs only)&lt;br/&gt;
****************&lt;/p&gt;

&lt;p&gt;1. Correctness&lt;br/&gt;
----------------&lt;br/&gt;
1.1) sanity-lfsck on Maloo with commit message &quot;Test-Parameters: envdefinitions=ENABLE_QUOTA=yes mdtcount=2 testlist=sanity-lfsck&quot;. All test cases should pass.&lt;br/&gt;
1.2) sanity-scrub on Maloo with commit message &quot;Test-Parameters: envdefinitions=ENABLE_QUOTA=yes testlist=sanity-scrub&quot;. All test cases should pass.&lt;br/&gt;
1.3) normal acc-sm tests on Maloo. All test cases should pass except for some known master failures.&lt;/p&gt;

&lt;p&gt;2. Performance&lt;br/&gt;
----------------&lt;br/&gt;
The file set to be tested should be generated with the following conditions:&lt;br/&gt;
A) Create &apos;L&apos; test root directories, &apos;L&apos; is the MDTs count, for the test root dir-X, it locates on the MDT-X.&lt;br/&gt;
B) Set default stripe size as 64KB, and default stripe count as &apos;M&apos;.&lt;br/&gt;
B) Create &apos;N&apos; sub-directories under each test root directory.&lt;br/&gt;
C) Under each sub-directory, generate 100K normal files, each file contains 64 * &apos;M&apos; KB data. &lt;/p&gt;

&lt;p&gt;2.1) LFSCK against healthy 2.x system for consistency routine check.&lt;br/&gt;
2.1.1) Create above test file sets with Lustre-2.6.&lt;br/&gt;
2.1.2) Test the highest LFSCK speeds (full speed, without other work load) under different file sets: &apos;N&apos; = 2, 4, 8, 16; and with different stripe counts: &apos;M&apos; = 1, 2, 4; and with different MDTs count: &apos;L&apos; = 1, 2, 4.&lt;/p&gt;

&lt;p&gt;2.2) LFSCK against the lustre-2.x system with inconsistent layout OST-objects.&lt;br/&gt;
2.2.1) On the OSS, set fail_loc to skip the XATTR_NAME_FID set to simulate the case of MDT-OST inconsistency&lt;br/&gt;
2.2.2) Create above test file sets with Lustre-2.6.&lt;br/&gt;
2.2.3) Test the highest LFSCK speeds (full speed, without other work load) under different file sets: &apos;N&apos; = 2, 4, 8, 16; and with different stripe counts: &apos;M&apos; = 1, 2, 4; and with different MDTs count: &apos;L&apos; = 1, 2, 4.&lt;/p&gt;

&lt;p&gt;3. Small files create performance impact by LFSCK&lt;br/&gt;
----------------&lt;br/&gt;
Measure how much the routine LFSCK will affect normal small files create performance. Generate test file set as described in section 2 with N = 16, M = 4, L = 1.&lt;br/&gt;
3.1) Run LFSCK with full speed on the file set. At the same time, use &apos;C&apos; threads to create 512K (or 256K files if the LFSCK run too fast) small files in parallel, each file is 64KB single striped. Each thread creates under its private directory, and create 512K / &apos;C&apos; files.&lt;br/&gt;
3.2) Measure the create performance with different lfsck speed limit. According to the 3.1) result, we can know the highest speed for lfsck with small files create work load, assume it is &apos;S&apos;. Then repeat the test with LFSCK speed limit = (1/4)&apos;S&apos;, (1/2)&apos;S&apos;, (3/4)&apos;S&apos;.&lt;/p&gt;

&lt;p&gt;4. Scale test&lt;br/&gt;
----------------&lt;br/&gt;
Run LFSCK on more MDTs (&apos;L&apos; = 16) and OSTs (&apos;M&apos; = 16) for MDT-OST consistency verification.&lt;br/&gt;
4.1) To verify whether there will be correctness issues under such scale mode.&lt;br/&gt;
4.2  To verify whether the LFSCK mechanism is runnable under large scale mode, such as whether very slow or not.&lt;/p&gt;

&lt;p&gt;5. Resource requirement.&lt;br/&gt;
----------------&lt;br/&gt;
5.1) Test 1 can be done locally and on Maloo.&lt;br/&gt;
5.2) Test 2/3 need at least 4 MDS nodes, 2 OSS nodes, and 1 client.&lt;br/&gt;
5.3) We can use the same hardware as test2/3 using, but it is better to use more real servers.&lt;br/&gt;
5.4) Each OSS node needs at least 1TB storage.&lt;/p&gt;</comment>
                            <comment id="73649" author="jlevi" created="Tue, 17 Dec 2013 04:45:48 +0000"  >&lt;p&gt;Link to Lustre Feature Test Plan Template:  &lt;a href=&quot;https://wiki.hpdd.intel.com/display/PMP/Lustre+Feature+Test+Plan+Template&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.hpdd.intel.com/display/PMP/Lustre+Feature+Test+Plan+Template&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="78211" author="jlevi" created="Mon, 3 Mar 2014 13:52:11 +0000"  >&lt;p&gt;Test plan is attached to ticket. Will update test plan as needed but will close this ticket as complete.&lt;/p&gt;</comment>
                            <comment id="80521" author="spitzcor" created="Fri, 28 Mar 2014 20:23:23 +0000"  >&lt;p&gt;Thanks, Jodi.  The attached plan has embedded links to things like &lt;a href=&quot;https://wiki.hpdd.intel.com/display/ENG/Regression+Test+Suites+and+Failover+&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.hpdd.intel.com/display/ENG/Regression+Test+Suites+and+Failover+&lt;/a&gt;&lt;br/&gt;
Test+Suites, which we don&apos;t have access to.&lt;/p&gt;</comment>
                            <comment id="80614" author="jlevi" created="Mon, 31 Mar 2014 15:14:59 +0000"  >&lt;p&gt;Sorry if the mention of the internal links in the Test Plan Template caused confusion. We will avoid using those links in any actual test plans. Please let me know if you see any of these links in actual test plans, and I will get it corrected.&lt;br/&gt;
Thank you!&lt;/p&gt;</comment>
                            <comment id="82842" author="jlevi" created="Wed, 30 Apr 2014 12:57:24 +0000"  >&lt;p&gt;The test plan needs to be updated based on changes made to the functionality since the plan was written. James Nunez has the details. I will ask him to provide in this ticket.&lt;/p&gt;</comment>
                            <comment id="82941" author="jamesanunez" created="Wed, 30 Apr 2014 22:29:53 +0000"  >&lt;p&gt;With recent patch landings to LFSCK, there are a few more options to choose from. Should we incorporate some of these into the existing test plan? &lt;/p&gt;

&lt;p&gt;All of the new options need to be tested, but for for any of the existing tests, that revolve around performance, do we want to :&lt;br/&gt;
Create lost OST-objects (-c)?&lt;br/&gt;
Handle orphan objects (-o)?&lt;br/&gt;
What type should we run namespace, layout or both?&lt;/p&gt;

&lt;p&gt;Since XATTR_NAME_FID does not exist, in test 2.2, is setting fail_loc to OBD_LFSCK_UNMATCHED_PAIR* or OBD_LFSCK_INVALID_PFID just as good or will repairing different failures cause dramatically different performance results? Is LFSCK_DANGLING preferred?&lt;/p&gt;</comment>
                            <comment id="82947" author="yong.fan" created="Wed, 30 Apr 2014 22:48:48 +0000"  >&lt;p&gt;The new options &quot;-c&quot; has been tested in the sanity-lfsck.sh test_14/test_18; the new options &quot;-o&quot; has been tested by the sanity-lfsck.sh test_18. They are part of the test plan 1.1)&lt;/p&gt;

&lt;p&gt;LFSCK II test plan only needs to cover layout LFSCK, not necessary for namespace LFSCK which has already been done in LFSCK 1.5&lt;/p&gt;

&lt;p&gt;Currently, the LFSCK use single async OUT RPC to repair the inconsistency except the orphan handling. Means in spite of dangling reference or unmatched MDT-OST pairs or multiple references or inconsistent owner, they should not affect the repairing performance much. So I select the dangling reference case in the lfsck-performance.sh, which is easy to be simulated. I do not think we need to test all kinds of different inconsistency performance unless we have strong requirement and enough time to do that.&lt;/p&gt;</comment>
                            <comment id="83047" author="jlevi" created="Thu, 1 May 2014 21:22:04 +0000"  >&lt;p&gt;James&apos; questions have been answered and the test plan does not need to be updated at this point.&lt;/p&gt;</comment>
                            <comment id="90386" author="jamesanunez" created="Tue, 29 Jul 2014 20:47:48 +0000"  >&lt;p&gt;Here are the results for the LFSCK Phase II test plan. I plan to add past results to and clean up the presentation of results in this document.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="15435" name="LFSCK2 Test Results.docx" size="66043" author="jamesanunez" created="Tue, 29 Jul 2014 20:47:48 +0000"/>
                            <attachment id="14034" name="Lustre Feature Test Plan Template.docx" size="84834" author="jlevi" created="Wed, 29 Jan 2014 21:12:03 +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|hzvsbz:</customfieldvalue>

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