<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:29:55 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-12878] Aggregations that do not return cursors need to clean up internal cursors</title>
                <link>https://jira.mongodb.org/browse/SERVER-12878</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Aggregation commands that &lt;b&gt;do not&lt;/b&gt; return a cursor need to release the ClientCursor object that they create to do their work.  As of 2.6.0-rc0, they do not. This leads to increasing workload for every update and delete operation, as they must scan those zombie cursors and inform them of certain relevant events.&lt;/p&gt;

&lt;p&gt;Original description / steps to reproduce:&lt;/p&gt;

&lt;p&gt;In running benchmarks to compare the performance of 2.4.9 vs. 2.6.0.rc0 I see a significant drop in my Sysbench workload.&lt;/p&gt;

&lt;p&gt;The performance of both versions is comparable for loading data (insert only), but in the mixed workload phase (reads, aggregation, update, delete, insert) the performance of 2.6.0.rc0 is 50x lower on an in-memory test. The performance drop is similar for &amp;gt; RAM testing as well.&lt;/p&gt;

&lt;p&gt;I have confirmed this on my desktop (single Corei7) and a server (dual Xeon 5560), both running Ubuntu 13.10, with read-ahead set to 32.&lt;/p&gt;

&lt;p&gt;I&apos;m running with the Java driver version 2.11.2&lt;/p&gt;</description>
                <environment>Ubuntu 13.10</environment>
        <key id="114400">SERVER-12878</key>
            <summary>Aggregations that do not return cursors need to clean up internal cursors</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="mathias@mongodb.com">Mathias Stearn</assignee>
                                    <reporter username="tmcallaghan">Tim Callaghan</reporter>
                        <labels>
                            <label>performance</label>
                    </labels>
                <created>Tue, 25 Feb 2014 14:23:24 +0000</created>
                <updated>Mon, 11 Jul 2016 17:18:07 +0000</updated>
                            <resolved>Wed, 5 Mar 2014 22:41:56 +0000</resolved>
                                    <version>2.6.0-rc0</version>
                                    <fixVersion>2.6.0-rc1</fixVersion>
                                    <component>Performance</component>
                                        <votes>0</votes>
                                    <watches>24</watches>
                                                                                                                <comments>
                            <comment id="519172" author="xgen-internal-githook" created="Wed, 19 Mar 2014 14:48:47 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;hkhalsa&apos;, u&apos;name&apos;: u&apos;Hari Khalsa&apos;, u&apos;email&apos;: u&apos;hkhalsa@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-10026&quot; title=&quot;New query system&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-10026&quot;&gt;&lt;del&gt;SERVER-10026&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13271&quot; title=&quot;remove surplus projection from distinct&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13271&quot;&gt;&lt;del&gt;SERVER-13271&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-12878&quot; title=&quot;Aggregations that do not return cursors need to clean up internal cursors&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-12878&quot;&gt;&lt;del&gt;SERVER-12878&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2094&quot; title=&quot;distinct cheat with indexes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2094&quot;&gt;&lt;del&gt;SERVER-2094&lt;/del&gt;&lt;/a&gt; avoid surplus projections in distinct&lt;br/&gt;
