<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sat Jan 11 07:24:05 UTC 2025

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>Mojang Studios Jira</title>
    <link>https://bugs.mojang.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>    <build-info>
        <version>9.12.2</version>
        <build-number>9120002</build-number>
        <build-date>10-01-2024</build-date>
    </build-info>


<item>
            <title>[BDS-3091] When using high or unlimited thread count, very high load time into nether</title>
                <link>https://bugs.mojang.com/browse/BDS-3091</link>
                <project id="11700" key="BDS">Bedrock Dedicated Server</project>
                    <description>&lt;p&gt;This is currently reproducible on version 1.14.21 for Ubuntu release.&#160; This is not currently an option available.&#160;&#160;&lt;/p&gt;

&lt;p&gt;The more threads that are enabled increases the problem.&#160; Typically over 4 threads will cause a longer than normal load time when entering the never.&#160; If I set max-threads=0,&#160; all cores go 90-100% when enter the nether. The load time goes up to +35 seconds&#160;&lt;/p&gt;

&lt;p&gt;Similarly, when only using 4 threads,&#160; the load time is under 5 seconds.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;I have not been able to reproduce this problem from a windows server.&#160;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment>Distributor ID:	Ubuntu&lt;br/&gt;
Description:	Ubuntu 18.04.3 LTS&lt;br/&gt;
Release:	18.04&lt;br/&gt;
Samsung 500g SSD&lt;br/&gt;
Quad Processor - Xeon #7-4850 @ 2.0 GHZ ( Each processor has 10 cores )&lt;br/&gt;
&lt;br/&gt;
</environment>
        <key id="287779">BDS-3091</key>
            <summary>When using high or unlimited thread count, very high load time into nether</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="5" iconUrl="https://bugs.mojang.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="Patch885959">Toba da&apos;Great</reporter>
                        <labels>
                    </labels>
                <created>Thu, 6 Feb 2020 07:14:44 +0100</created>
                <updated>Sun, 9 Aug 2020 15:03:09 +0200</updated>
                            <resolved>Sun, 9 Aug 2020 15:03:09 +0200</resolved>
                                    <version>1.14.0.9</version>
                    <version>1.14.21.0</version>
                    <version>1.14.30</version>
                                                            <votes>2</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="783378" author="ionicecko" created="Sun, 9 Aug 2020 15:03:09 +0200"  >&lt;p&gt;&lt;b&gt;Thank you for your report!&lt;/b&gt;&lt;br/&gt;
We&apos;re tracking this issue in &lt;b&gt;&lt;a href=&quot;https://bugs.mojang.com/browse/BDS-2574&quot; title=&quot;1.14+ Linux Performance Degradation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;BDS-2574&quot;&gt;&lt;del&gt;BDS-2574&lt;/del&gt;&lt;/a&gt;&lt;/b&gt;, so this ticket is being resolved and linked as a &lt;b&gt;duplicate&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;If you would like to add a vote and any extra information to the main ticket it would be appreciated.&lt;/p&gt;

&lt;p&gt;If you haven&apos;t already, you might like to make use of the &lt;a href=&quot;https://bugs.mojang.com/issues/?jql=project=BDS&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;&lt;b&gt;&lt;ins&gt;search feature&lt;/ins&gt;&lt;/b&gt;&lt;/a&gt; to see if the issue has already been mentioned.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Quick Links&lt;/b&gt;:&lt;br/&gt;
&#128211; &lt;a href=&quot;https://bugs.mojang.com/projects/BDS/summary&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;Issue Guidelines&lt;/a&gt; &amp;#8211; &#128172; &lt;a href=&quot;https://discord.gg/58Sxm23&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Community Support&lt;/a&gt; &amp;#8211; &#128231; &lt;a href=&quot;https://help.minecraft.net/hc/en-us/requests/new&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Customer Support&lt;/a&gt; &amp;#8211; &#9997;&#65039; &lt;a href=&quot;https://feedback.minecraft.net/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Feedback and Suggestions&lt;/a&gt; &amp;#8211; &#128214; &lt;a href=&quot;https://minecraft.gamepedia.com/Bedrock_Dedicated_Server&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;BDS Wiki&lt;/a&gt; &amp;#8211; &#128214; &lt;a href=&quot;https://help.minecraft.net/hc/en-us/articles/360035131651-Dedicated-Servers-for-Minecraft-on-Bedrock-&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;FAQs&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="635458" author="patch885959" created="Mon, 17 Feb 2020 09:31:11 +0100"  >&lt;p&gt;Been seeing additional issues,  outside of zoning in to the nether.  This issue persists into 1.14.30.   When running the same world on Windwos it much improved.   &lt;/p&gt;

&lt;p&gt;It has become significantly slower with several animals, bees and campfires around.   Riding in a minecart is slower than expected and I was able to pass it while walking.  So trying some new things.   &lt;/p&gt;

&lt;p&gt;So to do further testing, I loaded up Ubuntu 18.04 from within Windows 10.  &lt;/p&gt;

&lt;p&gt;I&apos;m proud to say I can reproduce the problem.  Don&apos;t get me wrong it is running on faster hardware and goes way faster.  When I have it set for 0 threads instead of 4 threads, it takes nearly 5-6 times longer.  I suspect there is something in the thread code that requires launching and returning from the thread that slows it down.  On most fast computers this wouldn&apos;t be noticeable because you are going from 1-2 seconds to 6-7 seconds.   However on the slower hardware, which has significantly more threads it goes from about 5-6 seconds to 40-45 seconds.&lt;/p&gt;

&lt;p&gt;I will try to do more testing tomorrow, but I&apos;m wondering if when in Ubuntu,  it is using the actually max-thread count. &lt;br/&gt;
If this is the case, it explains so much.   On the faster machine, the max count is 32,768 threads.&lt;br/&gt;
On my server machine, the max threads is 2,061,577!   I&apos;m wondering if it doesn&apos;t cap by logical processor count. &lt;/p&gt;







</comment>
                            <comment id="635411" author="patch885959" created="Mon, 17 Feb 2020 06:17:09 +0100"  >&lt;p&gt;It could be something with the architecture and memory of the server.   It has multiple processors and it could be that it doesn&apos;t like crossing processors.&lt;br/&gt;
I have tried porting the world over to windows and it does improve.  There are some other issues going on as well that just started happening.    &lt;/p&gt;</comment>
                            <comment id="632504" author="ionicecko" created="Tue, 11 Feb 2020 11:06:27 +0100"  >&lt;p&gt;Hi Ben,&lt;/p&gt;

&lt;p&gt;Are you ensuring that your thread count doesn&apos;t exceed the available threads on your VM/PC?&lt;/p&gt;

&lt;p&gt;I&apos;m going to try and replicate your issue when I have a moment. Just wanted to make sure you&apos;re not exceeding your available threads because that would have the impact you&apos;re describing.&lt;/p&gt;</comment>
                            <comment id="630978" author="patch885959" created="Sat, 8 Feb 2020 02:22:41 +0100"  >&lt;p&gt;Created a new world and with new installation.  Confirmed that the problem is reproducible with brand new world.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="281773">BDS-2574</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="266221" name="2020-02-17 00_06_22-ben@BLACKLION_ _mnt_c_bds1_The_Crystal.png" size="161828" author="Patch885959" created="Mon, 17 Feb 2020 09:28:46 +0100"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Unconfirmed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i17idz:</customfieldvalue>

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