<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:48:20 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-38231] Capture CPU utilization for each core in FTDC</title>
                <link>https://jira.mongodb.org/browse/SERVER-38231</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Currently FTDC only captures normalized CPU usage. It would be nice if it also captures CPU usage for each core. This will help to identify issues that are bound to single CPU core, e.g. slow initial sync due to large number of indexes.&lt;/p&gt;

&lt;p&gt;I understand that this could potentially add a large number of metrics for powerful machines. So probably just capture the highest (and lowest) usage for these CPU cores?&lt;/p&gt;</description>
                <environment></environment>
        <key id="637387">SERVER-38231</key>
            <summary>Capture CPU utilization for each core in FTDC</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="kelsey.schubert@mongodb.com">Kelsey Schubert</assignee>
                                    <reporter username="linda.qin@mongodb.com">Linda Qin</reporter>
                        <labels>
                    </labels>
                <created>Thu, 22 Nov 2018 05:16:17 +0000</created>
                <updated>Mon, 20 Dec 2021 15:15:24 +0000</updated>
                            <resolved>Wed, 19 May 2021 03:29:31 +0000</resolved>
                                                                                        <votes>1</votes>
                                    <watches>11</watches>
                                                                                                                <comments>
                            <comment id="3788555" author="thomas.schubert" created="Wed, 19 May 2021 03:29:31 +0000"  >&lt;p&gt;Hi Linda,&lt;/p&gt;

&lt;p&gt;Sorry for letting this ticket slip through the cracks. I think given that we don&apos;t want to accidentally blow up the number of metrics we&apos;re looking at and looking at the individual break out may not help since the single thread would bounce around, I&apos;m not particularly to pursue this work versus other diagnostic improvements. I&apos;m going to go ahead and resolve this ticket, but let me know if you think I&apos;m missing something.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Kelsey &lt;/p&gt;</comment>
                            <comment id="2070197" author="linda.qin@10gen.com" created="Fri, 23 Nov 2018 00:00:12 +0000"  >&lt;p&gt;I understand that the OS might schedule the thread onto different physical cpu cores, so for the single-threaded workload workload, the 100% usage could be bouncing around between the different cores.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;it is also separately reported scaled so that 100% means a single CPU?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Could you clarify how this will be reported? &lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Is it like what we currently have in CM/OM, which reports both the CPU usage (so for a system with 4 cores, we will get 400% if all CPU cores are busy), and normalized CPU usage (so we will get 100% if all CPU cores are busy)?&lt;/li&gt;
	&lt;li&gt;Or will it report the CPU usage for individual core? So if there are 4 cores, we will get 4 more metrics (or probably 8 metrics - 4 for process CPU, and 4 for system CPU) for each core?&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;If the former, it won&apos;t help much I think. For example, if there are 4 cores, the CPU usage of 100% (normalized 25%) won&apos;t tell us if:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;this is a single-threaded workload, so that one core is getting 100% (may bounce around between different cores due to cpu scheduling).&lt;/li&gt;
	&lt;li&gt;or each core is taking 25%, so the workload is not CPU bound.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;The latter would shed some light on whether this is a singe-threaded workload - we can check if one core is getting 100% (not a specific one as this may bounce around between different cores due to cpu scheduling). &lt;/p&gt;

&lt;p&gt;The concern for the latter (capture cpu usage for each core) is this could potentially add a large number of metrics (e.g. for system with 32 cores, we could get 32 or 64 more metrics). &lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;If this is not an issue, then I think we could consider capturing these metrics.&lt;/li&gt;
	&lt;li&gt;Otherwise, we may consider capturing min/max individual cpu usage. e.g. at time T, the highest CPU usage is on core1 with 99%, then we will capture 99% for max at time T. At time T+x, the highest CPU usage is on coreY with 100%, then we will capture 100% for max at time T+x.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="2069975" author="bruce.lucas@10gen.com" created="Thu, 22 Nov 2018 13:39:12 +0000"  >&lt;p&gt;Single-threaded workloads won&apos;t necessarily be bound to a single core, so I don&apos;t think this gives you any more information than looking at the overall CPU utilization. Would it help if in addition to reporting CPU scaled to 100% means all cores are busy it is also separately reported scaled so that 100% means a single CPU?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="593292">SERVER-36822</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 22 Nov 2018 13:39:12 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 38 weeks, 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_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>blake.oler@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 38 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>bruce.lucas@mongodb.com</customfieldvalue>
            <customfieldvalue>kelsey.schubert@mongodb.com</customfieldvalue>
            <customfieldvalue>linda.qin@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hudhfr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hu3mdz:</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_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>
                                    <customfieldvalue><![CDATA[bruce.lucas@mongodb.com]]></customfieldvalue>
        <customfieldvalue><![CDATA[kelsey.schubert@mongodb.com]]></customfieldvalue>
    

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

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