Branch: v2.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/094f1565d6f82859bc38300b45564dd1ea9f070e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/094f1565d6f82859bc38300b45564dd1ea9f070e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="519168" author="xgen-internal-githook" created="Wed, 19 Mar 2014 14:48:03 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;hkhalsa&apos;, u&apos;name&apos;: u&apos;Hari Khalsa&apos;, u&apos;email&apos;: u&apos;hkhalsa@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-10026&quot; title=&quot;New query system&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-10026&quot;&gt;&lt;del&gt;SERVER-10026&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13271&quot; title=&quot;remove surplus projection from distinct&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13271&quot;&gt;&lt;del&gt;SERVER-13271&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-12878&quot; title=&quot;Aggregations that do not return cursors need to clean up internal cursors&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-12878&quot;&gt;&lt;del&gt;SERVER-12878&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2094&quot; title=&quot;distinct cheat with indexes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2094&quot;&gt;&lt;del&gt;SERVER-2094&lt;/del&gt;&lt;/a&gt; avoid surplus projections in distinct&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/267f56a7e0ce36eba21b4b2ef09e32a43370acbf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/267f56a7e0ce36eba21b4b2ef09e32a43370acbf&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="510367" author="tmcallaghan" created="Wed, 5 Mar 2014 23:20:37 +0000"  >&lt;p&gt;Andy, I agree, and I think that&apos;s what Hari originally did for this ticket in this commit.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a3d910925350d2f0204b41ea145e24f74e5c39ce&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a3d910925350d2f0204b41ea145e24f74e5c39ce&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="510329" author="xgen-internal-githook" created="Wed, 5 Mar 2014 22:34:56 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;RedBeard0531&apos;, u&apos;name&apos;: u&apos;Mathias Stearn&apos;, u&apos;email&apos;: u&apos;mathias@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-12878&quot; title=&quot;Aggregations that do not return cursors need to clean up internal cursors&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-12878&quot;&gt;&lt;del&gt;SERVER-12878&lt;/del&gt;&lt;/a&gt; Delete ClientCursor in agg unless returning a cursor to user.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8d43b5cb9949c16452cb8d949c89d94cab9c8bad&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8d43b5cb9949c16452cb8d949c89d94cab9c8bad&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="510318" author="schwerin" created="Wed, 5 Mar 2014 22:31:22 +0000"  >&lt;p&gt;Tim, someone must have done something to improve the query planning problem you were seeing since RC0, if so.  Maybe &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=hari.khalsa%4010gen.com&quot; class=&quot;user-hover&quot; rel=&quot;hari.khalsa@10gen.com&quot;&gt;hari.khalsa@10gen.com&lt;/a&gt;&apos;s &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-12915&quot; title=&quot;update must keep track of all modified docs, even if they don&amp;#39;t move&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-12915&quot;&gt;&lt;del&gt;SERVER-12915&lt;/del&gt;&lt;/a&gt;, maybe some others, as well.  With the resource leak patched (commit coming), I see the same performance in 2.6.0-rc1-pre- and 2.4.9.  I encourage you to run against RC1, which should be out this week, or off of master after this ticket is resolved.&lt;/p&gt;

&lt;p&gt;For reference this is what I see in 2.4.9 for the last hundred seconds on an Intel Core i7-2600 CPU @ 3.40GHz, with 16GB of RAM and data stored on a passable Intel SSD:&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;Thread[Thread-66,5,main]510 seconds : cum tps=636.60 : int tps=706.11 : cum ips=0.00 : int ips=0.00&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;   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;Thread[Thread-66,5,main]520 seconds : cum tps=639.59 : int tps=791.79 : cum ips=0.00 : int ips=0.00&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;   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;Thread[Thread-66,5,main]530 seconds : cum tps=637.40 : int tps=523.68 : cum ips=0.00 : int ips=0.00&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;   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;Thread[Thread-66,5,main]540 seconds : cum tps=633.70 : int tps=437.45 : cum ips=0.00 : int ips=0.00&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;   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;Thread[Thread-66,5,main]550 seconds : cum tps=633.70 : int tps=633.99 : cum ips=0.00 : int ips=0.00&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;   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;Thread[Thread-66,5,main]560 seconds : cum tps=629.76 : int tps=412.91 : cum ips=0.00 : int ips=0.00&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;   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;Thread[Thread-66,5,main]570 seconds : cum tps=631.99 : int tps=756.72 : cum ips=0.00 : int ips=0.00&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;   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;Thread[Thread-66,5,main]580 seconds : cum tps=634.03 : int tps=751.69 : cum ips=0.00 : int ips=0.00&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;   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;Thread[Thread-66,5,main]590 seconds : cum tps=636.66 : int tps=789.27 : cum ips=0.00 : int ips=0.00&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;Thread[Thread-66,5,main]600 seconds : cum tps=631.57 : int tps=330.94 : cum ips=0.00 : int ips=0.00&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;And this is what I see for 2.6.0-RC1-pre-:&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;Thread[Thread-66,5,main]510 seconds : cum tps=636.79 : int tps=712.50 : cum ips=0.00 : int ips=0.00&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;   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;Thread[Thread-66,5,main]520 seconds : cum tps=638.70 : int tps=735.96 : cum ips=0.00 : int ips=0.00&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;   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;Thread[Thread-66,5,main]530 seconds : cum tps=632.31 : int tps=300.56 : cum ips=0.00 : int ips=0.00&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;   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;Thread[Thread-66,5,main]540 seconds : cum tps=631.20 : int tps=572.19 : cum ips=0.00 : int ips=0.00&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;   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;Thread[Thread-66,5,main]550 seconds : cum tps=632.64 : int tps=710.50 : cum ips=0.00 : int ips=0.00&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;   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;Thread[Thread-66,5,main]560 seconds : cum tps=631.15 : int tps=549.06 : cum ips=0.00 : int ips=0.00&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;   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;Thread[Thread-66,5,main]570 seconds : cum tps=628.61 : int tps=485.06 : cum ips=0.00 : int ips=0.00&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;   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;Thread[Thread-66,5,main]580 seconds : cum tps=630.93 : int tps=763.01 : cum ips=0.00 : int ips=0.00&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;   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;Thread[Thread-66,5,main]590 seconds : cum tps=632.65 : int tps=732.39 : cum ips=0.00 : int ips=0.00&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;Thread[Thread-66,5,main]600 seconds : cum tps=625.19 : int tps=185.55 : cum ips=0.00 : int ips=0.00&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;I assume from all of the results (yours and mine) that the last 10 seconds might see some amount of cool-down behavior.  I&apos;ve typically been ignoring it.&lt;/p&gt;</comment>
                            <comment id="510294" author="tmcallaghan" created="Wed, 5 Mar 2014 22:15:29 +0000"  >&lt;p&gt;Andy, no problem at all, although my original ticket name is likely appropriate as I think there was also a big issue with query planning within the workload, and your new discovery is yet another issue that my benchmark uncovered.&lt;/p&gt;</comment>
                            <comment id="510282" author="schwerin" created="Wed, 5 Mar 2014 22:07:06 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=tmcallaghan&quot; class=&quot;user-hover&quot; rel=&quot;tmcallaghan&quot;&gt;tmcallaghan&lt;/a&gt;, thanks for the excellent repro.  I&apos;ve updated the ticket summary and description to describe the underlying bug that you unmasked.&lt;/p&gt;</comment>
                            <comment id="510224" author="schwerin" created="Wed, 5 Mar 2014 21:14:25 +0000"  >&lt;p&gt;I did a differential profile, comparing the first 30 seconds of the sysbench (second) stage, and the penultimate 30 seconds in 2.6.0-rc1.  The good news is that RC1 is substantially faster than RC0, but it still shows the performance decay pattern that &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=tmcallaghan&quot; class=&quot;user-hover&quot; rel=&quot;tmcallaghan&quot;&gt;tmcallaghan&lt;/a&gt; found, and still has a 7x performance degradation over the life of the benchmark.&lt;/p&gt;

