Jump to content

Recommended Posts

Posted

Yep, I made a massive mistake using Windows, You guys where right.

 

I decided to see for myself what everyone was saying so I installed Linux Debian onto my dedicated server with a multicraft control panel and the performance is absolutely.. undescribably less laggy, even my players agree.

 

Sorry for my arrogance as previous, I have realised now I should have listened when you said Linux was better.

  • Discord Moderator
Posted

It is safe to leave that option out altogether if you are using a recent version of Java 7 or 8. It defaults to the highest value possible.

Posted

Hmmm, Okay so it would go to SSE=4 anyways?

 

Also, is there a way to force my Xeon to run at 3.8GHz (or atleast 3.4GHz w/turboboost) at all times by disabling the governor? Or...

  • Discord Moderator
Posted

I think the default for UseSSE is something ridiculous like 99 so there's no need to specify a limit.

 

As for your CPU, there's no need to force it to run at a higher rate all the time. Modern CPUs are very good at monitoring their load (both computational and thermal) and providing the maximum union of both when the job requires. You are much better off letting it manage things itself.

Posted

Oh Okay.

Is there any other distros you personally reccommend over debian performance wise? I've had a great time with debian so far, Love the OS, But I heard CentOS was a good one?

 

Also is it true that Ubuntu is slow?

Posted

It also seems my server console is saying "can't keep up" with debian, it didnt say that with windows, Is there anything I need to do besides setting the governor to performance to improve speed?

  • Discord Moderator
Posted

CentOS is a good, solid distro and has a large install base so getting to know that is always a good option.

 

As for as performance of different distros, they should all be within most test scenarios. All Linux distros pull from the same kernel and utilities (mostly) so the performance is largely based on hardware and tuning. Assuming you are running on the same hardware there should be no real difference.

 

Any "can't keep up" messages are either due to memory, disk I/O or CPU cycle starvation. Run something like atop ( http://www.atoptool.nl/ ) to see what is getting hit the hardest to help you figure out where to focus your efforts.

Posted

Okay, gimme a bit while i install atop ill tell u what it says

My dedicated server:

Intel Xeon E3-1245v2 @ 3.4GHz

32GB DDR3 RAM

2x2TB SATA HDD

  • Discord Moderator
Posted

That atop output show a system that is barely loaded down at all. There is no reason you should see the "can't keep up" message with those stats.

Posted

Found out what it was.

I forgot to add the -Xincgc flag, and the gc was pausing java and causing lag spikes.

 

Thanks for the help plowmanplow, You seem really helpfull.

 

I really am sorry for my previous arrogance.

 

Anyways, Would you reccomend putting my server on a RAMDisk if its even possible with Multicraft installed on my dedi? Or should I take the server off multicraft, put it on a RAMDisk and run it w/ Screen?

Posted

My coowner is making my life very difficult, He preffers the Windows GUI over the control panel or SSH. And wants me to install GNome. I know Gnome lags and im not going to.

 

This is what he said:

[18:46:22] Joseph ๖ۣۜDeatrix Network Owner: Online, 17/1000 players (PID: 6700)
[18:47:11] Joseph ๖ۣۜDeatrix Network Owner: Marco
[18:47:20] Joseph ๖ۣۜDeatrix Network Owner: Whats ur opinion on Debian Linux so far?
[18:48:45] Marco ๖ۣۜDeatrix: shitty
[18:49:51] Joseph ๖ۣۜDeatrix Network Owner: -_-
[18:49:53] Joseph ๖ۣۜDeatrix Network Owner: Why>?
[18:49:58] Joseph ๖ۣۜDeatrix Network Owner: Look at the performance increase
  • Discord Moderator
Posted

With the amount of memory your system has, running an X session won't have any negative impact on the performance of the server. And no, you can safely ignore what's in buffered space vs. swap vs. cache, etc. Until you are starting your server process on a 32G system with -Xmx30G it is a non-issue.

Posted (edited)

I'm never going to allocate that much ram to one server, I heard to much ram can lag a server, But I doubt it because the guy who told me on skype was full of bullshit.

 

I keep deatrix (new ed. of emeraldcraft) running on 10GB of ram, Me and my rather annoyed coowner who hates Debian and is a past-version of myself, Are setting up a bTeam server as we speak, but that wont be out for long.

 

(Im thinking of just being lazy and copyin the spawns over from tekkit classic lol. none of them really use tc items :D)

 

And that servers probs only going to have 5GB to start with.

 

Also, would my server be considerably faster running it off multicraft and on screen -r instead? That way I dont have to have apache2 etc installed.

 

ALSO would Java8 be faster then Java7? If so, can you give me a simple tut to installing Java8 on Debian 7.5 Wheezy?

Edited by jominer247
Posted
R:BTEAM>java -Xmx2G -Xms2G -jar MCPC.jar nogui
aug 04, 2014 8:38:49 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Loading tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker
aug 04, 2014 8:38:49 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Using primary tweak class name cpw.mods.fml.common.launcher.FMLServerTweak
er
aug 04, 2014 8:38:49 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Calling tweak class cpw.mods.fml.common.launcher.FMLServerTweaker
A problem occurred running the Server launcher.java.lang.reflect.InvocationTarge
tException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.j
ava:43)
        at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.
java:12)
Caused by: java.lang.NoClassDefFoundError: com/google/common/collect/Lists
        at cpw.mods.fml.common.launcher.FMLTweaker.acceptOptions(FMLTweaker.java
:45)
        at net.minecraft.launchwrapper.Launch.launch(Launch.java:110)
        at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
        ... 6 more
Caused by: java.lang.ClassNotFoundException: com.google.common.collect.Lists
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 9 more
 
R:BTEAM>pause
Press any key to continue . . .
 
Whats that error? My friends getting it when he tries to launch the BTeam server.
  • Discord Moderator
Posted
  • The current/latest versions of BTeam have MobiusCore and Opis versions which are incompatible with Cauldron. If you are using that it won't work. Make sure you are using the latest versions of Cauldron for your server and that you ran the installer to get the latest libraries.
  • Don't use Java 8. Many, many mods have issues with Java 8.
Posted

You know what plowmanplow? I really did make a mistake.

Debian Linux is probably the best OS i've ever used, I've never seen an OS use so little resources and be so simple and user friendly to use.

 

I'm telling ya, dont listen to what i said about windows, When I look back at windows I see a laggy shitty OS that should never be used now xD

Posted

Found the overall lag issue.

 

People where using the block cutter upgrades and was causing the server 2ms lag which took the tps down to 19.666666.

That has been sorted.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...