<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:20:31 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>[CDRIVER-4300] Lock contention in mongoc_ts_pool_return</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-4300</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;Following up on the improvements in &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4002&quot; title=&quot;Improve multi-threaded perf for mongoc_client_pool_t&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4002&quot;&gt;&lt;del&gt;CDRIVER-4002&lt;/del&gt;&lt;/a&gt; as part of PERF-2203, we are still seeing some lesser contention in mongoc_ts_pool_return. We are seeing between 38 and 136 samples out of 2500 samples waiting on this lock.&lt;/p&gt;

&lt;p&gt;This is far better than before the upgrade with &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4002&quot; title=&quot;Improve multi-threaded perf for mongoc_client_pool_t&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4002&quot;&gt;&lt;del&gt;CDRIVER-4002&lt;/del&gt;&lt;/a&gt;, but may be responsible for part of the 14 ms latency we&apos;re seeing.&lt;/p&gt;

&lt;p&gt;Please loop me in to any investigations here; now that TIG-3599 has been done we can revendor the C++ driver into genny very quickly and easily, so can very tightly iterate with y&apos;all on this.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1986059">CDRIVER-4300</key>
            <summary>Lock contention in mongoc_ts_pool_return</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="13203">Gone away</resolution>
                                        <assignee username="kyle.kloberdanz@mongodb.com">Kyle Kloberdanz</assignee>
                                    <reporter username="carl.worley@mongodb.com">Raiden Worley</reporter>
                        <labels>
                    </labels>
                <created>Thu, 17 Feb 2022 22:22:57 +0000</created>
                <updated>Tue, 21 Nov 2023 15:15:38 +0000</updated>
                            <resolved>Tue, 21 Nov 2023 15:15:26 +0000</resolved>
                                                                    <component>Performance</component>
                                        <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="5895552" author="JIRAUSER1271575" created="Tue, 21 Nov 2023 15:15:00 +0000"  >&lt;p&gt;After extensive testing, I was unable to replicate this issue. Because PERF-2203 is already over a year and a half old as of writing, all people associated with this ticket are no longer with the company, and none of the current members of the perf or Genny teams have encountered this issue, we have decided to close this ticket as &quot;Gone Away&quot;. If anyone encounters this issue, please re-open it and notify the C Driver team. Please share any and all steps necessary to recreate the issue.&lt;/p&gt;

&lt;p&gt;I detailed how to recreate my testing in Confluence here:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://wiki.corp.mongodb.com/display/DRIVERS/Lock+Contention+Issue+In+The+Mongo+C+Driver&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.corp.mongodb.com/display/DRIVERS/Lock+Contention+Issue+In+The+Mongo+C+Driver&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4374862" author="carl.worley" created="Thu, 24 Feb 2022 17:12:03 +0000"  >&lt;p&gt;We are also seeing a lot of samples in &lt;tt&gt;mc_tpld_modify_begin&lt;/tt&gt;, see comments on the related perf ticket. Posting in this ticket in case they&apos;re related, but can spin out a separate ticket if preferred.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY24Q3</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr6i7r:f9</customfieldvalue>

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