&lt;p&gt;The attached SVG files show call graphs weighted by the number of samples associated with each node.  Note that CollectionCursorCache::invalidateDocument goes from around 14% of execution time to almost 60% of execution time over the life of the benchmark, and a substantial amount of time in any event is spent in shared pointer atomic arithmetic and red-black tree traversal.&lt;/p&gt;

&lt;p&gt;I will investigate further.  There&apos;s a reasonable likelihood of a resource leak in the client cursor cache, or a behavior change from 2.4 about cursor expiration.&lt;/p&gt;</comment>
                            <comment id="506342" author="dan@10gen.com" created="Thu, 27 Feb 2014 15:01:35 +0000"  >&lt;p&gt;Yep, that&apos;s why the ticket is still open. We&apos;re still looking at it. Thanks for testing. We will update here with what we find. &lt;/p&gt;</comment>
                            <comment id="506330" author="jblackburn" created="Thu, 27 Feb 2014 14:51:50 +0000"  >&lt;p&gt;I ran Tim&apos;s test, using master which includes Hari&apos;s change a3d910... and while it&apos;s better it&apos;s still looks 3-4x worse than 2.4.6:&lt;/p&gt;

&lt;p&gt;with:&lt;br/&gt;
+export NUM_DOCUMENTS_PER_COLLECTION=100000&lt;/p&gt;

