Here's the problem, i'm trying to host a modded 1.7.10 server and I get severe lag, even if i'm the only one in the server. Besides, there's lag spikes in my client when I run the server.
I assigned 2Gs of ram to the server and 2 to the client. ( I have 8 Gs ) I tried in 3 and 4 but there's no effect. Is there any way to remove this lag? Arguments, plugins, something?
Client JMV arguments:-Xmx2G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M -Dfml.ignoreInvalidMinecraftCertificates=true -Dfml.ignorePatchDiscrepancies=true (These Work perfectly when server isn't running )
Content of the bat file: java -Xms3G -jar forge-1.7.10-10.13.2.1291-universal.jar +UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
Why do you have so many flags defined? Personally, I don't think they're necessary to boost performance - some flags could even be detrimental to server performance. However, if you really want all these flags , as long as you know what you're doing then that's great. I haven't noticed much of a performance difference on my machine with extra flags, but it may be different for you.
Secondly, your formatting of the flags is really... unconventional, and some flags are not even in the correct format. Java wouldn't even run the batch file with using the format you provided above (I copied and pasted into a batch file). I've adjusted the format around a bit here and highlighted what I changed:
Set the young generation heap size to roughly 1/3 maximum heap size
Formatted the concurrent garbage collector flag correctly
Reorganized the flags to a standard run.bat file configuration
This probably won't give a major performance increase, but it doesn't hurt to try.
Also, would you mind creating a separate run.bat file (Ex. run-2.bat)? I'm interested to see if there's any difference in performance using no extra flags:
@echo off
java -d64 -Xmx3G -jar forge-1.7.10-10.13.2.1291-universal.jar
I suppose you could even test if setting the initial equal to the maximum heap size will make a difference (I doubt it will make much of a difference, if any):
@echo off
java -d64 -Xms3G -Xmx3G -jar forge-1.7.10-10.13.2.1291-universal.jar
If nothing else, it could be your PC that's slowing down your server. Eight gigs of ram is fine for normal gaming, however, combined with your lower end CPU and graphics card, running a server while running the Minecraft client could be too much for your PC. If you're getting server overload output in your console, I would say this is definitely one of the main issues.
It's a bit difficult to pinpoint the problem here though... would you mind posting your server log into Pastebin? I'd like to see if any errors are showing up.
Thanks, well I am new in this of placing the arguments. I'll try running the server like this and I'll upload the log as soon as can. It happens only in +1.7.2 servers only, and before this I used 1.6.4 with 50 mods without problems but that was when I had only 4 Gigs and W7 x32... The problem started when I installed W7 x64,I'm thinking on moving to W8.1 and see what happens...
I really appreciate you help. Thank you.
( Tell me if you don't understand, I'm not too good at english. )
Rollback Post to RevisionRollBack
Praise the modders! Without them, you probably would still using sticks and stones to fight a huge dragon till the end of days.
Thanks, well I am new in this of placing the arguments. I'll try running the server like this and I'll upload the log as soon as can. It happens only in +1.7.2 servers only, and before this I used 1.6.4 with 50 mods without problems but that was when I had only 4 Gigs and W7 x32... The problem started when I installed W7 x64,I'm thinking on moving to W8.1 and see what happens...
I really appreciate you help. Thank you.
( Tell me if you don't understand, I'm not too good at english. )
No problem! Glad to help out. Once you post the logs, I'll take a look and see if anything is out of the ordinary.
And Windows 8... well I'd personally advise against switching to that. I suppose if you really want to try it out though, go for it.
Don't worry, your English is great - you actually type better than a lot of people on this forum... lol.
I assigned 2Gs of ram to the server and 2 to the client. ( I have 8 Gs ) I tried in 3 and 4 but there's no effect. Is there any way to remove this lag? Arguments, plugins, something?
Client JMV arguments:-Xmx2G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M -Dfml.ignoreInvalidMinecraftCertificates=true -Dfml.ignorePatchDiscrepancies=true (These Work perfectly when server isn't running )
Content of the bat file: java -Xms3G -jar forge-1.7.10-10.13.2.1291-universal.jar +UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
Processor: Intel I3-3220 3.30Ghz
Ram: 8Gbs
GPU: Nvidia GeForce GT520 (1Gb)
OS: Windows 7 Ultimate x64
Java 8 x64
Please, help.
Praise the modders! Without them, you probably would still using sticks and stones to fight a huge dragon till the end of days.
Why do you have so many flags defined? Personally, I don't think they're necessary to boost performance - some flags could even be detrimental to server performance. However, if you really want all these flags , as long as you know what you're doing then that's great. I haven't noticed much of a performance difference on my machine with extra flags, but it may be different for you.
Secondly, your formatting of the flags is really... unconventional, and some flags are not even in the correct format. Java wouldn't even run the batch file with using the format you provided above (I copied and pasted into a batch file). I've adjusted the format around a bit here and highlighted what I changed:
Here's what I adjusted:
This probably won't give a major performance increase, but it doesn't hurt to try.
Also, would you mind creating a separate run.bat file (Ex. run-2.bat)? I'm interested to see if there's any difference in performance using no extra flags:
I suppose you could even test if setting the initial equal to the maximum heap size will make a difference (I doubt it will make much of a difference, if any):
If nothing else, it could be your PC that's slowing down your server. Eight gigs of ram is fine for normal gaming, however, combined with your lower end CPU and graphics card, running a server while running the Minecraft client could be too much for your PC. If you're getting server overload output in your console, I would say this is definitely one of the main issues.
It's a bit difficult to pinpoint the problem here though... would you mind posting your server log into Pastebin? I'd like to see if any errors are showing up.
Potato, potato, tomato, tomato.
Thanks, well I am new in this of placing the arguments. I'll try running the server like this and I'll upload the log as soon as can. It happens only in +1.7.2 servers only, and before this I used 1.6.4 with 50 mods without problems but that was when I had only 4 Gigs and W7 x32... The problem started when I installed W7 x64,I'm thinking on moving to W8.1 and see what happens...
I really appreciate you help. Thank you.
( Tell me if you don't understand, I'm not too good at english. )
Praise the modders! Without them, you probably would still using sticks and stones to fight a huge dragon till the end of days.
No problem! Glad to help out. Once you post the logs, I'll take a look and see if anything is out of the ordinary.
And Windows 8... well I'd personally advise against switching to that. I suppose if you really want to try it out though, go for it.
Don't worry, your English is great - you actually type better than a lot of people on this forum... lol.
Potato, potato, tomato, tomato.
Here, the logs:
*Lastest.log: http://paste.ubuntu.com/10666793/
* Fml server log: http://paste.ubuntu.com/10666812/ ( don't know why that format came out that way )
Hmm... Seems like no one likes the poor Windows 8. Sorry for the waiting, final exams.
Praise the modders! Without them, you probably would still using sticks and stones to fight a huge dragon till the end of days.