<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:23:52 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-73168] diminish the ServiceExecutor benchmark under ASAN</title>
                <link>https://jira.mongodb.org/browse/SERVER-73168</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Since the service_executor_bm benchmark was introduced in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-69570&quot; title=&quot;ServiceExecutorSynchronous inefficiencies&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-69570&quot;&gt;&lt;del&gt;SERVER-69570&lt;/del&gt;&lt;/a&gt;, it has been having trouble running under ASAN, and so the associated BF-26477 has become a nuisance on v6.2 and on master branches.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/BF-26477?focusedCommentId=5128584&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-5128584&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;This comment on that BF&lt;/a&gt; explains the situation.&lt;/p&gt;

&lt;p&gt;Under ASAN, the benchmark has trouble allocating threads quickly.&lt;br/&gt;
Unfortunately it needs lots of threads to test the cost of creating them.&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;[benchmark_test:service_executor_bm] ==127545==ERROR: AddressSanitizer failed to allocate 0xe000 (57344) bytes of Create (error code: 12)&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;[benchmark_test:service_executor_bm] ERROR: Failed to mmap&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;ASAN builds are extremely slow, and they don&apos;t generate useful benchmark results. We would run a benchmark under ASAN to find correctness issues in the benchmark, but the benchmark&apos;s generated numbers aren&apos;t representative of production and not really useful.&lt;/p&gt;

&lt;p&gt;I think it would be prudent to have the benchmark&apos;s code detect ASAN with a preprocessor ifdef. If it&apos;s an ASAN build, it would run the benchmark loop once instead of the full amount that the benchmark library specifies. This should fix the ASAN mapping problem as we won&apos;t be generating an inordinate number of threads anymore.&lt;/p&gt;

&lt;p&gt;This small tweak to the benchmark should be backported to v6.2 as well.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2239555">SERVER-73168</key>
            <summary>diminish the ServiceExecutor benchmark under ASAN</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="billy.donahue@mongodb.com">Billy Donahue</assignee>
                                    <reporter username="billy.donahue@mongodb.com">Billy Donahue</reporter>
                        <labels>
                    </labels>
                <created>Sat, 21 Jan 2023 00:25:50 +0000</created>
                <updated>Fri, 27 Oct 2023 20:44:59 +0000</updated>
                            <resolved>Tue, 7 Feb 2023 21:11:37 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="5176038" author="billy.donahue" created="Tue, 7 Feb 2023 21:11:37 +0000"  >&lt;p&gt;The BF that prompted this ticket hasn&apos;t seen a recurrence on master branch since November and we&apos;ve changed the relevant code and target platform since then.&lt;/p&gt;

&lt;p&gt;I think we can just put this one down with no further action.&lt;/p&gt;

&lt;p&gt;The session_workflow_bm seems to be running successfully on relevant buildvariants.&lt;br/&gt;
It hasn&apos;t been bypassed or disabled. It&apos;s running and succeeding now.&lt;/p&gt;</comment>
                            <comment id="5148600" author="billy.donahue" created="Sat, 28 Jan 2023 21:19:18 +0000"  >&lt;p&gt;&amp;gt;  In ASAN we can just have the whole benchmark ifdef away.&lt;/p&gt;


