Why Oh Why Does FTB Use 60% of My CPU?

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Doogla

New Member
Jul 29, 2019
2
0
0
This is my first time starting a FTB Monster server for my friends and I to play on. I've never had lag problems before with Tekkit or other FTB mod packs.

Here are my specs:

Windows 8
Intel Core i7-3770K 3.50GHz
32GB RAM
120 GB SSD
NVIDIA GeForce GTX 760


I have done the following:
  • In ServerStart.bat I set -Xms and -Xmx to both 2G each, 4G each, and 8G each.
  • In ServerStart.bat I set -XX:MaxPermSize to 128m, 256m, and 512m.
  • I went to Control Panel, clicked Java, clicked the Java tab, clicked View, and set the Runtime Parameters to -Xmx16284.
  • In server.properties I set view-distance to a lower number.
  • In Task Manager, I right clicked the javaw task and set its priority to High.

Watching the server GUI window, it seems that memory is not the issue, never falling below "90% free." But the line graph earthquake looking thing above goes nuts when people join and move around. It never went that crazy in my last servers. In fact, it's comparable to what would happen when we'd set off several nukes at once on my old servers. I launch Task Manager and I've got two java tasks going, one for the server and one for the client I play on, and each are running at around 40% - 50% of my CPU, pretty much maxing it out.

So can my computer not run a FTB Monster Server, or is there a mod I need to disable, or some other parameter I need to change in the BAT files, or what?
 
Last edited:

Connor Gavitt

New Member
Jul 29, 2019
1,091
-1
0
There is almost nothing you can do, however that processor has many cores and as long as you don't have a load of crap running in the background you should be able to run client and server at the same time on seperate cores.
 

Skvapter

New Member
Jul 29, 2019
125
0
0
Not really an expert with this kind of stuff but I'm pretty sure that FTB is just a "CPU hogger" overall, No matter what system FTB will always use up a considerable amount of RAM and CPU usage. However, I believe you're trying to play off of a local server, running and playing it on the same system. That could throw a lot of stress on to your computer as it has to keep the server up and running containing all the mods -- CPU destroying on it's own but then also keep the FTB client open and running too. How it's even at 50% CPU for you amazes me but that's probably only because my system's rather low end, AMD. But yes, I'm no expert but this is what I gather would be happening. I'm giving you an idea of what MIGHT be the case, until proven otherwise, hopefully anyway.
 

Lawbroken

New Member
Jul 29, 2019
1,336
0
0
Not really an expert with this kind of stuff but I'm pretty sure that FTB is just a "CPU hogger" overall, No matter what system FTB will always use up a considerable amount of RAM and CPU usage. However, I believe you're trying to play off of a local server, running and playing it on the same system. That could throw a lot of stress on to your computer as it has to keep the server up and running containing all the mods -- CPU destroying on it's own but then also keep the FTB client open and running too. How it's even at 50% CPU for you amazes me but that's probably only because my system's rather low end, AMD. But yes, I'm no expert but this is what I gather would be happening. I'm giving you an idea of what MIGHT be the case, until proven otherwise, hopefully anyway.
Huh weird, Just loaded up a normal MC and was using 25% cpu then loaded FTB Monster (189mods) and it's using 28%
Not much of a difference so maybe it's Java rather then the game/and mods
 
Last edited:
  • Like
Reactions: Skvapter

Connor Gavitt

New Member
Jul 29, 2019
1,091
-1
0
Not really an expert with this kind of stuff but I'm pretty sure that FTB is just a "CPU hogger" overall, No matter what system FTB will always use up a considerable amount of RAM and CPU usage. However, I believe you're trying to play off of a local server, running and playing it on the same system. That could throw a lot of stress on to your computer as it has to keep the server up and running containing all the mods -- CPU destroying on it's own but then also keep the FTB client open and running too. How it's even at 50% CPU for you amazes me but that's probably only because my system's rather low end, AMD. But yes, I'm no expert but this is what I gather would be happening. I'm giving you an idea of what MIGHT be the case, until proven otherwise, hopefully anyway.
You said he uses low end and however he has a pretty high end intel CPU.
 

Doogla

New Member
Jul 29, 2019
2
0
0
So my friend tried hosting, and it worked fine for him. But every part in his computer is lower end than mine, so I'm not understanding it. I have Java 8 if that helps. We still need help because he is prone to PMS spells so we don't allow him to host.
 

DZCreeper

New Member
Jul 29, 2019
1,469
0
1
  • In ServerStart.bat I set -Xms and -Xmx to both 2G each, 4G each, and 8G each.
  • In ServerStart.bat I set -XX:MaxPermSize to 128m, 256m, and 512m.
  • I went to Control Panel, clicked Java, clicked the Java tab, clicked View, and set the Runtime Parameters to -Xmx16284.
  • In server.properties I set view-distance to a lower number.
  • In Task Manager, I right clicked the javaw task and set its priority to High.
Get rid of the first three things you tried. Switch to Java 7. Make sure your JVM arguments have the word "nogui" at the very end, minus the quotation marks.
 
  • Like
Reactions: Connor Gavitt