Posted May 8, 20187 yr I have a problem where one of my Forge servers uses a lot of the CPU and causing performance problems on my other servers. I don't want to remove mods to help performance because I know what mod is causing the problem and it is one of the main mods on it.
May 8, 20187 yr First off that is not a good idea because even if you could limit CPU usage if that server is already using up most of your CPU throttling would make that server unplayable. Also to my knowledge the JVM has no control over CPU usage or its priority only the amount of memory allocation. The only possible workaround would be to run each server on a separate JVM in a separate Docker container. And control the resource (Memory, CPU, Network, IO) allocation for each container. Considering you don't already know this you should not even attempt it.
May 9, 20187 yr 12 hours ago, Niogenesis said: I don't want to remove mods to help performance because I know what mod is causing the problem and it is one of the main mods on it You might want to choose a new "main mod", because it sounds like the one in question has performance issues. As MDW01 said, if you limit the CPU usage for that server, when your "main mod" wants to suck up all those sweet sweet CPU cycles and can't, that server will bog right out, causing issues. You have to ask yourself the question: Which is worse, unplayable server, or server without this "main mod"?
May 9, 20187 yr In short you shouldn't. 4 minutes ago, Ugdhar said: You might want to choose a new "main mod" If you are still planning on doing this, try @MDW01's approach. There are some other (possibly better) approaches but they are OS specific, what are you running? About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
May 9, 20187 yr Author 7 hours ago, Cadiboo said: In short you shouldn't. If you are still planning on doing this, try @MDW01's approach. There are some other (possibly better) approaches but they are OS specific, what are you running? 1 I am currently running it on Windows 10
May 10, 20187 yr 12 hours ago, Niogenesis said: I am currently running it on Windows 10 Use @MDW01's approach. I don't know anything off the top of my head but for mac & linux there are apps (and console commands) that allow you to forcibly limit a specific application's ram, cpu & network usage. You could try looking at windows versions of these. About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.