{
   "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
   "id": "287779",
   "self": "https://bugs.mojang.com/rest/api/2/issue/287779",
   "key": "BDS-3091",
   "fields": {
      "issuetype": "1",
      "project": "11700",
      "fixVersions": [],
      "resolution": "3",
      "customfield_10500": {
         "self": "https://bugs.mojang.com/rest/api/2/customFieldOption/10300",
         "value": "Unconfirmed",
         "id": "10300",
         "disabled": false
      },
      "customfield_12800": null,
      "customfield_12602": [],
      "customfield_12601": null,
      "customfield_12604": null,
      "customfield_12603": null,
      "customfield_12606": null,
      "customfield_12605": null,
      "customfield_12608": null,
      "resolutiondate": "2020-08-09T16:03:09.000+0300",
      "customfield_12607": null,
      "customfield_12609": null,
      "workratio": -1,
      "lastViewed": null,
      "watches": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-3091/watchers",
         "watchCount": 2,
         "isWatching": false
      },
      "created": "2020-02-06T08:14:44.000+0200",
      "customfield_12000": null,
      "customfield_12201": null,
      "customfield_12600": null,
      "labels": [],
      "customfield_11700": "{}",
      "versions": [
         "18746",
         "18821",
         "18823"
      ],
      "issuelinks": [
         {
            "id": "198109",
            "self": "https://bugs.mojang.com/rest/api/2/issueLink/198109",
            "type": "10102",
            "outwardIssue": "281773"
         }
      ],
      "assignee": null,
      "updated": "2020-08-09T16:03:09.000+0300",
      "status": "5",
      "description": "This is currently reproducible on version 1.14.21 for Ubuntu release.\u00a0 This is not currently an option available.\u00a0\u00a0\n\nThe more threads that are enabled increases the problem.\u00a0 Typically over 4 threads will cause a longer than normal load time when entering the never.\u00a0 If I set max-threads=0,\u00a0 all cores go 90-100% when enter the nether. The load time goes up to +35 seconds\u00a0\n\nSimilarly, when only using 4 threads,\u00a0 the load time is under 5 seconds.\n\n\u00a0\n\nI have not been able to reproduce this problem from a windows server.\u00a0\u00a0\n\n\u00a0",
      "customfield_11100": null,
      "customfield_11300": null,
      "customfield_11500": null,
      "customfield_12503": null,
      "customfield_12700": null,
      "customfield_12502": null,
      "customfield_12504": null,
      "attachment": [
         "266221"
      ],
      "summary": "When using high or unlimited thread count, very high load time into nether",
      "creator": "patch885959",
      "reporter": "patch885959",
      "customfield_10002": null,
      "customfield_12501": null,
      "customfield_12500": null,
      "customfield_11601": null,
      "customfield_11600": "0|i17idz:",
      "environment": "Distributor ID:\tUbuntu\r\nDescription:\tUbuntu 18.04.3 LTS\r\nRelease:\t18.04\r\nSamsung 500g SSD\r\nQuad Processor - Xeon #7-4850 @ 2.0 GHZ ( Each processor has 10 cores )\r\n\r\n",
      "customfield_11801": null,
      "customfield_11800": null,
      "customfield_11602": null,
      "customfield_11802": null,
      "comment": {
         "comments": [
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/287779/comment/630978",
               "id": "630978",
               "author": "patch885959",
               "body": "Created a new world and with new installation.  Confirmed that the problem is reproducible with brand new world.",
               "updateAuthor": "patch885959",
               "created": "2020-02-08T03:22:41.404+0200",
               "updated": "2020-02-08T03:22:41.404+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/287779/comment/632504",
               "id": "632504",
               "author": "ionicecko",
               "body": "Hi Ben,\n\nAre you ensuring that your thread count doesn't exceed the available threads on your VM/PC?\n\nI'm going to try and replicate your issue when I have a moment. Just wanted to make sure you're not exceeding your available threads because that would have the impact you're describing.",
               "updateAuthor": "ionicecko",
               "created": "2020-02-11T12:06:27.923+0200",
               "updated": "2020-02-11T12:06:27.923+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/287779/comment/635411",
               "id": "635411",
               "author": "patch885959",
               "body": "It could be something with the architecture and memory of the server.   It has multiple processors and it could be that it doesn't like crossing processors.\nI 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.    ",
               "updateAuthor": "patch885959",
               "created": "2020-02-17T07:17:09.835+0200",
               "updated": "2020-02-17T07:17:09.835+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/287779/comment/635458",
               "id": "635458",
               "author": "patch885959",
               "body": "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.   \n\nIt 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.   \n\nSo to do further testing, I loaded up Ubuntu 18.04 from within Windows 10.  \n\nI'm proud to say I can reproduce the problem.  Don'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'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.\n\nI will try to do more testing tomorrow, but I'm wondering if when in Ubuntu,  it is using the actually max-thread count. \nIf this is the case, it explains so much.   On the faster machine, the max count is 32,768 threads.\nOn my server machine, the max threads is 2,061,577!   I'm wondering if it doesn't cap by logical processor count. \n\n\n\n\n\n \n\n\n",
               "updateAuthor": "patch885959",
               "created": "2020-02-17T10:31:11.343+0200",
               "updated": "2020-02-17T10:31:11.343+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/287779/comment/783378",
               "id": "783378",
               "author": "ionicecko",
               "body": "*Thank you for your report!*\r\nWe're tracking this issue in *BDS-2574*, so this ticket is being resolved and linked as a *duplicate*.\r\n\r\nIf you would like to add a vote and any extra information to the main ticket it would be appreciated.\r\n\r\nIf you haven't already, you might like to make use of the [*+search feature+*|https://bugs.mojang.com/issues/?jql=project=BDS] to see if the issue has already been mentioned.\r\n\r\n*Quick Links*:\r\n\ud83d\udcd3 [Issue Guidelines|https://bugs.mojang.com/projects/BDS/summary] -- \ud83d\udcac [Community Support|https://discord.gg/58Sxm23] -- \ud83d\udce7 [Customer Support|https://help.minecraft.net/hc/en-us/requests/new] -- \u270d\ufe0f [Feedback and Suggestions|https://feedback.minecraft.net/] -- \ud83d\udcd6 [BDS Wiki|https://minecraft.gamepedia.com/Bedrock_Dedicated_Server] -- \ud83d\udcd6 [FAQs|https://help.minecraft.net/hc/en-us/articles/360035131651-Dedicated-Servers-for-Minecraft-on-Bedrock-]",
               "updateAuthor": "ionicecko",
               "created": "2020-08-09T16:03:09.827+0300",
               "updated": "2020-08-09T16:03:09.827+0300"
            }
         ],
         "maxResults": 5,
         "total": 5,
         "startAt": 0
      },
      "votes": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-3091/votes",
         "votes": 2,
         "hasVoted": false
      }
   },
   "changelog": {
      "startAt": 0,
      "maxResults": 6,
      "total": 6,
      "histories": [
         {
            "id": "1432507",
            "author": "ionicecko",
            "created": "2020-02-11T11:05:58.213+0200",
            "items": [
               {
                  "field": "Version",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "18821",
                  "toString": "1.14.21.0"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "1",
                  "toString": "Open"
               }
            ]
         },
         {
            "id": "1439609",
            "author": "patch885959",
            "created": "2020-02-17T10:28:47.097+0200",
            "items": [
               {
                  "field": "Attachment",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "266221",
                  "toString": "2020-02-17 00_06_22-ben@BLACKLION_ _mnt_c_bds1_The_Crystal.png"
               }
            ]
         },
         {
            "id": "1439954",
            "author": "patch885959",
            "created": "2020-02-17T16:16:06.628+0200",
            "items": [
               {
                  "field": "Version",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "18823",
                  "toString": "1.14.30"
               }
            ]
         },
         {
            "id": "1758774",
            "author": "ionicecko",
            "created": "2020-08-09T15:27:41.398+0300",
            "items": [
               {
                  "field": "Confirmation Status",
                  "fieldtype": "custom",
                  "from": null,
                  "fromString": null,
                  "to": "10300",
                  "toString": "Unconfirmed"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "1",
                  "toString": "Open"
               }
            ]
         },
         {
            "id": "1758829",
            "author": "ionicecko",
            "created": "2020-08-09T16:03:09.843+0300",
            "items": [
               {
                  "field": "Link",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "BDS-2574",
                  "toString": "This issue duplicates BDS-2574"
               }
            ]
         },
         {
            "id": "1758831",
            "author": "ionicecko",
            "created": "2020-08-09T16:03:09.869+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "3",
                  "toString": "Duplicate"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         }
      ]
   }
}