Jump to content

Davide

Members
  • Posts

    4
  • Joined

  • Last visited

Davide's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Sorry for my late answer. Still happening in latest forge. What I'm seeing is a single thread always using a full core, regardless of whether the server is loaded or not. The screeshot below was taken with the server idle, no users connected. Thread 30991 is using a complete core by itself. 75% of the CPU usage of this thread is system CPU. When there are users connected and the server is loaded, the thread is still consuming a full core by itself. The rest of the load is spread over several threads, but all tied to the idle core. What seems strange is that with the server idle, with no users connected, a full core is being used. This behavior leaves only one free core to serve users when they connect.
  2. Any suggestion on this? Any way of limiting clock_gettime syscalls? Is it common that forge uses more kernel CPU than vanilla?
  3. No, vanilla server uses far less CPU time than forge. I've just started vanilla server and straced java thread. It seems it's running the same syscall but only around 7500 times per second. This seems to be the difference that makes forge use much more kern CPU time that vanilla.
  4. On my up-to-date debian buster server installation: # cat /etc/debian_version 10.7 # java --version openjdk 11.0.9.1 2020-11-04 OpenJDK Runtime Environment (build 11.0.9.1+1-post-Debian-1deb10u2) OpenJDK 64-Bit Server VM (build 11.0.9.1+1-post-Debian-1deb10u2, mixed mode, sharing) # apt-cache policy openjdk-11-jre-headless openjdk-11-jre-headless: Instalados: 11.0.9.1+1-1~deb10u2 Candidato: 11.0.9.1+1-1~deb10u2 Tabla de versión: *** 11.0.9.1+1-1~deb10u2 500 500 http://debian.redimadrid.es/debian buster/main amd64 Packages 100 /var/lib/dpkg/status 11.0.9+11-1~deb10u1 500 500 http://security.debian.org/debian-security buster/updates/main amd64 Packages # uname -a Linux eneri 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ cpu MHz : 2200.000 Minecraft 1.16.5, Forge 36.0.13. I've also tried previous forge versions (all of them 36.0.x) with the same result When running vanilla server, two java threads are using around 10-20% CPU time when no players are connected. Almost all of this CPU time is user CPU time Same scenario with forge 36.0, one java thread is using around 10-20% CPU, but another one is always using 100% of one complete core with around 75% sys (kern) CPU time I've straced the problematic java thread, and it's running this syscall clock_gettime(CLOCK_MONOTONIC, {tv_sec=204463, tv_nsec=427087879}) = 0 around 11900 times a second. Is this behavior normal with forge installed or is it a bug ?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.