<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:23:22 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-9116] overflow of bandwidth caculation at crypto alg test</title>
                <link>https://jira.whamcloud.com/browse/LU-9116</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In our production, we can get more bcount with crc32c crypto alg, but the test program report really bad bandwidth of it as following (with debug patch):&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;42080.712841&amp;#93;&lt;/span&gt; bcount=1942, buf_len=1048576, j_start=4338031978, j_end=4338032978, jiffies_to_msecs(end - start):1000&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;42080.712843&amp;#93;&lt;/span&gt; Crypto hash algorithm adler32   speed = 1941 MB/s&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;42081.712632&amp;#93;&lt;/span&gt; bcount=10633, buf_len=1048576, j_start=4338032978, j_end=4338033978, jiffies_to_msecs(end - start):1000&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;42081.712634&amp;#93;&lt;/span&gt; Crypto hash algorithm crc32     speed = 2440 MB/s&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;42082.714242&amp;#93;&lt;/span&gt; bcount=462, buf_len=1048576, j_start=4338033978, j_end=4338034979, jiffies_to_msecs(end - start):1001&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;42082.714244&amp;#93;&lt;/span&gt; Crypto hash algorithm md5       speed = 461 MB/s&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;42083.713626&amp;#93;&lt;/span&gt; bcount=693, buf_len=1048576, j_start=4338034979, j_end=4338035979, jiffies_to_msecs(end - start):1000&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;42083.713628&amp;#93;&lt;/span&gt; Crypto hash algorithm sha1      speed = 692 MB/s&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;42084.715960&amp;#93;&lt;/span&gt; bcount=282, buf_len=1048576, j_start=4338035979, j_end=4338036981, jiffies_to_msecs(end - start):1002&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;42084.715963&amp;#93;&lt;/span&gt; Crypto hash algorithm sha256    speed = 281 MB/s&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;42085.716777&amp;#93;&lt;/span&gt; bcount=390, buf_len=1048576, j_start=4338036981, j_end=4338037982, jiffies_to_msecs(end - start):1001&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;42085.716779&amp;#93;&lt;/span&gt; Crypto hash algorithm sha384    speed = 389 MB/s&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;42086.717483&amp;#93;&lt;/span&gt; bcount=390, buf_len=1048576, j_start=4338037982, j_end=4338038983, jiffies_to_msecs(end - start):1001&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;42086.717485&amp;#93;&lt;/span&gt; Crypto hash algorithm sha512    speed = 389 MB/s&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;42087.717192&amp;#93;&lt;/span&gt; bcount=12562, buf_len=1048576, j_start=4338038983, j_end=4338039983, jiffies_to_msecs(end - start):1000&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;42087.717194&amp;#93;&lt;/span&gt; Crypto hash algorithm crc32c    speed = 273 MB/s&lt;/p&gt;

&lt;p&gt;That&apos;s because bcount and buf_len are both int, and no force convert in the caculation code:&lt;br/&gt;
                tmp = ((bcount * buf_len / jiffies_to_msecs(end - start)) *&lt;br/&gt;
                       1000) / (1024 * 1024);&lt;/p&gt;</description>
                <environment></environment>
        <key id="43803">LU-9116</key>
            <summary>overflow of bandwidth caculation at crypto alg test</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</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="emoly.liu">Emoly Liu</assignee>
                                    <reporter username="cengku9660">Gu Zheng</reporter>
                        <labels>
                            <label>cea</label>
                            <label>patch</label>
                    </labels>
                <created>Tue, 14 Feb 2017 03:24:22 +0000</created>
                <updated>Tue, 9 May 2017 13:03:39 +0000</updated>
                            <resolved>Sat, 18 Mar 2017 13:48:27 +0000</resolved>
                                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="184719" author="gerrit" created="Tue, 14 Feb 2017 03:31:33 +0000"  >&lt;p&gt;Gu Zheng (gzheng@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/25436&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/25436&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9116&quot; title=&quot;overflow of bandwidth caculation at crypto alg test&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9116&quot;&gt;&lt;del&gt;LU-9116&lt;/del&gt;&lt;/a&gt; libcfs: avoid overflow of crypto bandwidth caculation&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f80b5d34adb87cbbb84705d31a1badb196441a71&lt;/p&gt;</comment>
                            <comment id="184819" author="pjones" created="Tue, 14 Feb 2017 18:23:01 +0000"  >&lt;p&gt;Emoly&lt;/p&gt;

&lt;p&gt;Could you please review this patch?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="186559" author="gerrit" created="Wed, 1 Mar 2017 05:12:21 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/25436/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/25436/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9116&quot; title=&quot;overflow of bandwidth caculation at crypto alg test&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9116&quot;&gt;&lt;del&gt;LU-9116&lt;/del&gt;&lt;/a&gt; libcfs: avoid overflow of crypto bandwidth caculation&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 0c8d53e17be600c99e4a8f96062f39306c3ccad8&lt;/p&gt;</comment>
                            <comment id="188859" author="pjones" created="Sat, 18 Mar 2017 13:48:28 +0000"  >&lt;p&gt;Landed for 2.10&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </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|hzz3qn:</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>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>