&lt;p&gt;2.4.6, I see:&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;     [java] Thread[Thread-66,5,main]580 seconds : cum tps=469.46 : int tps=435.33 : cum ips=0.00 : int ips=0.00&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;   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;     [java] Thread[Thread-66,5,main]590 seconds : cum tps=468.82 : int tps=431.83 : cum ips=0.00 : int ips=0.00&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;     [java] Thread[Thread-66,5,main]600 seconds : cum tps=468.30 : int tps=437.59 : cum ips=0.00 : int ips=0.00&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;3709484b65d0c153d4d52713e8466b7b3a791233&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;     [java] Thread[Thread-66,5,main]580 seconds : cum tps=202.98 : int tps=122.27 : cum ips=0.00 : int ips=0.00&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;   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;     [java] Thread[Thread-66,5,main]590 seconds : cum tps=201.59 : int tps=121.14 : cum ips=0.00 : int ips=0.00&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;     [java] Thread[Thread-66,5,main]600 seconds : cum tps=200.23 : int tps=120.11 : cum ips=0.00 : int ips=0.00&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</comment>
                            <comment id="506034" author="tmcallaghan" created="Wed, 26 Feb 2014 22:00:43 +0000"  >&lt;p&gt;I&apos;ll rerun my test when RC1 is available.&lt;/p&gt;</comment>
                            <comment id="506022" author="hari.khalsa@10gen.com" created="Wed, 26 Feb 2014 21:46:53 +0000"  >&lt;p&gt;Hello!  Thank you for this ticket.  I identified and fixed a major performance issue identified by this suite.&lt;/p&gt;

&lt;p&gt;In brief, the server decided to use a collection scan when it should have used an index scan.&lt;/p&gt;

&lt;p&gt;It made this decision because neither the indexed plan nor the collection scan produced any results while we were comparing the two plans to see which was better.  In absence of information about how well the plans did with respect to one another, we chose the collection scan.  This is a departure from 2.4&apos;s behavior where we wouldn&apos;t consider a collection scan if we had an indexed plan available.  I submitted a patch to master restore this behavior:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a3d910925350d2f0204b41ea145e24f74e5c39ce&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a3d910925350d2f0204b41ea145e24f74e5c39ce&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Feel encouraged to test it out yourself by pulling the latest code or just wait for RC1 which will have this patch.&lt;/p&gt;

&lt;p&gt;Thanks again!&lt;/p&gt;</comment>
                            <comment id="505647" author="tmcallaghan" created="Wed, 26 Feb 2014 15:20:01 +0000"  >&lt;p&gt;Good, I assume those COLLSCAN lines in my server&apos;s log file is an optimizer decision gone bad.&lt;/p&gt;

&lt;p&gt;As I said, I&apos;m kicking off my full suite of benchmarks and will report anything else I find as an additional ticket.&lt;/p&gt;</comment>
                            <comment id="505622" author="milkie" created="Wed, 26 Feb 2014 14:37:27 +0000"  >&lt;p&gt;Hi Tim,&lt;br/&gt;
We reproduced it and are making progress.  It appears that the ordered range query is the one that&apos;s the dominant cause of the regression.&lt;/p&gt;</comment>
                            <comment id="505611" author="tmcallaghan" created="Wed, 26 Feb 2014 14:23:18 +0000"  >&lt;p&gt;Please let me know if you can reproduce my results. In the meantime I&apos;ll run my full benchmark suite comparing 2.4.9 vs. 2.6.0.rc0 to see if there are other regressions.&lt;/p&gt;</comment>
                            <comment id="505391" author="tmcallaghan" created="Wed, 26 Feb 2014 00:58:47 +0000"  >&lt;p&gt;Sure, I just reran the test on my desktop.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;hardware = Core i7-2600K, 32GB RAM, Samsung 830 SSD, read-ahead=32.&lt;/li&gt;
	&lt;li&gt;changed run.simple.bash to insert 1 million rows per collection (not 10 million), so in-memory test&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;b&gt;MongoDB 2.4.9&lt;/b&gt;&lt;br/&gt;