&lt;p&gt;That also failed because resmoke fails if there are no benchmarks to run.&lt;br/&gt;
&lt;a href=&quot;https://parsley.mongodb.com/evergreen/mongodb_mongo_master_rhel80_debug_asan_benchmarks_orphaned_patch_4e1beba356e790683f4640820684ff8f38b7c51d_63d2ca80c9ec44150d4678b3_23_01_26_18_54_50/0/task?bookmarks=0,393,429,690&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://parsley.mongodb.com/evergreen/mongodb_mongo_master_rhel80_debug_asan_benchmarks_orphaned_patch_4e1beba356e790683f4640820684ff8f38b7c51d_63d2ca80c9ec44150d4678b3_23_01_26_18_54_50/0/task?bookmarks=0,393,429,690&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Also tried defining a &quot;Dummy&quot; benchmark to work around this. That also failed for resmoke-related reasons.&lt;br/&gt;
&lt;a href=&quot;https://parsley.mongodb.com/evergreen/mongodb_mongo_master_rhel80_debug_asan_benchmarks_orphaned_patch_4e1beba356e790683f4640820684ff8f38b7c51d_63d2e48b3627e02628627133_23_01_26_20_38_17/0/task?bookmarks=0,409,479,719&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://parsley.mongodb.com/evergreen/mongodb_mongo_master_rhel80_debug_asan_benchmarks_orphaned_patch_4e1beba356e790683f4640820684ff8f38b7c51d_63d2e48b3627e02628627133_23_01_26_20_38_17/0/task?bookmarks=0,409,479,719&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5143814" author="billy.donahue" created="Thu, 26 Jan 2023 18:43:55 +0000"  >&lt;p&gt;I&apos;m seeing hangs in the benchmark even with a pretty conservative patch to suppress the looping under ASAN. There may even be a bug in the benchmark library happening here.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://spruce.mongodb.com/task/mongodb_mongo_master_rhel80_debug_asan_benchmarks_orphaned_patch_4e1beba356e790683f4640820684ff8f38b7c51d_63d238960305b92319ff5d22_23_01_26_08_24_17/tests?execution=0&amp;amp;sortBy=STATUS&amp;amp;sortDir=ASC&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://spruce.mongodb.com/task/mongodb_mongo_master_rhel80_debug_asan_benchmarks_orphaned_patch_4e1beba356e790683f4640820684ff8f38b7c51d_63d238960305b92319ff5d22_23_01_26_08_24_17/tests?execution=0&amp;amp;sortBy=STATUS&amp;amp;sortDir=ASC&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I tried 3 different ways to do this and ended up with something that hangs, produces infinite logs, and that I can&apos;t locally reproduce. I feel this ticket isn&apos;t worth more investigation. In ASAN we can just have the whole benchmark ifdef away.&lt;/p&gt;</comment>
                            <comment id="5141334" author="billy.donahue" created="Wed, 25 Jan 2023 22:09:02 +0000"  >&lt;p&gt;Needs another tweak. Last commit failed on an ASAN builders with DEBUG on.&lt;br/&gt;
Apparently Google Benchmark library fails an assertion in DEBUG mode if you break out early.&lt;br/&gt;
So I&apos;ll have to just change the test short circuiting to be an early continue instead of an early break.&lt;/p&gt;</comment>
                            <comment id="5140798" author="xgen-internal-githook" created="Wed, 25 Jan 2023 19:30:09 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Billy Donahue&apos;, &apos;email&apos;: &apos;billy.donahue@mongodb.com&apos;, &apos;username&apos;: &apos;BillyDonahue&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-73168&quot; title=&quot;diminish the ServiceExecutor benchmark under ASAN&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-73168&quot;&gt;&lt;del&gt;SERVER-73168&lt;/del&gt;&lt;/a&gt; ServiceExecutorBm spawn fewer threads on ASAN&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e00c3493a00a17abcfdaf2e3afaae10089adf0ca&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e00c3493a00a17abcfdaf2e3afaae10089adf0ca&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                                                <inwardlinks description="is caused by">
                                        <issuelink>
            <issuekey id="2133058">SERVER-69570</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25041"><![CDATA[v6.2]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 24 Jan 2023 21:11:17 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 1 day 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-2766</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>21.0</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>billy.donahue@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1rplb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1a7wo:</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>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="6748">Service Arch 2023-01-23</customfieldvalue>
    <customfieldvalue id="6749">Service Arch 2023-02-06</customfieldvalue>
    <customfieldvalue id="6750">Service Arch 2023-02-20</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|i1rbqn:</customfieldvalue>

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