Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-185490

Separated trader llamas on leads cause server performance (tps) issues

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.15.2
    • Fix Version/s: 1.16.2 Pre-release 1
    • Labels:
      None
    • Environment:
      Arch Linux 5.6.13
      Java 1.8.0_242 64Bit
      CPU: i7-3930k
      GPU: Radeon RX 570
    • Confirmation Status:
      Unconfirmed
    • Category:
      Mob behaviour, Performance

      Description

      Using leads attached to a fence that separate trader lamas a far enough distance so that they constantly attempt to re-join each other's company causes a severe penalty to TPS. My experience resulted in approximately 10ms increase of average for each pair of lamas.

      Separating the lamas using a fence cage does not have a performance impact.

       

      Steps to recreate:

      1) Steal a pair of trader lamas

      2) Separate the lamas using leads on fence posts. Make sure they are far enough away that they try to re-join each other's company.

      3) Compare TPS in Alt-F3

        Attachments

        1. 1PairOnLeads.jpg
          1PairOnLeads.jpg
          421 kB
        2. 2PairOnLeads.jpg
          2PairOnLeads.jpg
          409 kB
        3. NoLeads.jpg
          NoLeads.jpg
          388 kB
        4. NoLeadsButSeparated.jpg
          NoLeadsButSeparated.jpg
          411 kB
        5. NoLeadsButSeparatedAfterRestart.jpg
          NoLeadsButSeparatedAfterRestart.jpg
          377 kB

          Issue Links

            Activity

              People

              Assignee:
              xilefian [Mojang] Felix Jones
              Reporter:
              arod529 arod529
              Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: