<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:46:49 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-11775] buffered write single client improvements</title>
                <link>https://jira.whamcloud.com/browse/LU-11775</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;After landing &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9906&quot; title=&quot;Allow Lustre page dropping to use pagevec_release&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9906&quot;&gt;&lt;del&gt;LU-9906&lt;/del&gt;&lt;/a&gt; the read performance improved to an acceptable level. Write performance also increased but still needs some improvements to reach the same level. This ticket tracks the work.&lt;/p&gt;</description>
                <environment></environment>
        <key id="54292">LU-11775</key>
            <summary>buffered write single client improvements</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="dongyang">Dongyang Li</assignee>
                                    <reporter username="dongyang">Dongyang Li</reporter>
                        <labels>
                    </labels>
                <created>Fri, 14 Dec 2018 04:33:45 +0000</created>
                <updated>Sat, 13 Jun 2020 11:25:25 +0000</updated>
                            <resolved>Sat, 13 Jun 2020 11:25:25 +0000</resolved>
                                                    <fixVersion>Lustre 2.13.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="238588" author="gerrit" created="Fri, 14 Dec 2018 04:41:02 +0000"  >&lt;p&gt;Li Dongyang (dongyangli@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33858&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33858&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11775&quot; title=&quot;buffered write single client improvements&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11775&quot;&gt;&lt;del&gt;LU-11775&lt;/del&gt;&lt;/a&gt; osc: reduce lock contention in osc_unreserve_grant&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: ffcc069b2b654f6437b090b8ff8c67b5d1ac2ea6&lt;/p&gt;</comment>
                            <comment id="238589" author="gerrit" created="Fri, 14 Dec 2018 04:41:03 +0000"  >&lt;p&gt;Li Dongyang (dongyangli@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33859&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33859&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11775&quot; title=&quot;buffered write single client improvements&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11775&quot;&gt;&lt;del&gt;LU-11775&lt;/del&gt;&lt;/a&gt; osc: reduce atomic ops in osc_enter_cache_try&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 95d0af71efca35ea610bbddec2025100b052cdf5&lt;/p&gt;</comment>
                            <comment id="238590" author="gerrit" created="Fri, 14 Dec 2018 04:41:03 +0000"  >&lt;p&gt;Li Dongyang (dongyangli@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33860&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33860&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11775&quot; title=&quot;buffered write single client improvements&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11775&quot;&gt;&lt;del&gt;LU-11775&lt;/del&gt;&lt;/a&gt; osc: check if opg is in lru list without locking&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 4225477391bd60784151a6102f1fc989e11f7a92&lt;/p&gt;</comment>
                            <comment id="238591" author="gerrit" created="Fri, 14 Dec 2018 04:41:04 +0000"  >&lt;p&gt;Li Dongyang (dongyangli@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33861&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33861&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11775&quot; title=&quot;buffered write single client improvements&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11775&quot;&gt;&lt;del&gt;LU-11775&lt;/del&gt;&lt;/a&gt; obdclass: protect imp_sec using rwlock_t&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 87b1a916e6955c10943d6ee6b9b4d9af393c93cc&lt;/p&gt;</comment>
                            <comment id="238592" author="gerrit" created="Fri, 14 Dec 2018 04:41:05 +0000"  >&lt;p&gt;Li Dongyang (dongyangli@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33862&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33862&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11775&quot; title=&quot;buffered write single client improvements&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11775&quot;&gt;&lt;del&gt;LU-11775&lt;/del&gt;&lt;/a&gt; osc: check imp_invalid without imp_lock&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: db8dda7213403e2b2caedf33b55e4fa5f2e62db6&lt;/p&gt;</comment>
                            <comment id="238597" author="dongyang" created="Fri, 14 Dec 2018 07:09:29 +0000"  >&lt;p&gt;As we can see &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9920&quot; title=&quot;Use pagevec for marking pages dirty&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9920&quot;&gt;&lt;del&gt;LU-9920&lt;/del&gt;&lt;/a&gt; can reduce the overhead in set_page_dirty/write_commit_callback.&lt;/p&gt;

&lt;p&gt;There is still&#160;__&#160;_raw_spin_lock from osc_page_cache_add which I can not figure out the exact location.&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
mpirun -np 32 ior -w -t 16m -b 16g -F -e -vv -o /cache1/file -k&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;master:&lt;/p&gt;

&lt;p&gt;Max Write: 15237.92 MiB/sec (15978.12 MB/sec)&lt;/p&gt;

&lt;p&gt;master + &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11775&quot; title=&quot;buffered write single client improvements&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11775&quot;&gt;&lt;del&gt;LU-11775&lt;/del&gt;&lt;/a&gt;:&lt;/p&gt;

&lt;p&gt;Max Write: 17045.11 MiB/sec (17873.09 MB/sec)&lt;/p&gt;

&lt;p&gt;master + &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11775&quot; title=&quot;buffered write single client improvements&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11775&quot;&gt;&lt;del&gt;LU-11775&lt;/del&gt;&lt;/a&gt; + &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9920&quot; title=&quot;Use pagevec for marking pages dirty&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9920&quot;&gt;&lt;del&gt;LU-9920&lt;/del&gt;&lt;/a&gt;:&lt;/p&gt;

&lt;p&gt;Max Write: 17476.77 MiB/sec (18325.72 MB/sec)&lt;/p&gt;</comment>
                            <comment id="241667" author="pfarrell" created="Sun, 10 Feb 2019 16:19:57 +0000"  >&lt;p&gt;Li,&lt;/p&gt;

&lt;p&gt;Looking at your graphics, I think maybe osc_lru_use has been inlined in to osc_page_cache_add.&#160; I haven&apos;t dug in to &quot;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11775&quot; title=&quot;buffered write single client improvements&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11775&quot;&gt;&lt;del&gt;LU-11775&lt;/del&gt;&lt;/a&gt; osc: check if opg is in lru list without locking&quot; yet, but I don&apos;t think it would stop us from hitting that lock entirely.&lt;/p&gt;

&lt;p&gt;If you&apos;d like to avoid inlining, the easiest way I&apos;ve found is calling that function via a function pointer.&#160; Then you could see it easily in your traces again.&#160; (There are various &quot;don&apos;t inline&quot; directives, but I&apos;ve never been able to get them to work when building Lustre.)&lt;/p&gt;</comment>
                            <comment id="241691" author="dongyang" created="Mon, 11 Feb 2019 07:18:49 +0000"  >&lt;p&gt;Patrick, thanks for the nice tip!&lt;/p&gt;

&lt;p&gt;Yes I&apos;ve been using noinline directive but&#160;apparently it did not work.&lt;/p&gt;

&lt;p&gt;I will give it a shot when I can get to the environment, and provide an update on &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9920&quot; title=&quot;Use pagevec for marking pages dirty&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9920&quot;&gt;&lt;del&gt;LU-9920&lt;/del&gt;&lt;/a&gt; as well.&lt;/p&gt;

&lt;p&gt;Cheers&lt;/p&gt;

&lt;p&gt;DY&lt;/p&gt;</comment>
                            <comment id="241831" author="adilger" created="Wed, 13 Feb 2019 05:29:32 +0000"  >&lt;blockquote&gt;
&lt;p&gt;master:&lt;br/&gt;
Max Write: 15237.92 MiB/sec (15978.12 MB/sec)&lt;/p&gt;

&lt;p&gt;master + &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11775&quot; title=&quot;buffered write single client improvements&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11775&quot;&gt;&lt;del&gt;LU-11775&lt;/del&gt;&lt;/a&gt;:&lt;br/&gt;
Max Write: 17045.11 MiB/sec (17873.09 MB/sec)&lt;/p&gt;

&lt;p&gt;master + &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11775&quot; title=&quot;buffered write single client improvements&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11775&quot;&gt;&lt;del&gt;LU-11775&lt;/del&gt;&lt;/a&gt; + &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9920&quot; title=&quot;Use pagevec for marking pages dirty&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9920&quot;&gt;&lt;del&gt;LU-9920&lt;/del&gt;&lt;/a&gt;:&lt;br/&gt;
Max Write: 17476.77 MiB/sec (18325.72 MB/sec)&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;This information should go into the commit comments of the various patches, like &lt;a href=&quot;https://review.whamcloud.com/28667&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/28667&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="242889" author="gerrit" created="Wed, 27 Feb 2019 02:01:54 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/33859/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33859/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11775&quot; title=&quot;buffered write single client improvements&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11775&quot;&gt;&lt;del&gt;LU-11775&lt;/del&gt;&lt;/a&gt; osc: reduce atomic ops in osc_enter_cache_try&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 8b364fbd6bd9e0088440e6d6837861a641b923a0&lt;/p&gt;</comment>
                            <comment id="242966" author="gerrit" created="Wed, 27 Feb 2019 18:03:08 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/33860/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33860/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11775&quot; title=&quot;buffered write single client improvements&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11775&quot;&gt;&lt;del&gt;LU-11775&lt;/del&gt;&lt;/a&gt; osc: check if opg is in lru list without locking&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: b3af0798682b24d0f39424a7db12c9710a0e64b4&lt;/p&gt;</comment>
                            <comment id="249913" author="gerrit" created="Tue, 25 Jun 2019 01:54:17 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/33858/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33858/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11775&quot; title=&quot;buffered write single client improvements&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11775&quot;&gt;&lt;del&gt;LU-11775&lt;/del&gt;&lt;/a&gt; osc: reduce lock contention in osc_unreserve_grant&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 8a1ae45a3e4f828346c890bf4ccacbd68ea6752c&lt;/p&gt;</comment>
                            <comment id="250184" author="gerrit" created="Thu, 27 Jun 2019 21:34:31 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/33861/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33861/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11775&quot; title=&quot;buffered write single client improvements&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11775&quot;&gt;&lt;del&gt;LU-11775&lt;/del&gt;&lt;/a&gt; obdclass: protect imp_sec using rwlock_t&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 8ed361345154138473707855b2030bad371e96dd&lt;/p&gt;</comment>
                            <comment id="272574" author="adilger" created="Thu, 11 Jun 2020 08:21:51 +0000"  >&lt;p&gt;Dongyang, is there still work to be done for this ticket?  It looks like the patches are included in 2.13.&lt;/p&gt;</comment>
                            <comment id="272724" author="dongyang" created="Fri, 12 Jun 2020 06:50:08 +0000"  >&lt;p&gt;No more patches and I think this ticket can be closed now&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="47978">LU-9920</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="54818">LU-11942</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="31637" name="master+LU-11775+LU-9920.svg" size="328019" author="dongyang" created="Fri, 14 Dec 2018 06:51:51 +0000"/>
                            <attachment id="31638" name="master+LU-11775.svg" size="312934" author="dongyang" created="Fri, 14 Dec 2018 06:51:51 +0000"/>
                            <attachment id="31639" name="master.svg" size="281843" author="dongyang" created="Fri, 14 Dec 2018 06:51:50 +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|i0080f:</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>