<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:27:34 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>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-12087] GSSAPI Auth use ~10% more memory during perf test</title>
                <link>https://jira.mongodb.org/browse/SERVER-12087</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;During QA-402 testing, found out 2.5.5-pre use 10-15% more memory than that of 2.4.8 when running with GSSAPI auth. Here are the details:&lt;/p&gt;

&lt;p&gt;summary for resident memory usage&lt;/p&gt;
&lt;div class=&apos;table-wrap&apos;&gt;
&lt;table class=&apos;confluenceTable&apos;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;th class=&apos;confluenceTh&apos;&gt; Version &lt;/th&gt;
&lt;th class=&apos;confluenceTh&apos;&gt; RSS Memory &lt;/th&gt;
&lt;th class=&apos;confluenceTh&apos;&gt; % increase &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; 2.4.8 &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; 134.98M &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; 2.5.5-pre (2013-12-05) &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; 148.02M &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; 9.66% &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; 2.4.8 ssl &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; 142.13M &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; 2.5.5-pre (2013-12-05) &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; 159.37M &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; 12.13% &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;


&lt;p&gt;Virtual memory usage also big growth, here are the output from testing:&lt;/p&gt;

&lt;p&gt;&lt;b&gt;GSSAPI Auth/non-SSL:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;2.5.5-pre GSSAPI   RSS  uses  &lt;b&gt;9.48677204876%&lt;/b&gt; more than  2.4.8 GSSAPI | 153033.71855 vs 139773.705706&lt;br/&gt;
2.5.5-pre GSSAPI   VSZ  uses  &lt;b&gt;23.4819475555%&lt;/b&gt; more than  2.4.8 GSSAPI | 879632.051173 vs 712356.800801&lt;/p&gt;

&lt;p&gt;&lt;b&gt;GSSAPI SSL:&lt;/b&gt;&lt;br/&gt;
2.5.5-pre GSSAPI/SSL   RSS  uses  &lt;b&gt;11.9241130121%&lt;/b&gt; more than  2.4.8 GSSAPI/SSL | 164746.567901 vs 147194.883629&lt;br/&gt;
2.5.5-pre GSSAPI/SSL   VSZ  uses  &lt;b&gt;23.1469306126%&lt;/b&gt; more than  2.4.8 GSSAPI/SSL | 886774.061728 vs 720094.327416&lt;/p&gt;

&lt;p&gt;for comparison, local based auth test does not show memory growth&lt;/p&gt;

&lt;p&gt;2.5.5-pre Local   RSS  uses  2.9495666401 % more than  2.4.8 Local | 46724.4615385 vs 45385.7777778&lt;br/&gt;
2.5.5-pre Local   VSZ  uses  0.520006033054 % more than  2.4.8 Local | 785475.538462 vs 781412.148148&lt;/p&gt;</description>
                <environment>2.5.5-pre (2013-12-05) &amp;amp; enterprise-e0a4cb5c5d6421805632d680c79e5bbc06853e99-2013-12-11 </environment>
        <key id="102137">SERVER-12087</key>
            <summary>GSSAPI Auth use ~10% more memory during perf test</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="schwerin@mongodb.com">Andy Schwerin</assignee>
                                    <reporter username="rui.zhang">Rui Zhang</reporter>
                        <labels>
                            <label>26qa</label>
                    </labels>
                <created>Fri, 13 Dec 2013 16:45:55 +0000</created>
                <updated>Mon, 11 Jul 2016 17:37:22 +0000</updated>
                            <resolved>Thu, 30 Jan 2014 19:02:04 +0000</resolved>
                                    <version>2.5.3</version>
                                                    <component>Security</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="490989" author="schwerin" created="Thu, 30 Jan 2014 19:02:04 +0000"  >&lt;p&gt;This appears to be per-connection library overhead.  We might be able to reduce with extra work, but the overhead is pretty low, so we&apos;ll let it go for now.&lt;/p&gt;</comment>
                            <comment id="489738" author="rui.zhang" created="Tue, 28 Jan 2014 22:49:57 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=schwerin&quot; class=&quot;user-hover&quot; rel=&quot;schwerin&quot;&gt;schwerin&lt;/a&gt; will repeat the same test with 2.4.8 first. &lt;/p&gt;</comment>
                            <comment id="489471" author="rui.zhang" created="Tue, 28 Jan 2014 19:52:33 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=schwerin&quot; class=&quot;user-hover&quot; rel=&quot;schwerin&quot;&gt;schwerin&lt;/a&gt; got it,  I will run and get back today..&lt;/p&gt;</comment>
                            <comment id="488841" author="schwerin" created="Tue, 28 Jan 2014 17:01:47 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rui.zhang&quot; class=&quot;user-hover&quot; rel=&quot;rui.zhang&quot;&gt;rui.zhang&lt;/a&gt;, what does memory usage look like if you have 10 batches of 1,000 connections?  100 batches of 1,000 connections?  I&apos;m trying to determine if this extra memory footprint is a function of something that rises with the number of simultaneous connections., and if so, what the per-connection byte overhead is.&lt;/p&gt;</comment>
                            <comment id="487952" author="dan@10gen.com" created="Sun, 26 Jan 2014 21:34:25 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rui.zhang&quot; class=&quot;user-hover&quot; rel=&quot;rui.zhang&quot;&gt;rui.zhang&lt;/a&gt;, do you have more data here?&lt;/p&gt;</comment>
                            <comment id="482311" author="rui.zhang" created="Wed, 15 Jan 2014 05:19:03 +0000"  >&lt;p&gt;had CRAM-MD5 setup, but we do not have its support in our driver (pymongo), got a patch from Bernie, tested it this afternoon, we were getting &quot;AuthenticationFailed SASL(-13): authentication failure: incorrect digest response&quot; will continue work with Bernie to get it working. &lt;/p&gt;

&lt;p&gt;Just check initial memory usage, does not have any revealing information.&lt;/p&gt;

&lt;p&gt;Re-run test with latest nightly build, memory usage still show similar trend. will crunching data bit more&lt;/p&gt;</comment>
                            <comment id="480241" author="schwerin" created="Fri, 10 Jan 2014 16:44:00 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rui.zhang&quot; class=&quot;user-hover&quot; rel=&quot;rui.zhang&quot;&gt;rui.zhang&lt;/a&gt;, have you had a chance to run with CRAM-MD5, yet?&lt;/p&gt;</comment>
                            <comment id="470617" author="schwerin" created="Fri, 13 Dec 2013 18:42:36 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rui.zhang&quot; class=&quot;user-hover&quot; rel=&quot;rui.zhang&quot;&gt;rui.zhang&lt;/a&gt;, does memory usage grow as a function of the number of simultaneous authentications in progress, or as a function of time, or as the number of open connections?  Does it grown with time if you let the test run for hours?  Also, can you run the tests using the CRAM-MD5 auth mechanism?  It works just like MONGODB-CR, but is a SASL mechanism, and so uses the SASL machinery.  I&apos;m hoping to isolate the source of memory overhead.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="35387" name="mem_comparison_248_vs_255p.png" size="151958" author="rui.zhang" created="Fri, 13 Dec 2013 21:21:27 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 13 Dec 2013 18:42:36 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 2 weeks, 6 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>false</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 2 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>dan@mongodb.com</customfieldvalue>
            <customfieldvalue>rui.zhang</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrm5hr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrurjb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>93447</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10166" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Tests Written</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10154"><![CDATA[Complete]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlapz:</customfieldvalue>

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