load phase = 30,472 documents inserted per second&lt;br/&gt;
last 100 seconds of the 10 minute benchmark, &lt;br/&gt;
[java] Thread[Thread-66,5,main]500 seconds : cum tps=547.38 : int tps=512.29 : cum ips=0.00 : int ips=0.00&lt;br/&gt;
[java] Thread[Thread-66,5,main]510 seconds : cum tps=548.47 : int tps=603.12 : cum ips=0.00 : int ips=0.00&lt;br/&gt;
[java] Thread[Thread-66,5,main]520 seconds : cum tps=549.37 : int tps=595.16 : cum ips=0.00 : int ips=0.00&lt;br/&gt;
[java] Thread[Thread-66,5,main]530 seconds : cum tps=549.28 : int tps=544.66 : cum ips=0.00 : int ips=0.00&lt;br/&gt;
[java] Thread[Thread-66,5,main]540 seconds : cum tps=545.50 : int tps=345.22 : cum ips=0.00 : int ips=0.00&lt;br/&gt;
[java] Thread[Thread-66,5,main]550 seconds : cum tps=546.86 : int tps=620.30 : cum ips=0.00 : int ips=0.00&lt;br/&gt;
[java] Thread[Thread-66,5,main]560 seconds : cum tps=546.64 : int tps=534.42 : cum ips=0.00 : int ips=0.00&lt;br/&gt;
[java] Thread[Thread-66,5,main]570 seconds : cum tps=544.97 : int tps=451.58 : cum ips=0.00 : int ips=0.00&lt;br/&gt;
[java] Thread[Thread-66,5,main]580 seconds : cum tps=546.00 : int tps=604.52 : cum ips=0.00 : int ips=0.00&lt;br/&gt;
[java] Thread[Thread-66,5,main]590 seconds : cum tps=546.36 : int tps=567.35 : cum ips=0.00 : int ips=0.00&lt;br/&gt;
[java] Thread[Thread-66,5,main]600 seconds : cum tps=542.87 : int tps=336.90 : cum ips=0.00 : int ips=0.00&lt;/p&gt;

&lt;p&gt;&lt;b&gt;MongoDB 2.6.0.rc0&lt;/b&gt;&lt;br/&gt;
load phase = 33,323 documents inserted per second (not bad, ~10% improvement)&lt;br/&gt;
last 100 seconds of the 10 minute benchmark, &lt;br/&gt;
[java] Thread[Thread-66,5,main]500 seconds : cum tps=11.04 : int tps=11.49 : cum ips=0.00 : int ips=0.00&lt;br/&gt;
[java] Thread[Thread-66,5,main]510 seconds : cum tps=11.03 : int tps=10.49 : cum ips=0.00 : int ips=0.00&lt;br/&gt;
[java] Thread[Thread-66,5,main]520 seconds : cum tps=11.03 : int tps=11.10 : cum ips=0.00 : int ips=0.00&lt;br/&gt;
[java] Thread[Thread-66,5,main]530 seconds : cum tps=11.04 : int tps=11.39 : cum ips=0.00 : int ips=0.00&lt;br/&gt;
[java] Thread[Thread-66,5,main]540 seconds : cum tps=11.04 : int tps=10.99 : cum ips=0.00 : int ips=0.00&lt;br/&gt;
[java] Thread[Thread-66,5,main]550 seconds : cum tps=11.05 : int tps=11.69 : cum ips=0.00 : int ips=0.00&lt;br/&gt;
[java] Thread[Thread-66,5,main]560 seconds : cum tps=11.05 : int tps=10.79 : cum ips=0.00 : int ips=0.00&lt;br/&gt;
[java] Thread[Thread-66,5,main]570 seconds : cum tps=11.05 : int tps=11.29 : cum ips=0.00 : int ips=0.00&lt;br/&gt;
[java] Thread[Thread-66,5,main]580 seconds : cum tps=11.05 : int tps=11.09 : cum ips=0.00 : int ips=0.00&lt;br/&gt;
[java] Thread[Thread-66,5,main]590 seconds : cum tps=11.06 : int tps=11.49 : cum ips=0.00 : int ips=0.00&lt;br/&gt;
[java] Thread[Thread-66,5,main]600 seconds : cum tps=11.05 : int tps=10.79 : cum ips=0.00 : int ips=0.00&lt;/p&gt;</comment>
                            <comment id="505281" author="milkie" created="Tue, 25 Feb 2014 22:23:00 +0000"  >&lt;p&gt;Hi Tim,&lt;br/&gt;
Can you post a sample run of sysbench so I can compare your results with mine locally?&lt;br/&gt;
Thanks&lt;br/&gt;
-Eric&lt;/p&gt;</comment>
                            <comment id="504915" author="tmcallaghan" created="Tue, 25 Feb 2014 16:30:18 +0000"  >&lt;p&gt;Please let me know if there is any additional data I can provide.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="119069">SERVER-13115</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="122611">SERVER-13271</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="39129" name="SERVER-12878-249-aggr.png" size="59731" author="alvin" created="Fri, 7 Mar 2014 18:55:44 +0000"/>
                            <attachment id="39130" name="SERVER-12878-249-qry.png" size="41172" author="alvin" created="Fri, 7 Mar 2014 19:03:08 +0000"/>
                            <attachment id="39159" name="SERVER-12878-249-readlock.png" size="49391" author="alvin" created="Sat, 8 Mar 2014 00:47:20 +0000"/>
                            <attachment id="39140" name="SERVER-12878-249-write.png" size="155797" author="alvin" created="Fri, 7 Mar 2014 20:31:01 +0000"/>
                            <attachment id="39156" name="SERVER-12878-249-writelock.png" size="410482" author="alvin" created="Sat, 8 Mar 2014 00:23:00 +0000"/>
                            <attachment id="39127" name="SERVER-12878-249.png" size="189470" author="alvin" created="Fri, 7 Mar 2014 18:28:08 +0000"/>
                            <attachment id="39128" name="SERVER-12878-rc1-aggr.png" size="127547" author="alvin" created="Fri, 7 Mar 2014 18:55:44 +0000"/>
                            <attachment id="39131" name="SERVER-12878-rc1-qry.png" size="151535" author="alvin" created="Fri, 7 Mar 2014 19:03:08 +0000"/>
                            <attachment id="39160" name="SERVER-12878-rc1-readlock.png" size="293252" author="alvin" created="Sat, 8 Mar 2014 00:47:21 +0000"/>
                            <attachment id="39141" name="SERVER-12878-rc1-write.png" size="110418" author="alvin" created="Fri, 7 Mar 2014 20:31:01 +0000"/>
                            <attachment id="39157" name="SERVER-12878-rc1-writelock.png" size="179221" author="alvin" created="Sat, 8 Mar 2014 00:23:00 +0000"/>
                            <attachment id="39125" name="SERVER-12878.png" size="217428" author="alvin" created="Fri, 7 Mar 2014 18:06:51 +0000"/>
                            <attachment id="38967" name="prof-0.svg" size="110891" author="schwerin@mongodb.com" created="Wed, 5 Mar 2014 21:14:25 +0000"/>
                            <attachment id="38968" name="prof-8.svg" size="108728" author="schwerin@mongodb.com" created="Wed, 5 Mar 2014 21:14:25 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>18.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 25 Feb 2014 22:23:00 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 48 weeks 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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 48 weeks 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="10020"><![CDATA[Linux]]></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>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>hari.khalsa@10gen.com</customfieldvalue>
            <customfieldvalue>jblackburn</customfieldvalue>
            <customfieldvalue>mathias@mongodb.com</customfieldvalue>
            <customfieldvalue>tmcallaghan</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrm0qv:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>102831</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_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;ul&gt;
	&lt;li&gt;start a mongodb 2.4.9 or 2.6.0.rc0 server&lt;/li&gt;
	&lt;li&gt;on the same server,
	&lt;ul&gt;
		&lt;li&gt;git clone &lt;a href=&quot;https://github.com/tmcallaghan/sysbench-mongodb.git&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/tmcallaghan/sysbench-mongodb.git&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;cd sysbench-mongodb&lt;/li&gt;
		&lt;li&gt;edit run.simple.bash to modify the benchmark behavior
		&lt;ul&gt;
			&lt;li&gt;modify &quot;export NUM_DOCUMENTS_PER_COLLECTION=10000000&quot;, by changing 10 million to &quot;1000000&quot;. This will keep the loaded data to under 8GB.&lt;/li&gt;
		&lt;/ul&gt;
		&lt;/li&gt;
		&lt;li&gt;Note, you must have ant and Java 1.7 installed to run the benchmark application. If using Java 1.6, change the build.xml file&apos;s target=&quot;1.7&quot; to target=&quot;1.6&quot;. You also need to have the MongoDB Java driver in your CLASSPATH, as in &quot;export CLASSPATH=/home/tcallaghan/java_goodies/mongo-2.11.2.jar:.&quot;.&lt;/li&gt;
		&lt;li&gt;./run.simple.bash&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;The benchmark runs in two stages:&lt;br/&gt;
1. 16 collections are created, and each is loaded with 1 million documents. Eight loader threads run simultaneously, each with their own collection.&lt;br/&gt;
2. 64 threads run the Sysbench workload&lt;/p&gt;

&lt;p&gt;Both stages output their respective performance.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;I&apos;m getting around 30K inserts per second for the loader.&lt;/li&gt;
	&lt;li&gt;For the mixed workload I&apos;m getting 550 TPS on 2.4.9, but less than 10 TPS on 2.6.0.rc0&lt;/li&gt;
&lt;/ul&gt;
</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|hrj93j:</customfieldvalue>

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