jominer247 Posted August 4, 2014 Posted August 4, 2014 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 plowmanplow Posted August 4, 2014 Discord Moderator Posted August 4, 2014 Good to see you back. Also good that you tried it out. Been using it myself since 1992 and it's been a hell of a ride.
jominer247 Posted August 4, 2014 Author Posted August 4, 2014 Oh yeah, Linux Debian is way better then Windows in every way I've seen so far. Should have listened first time round..
jominer247 Posted August 4, 2014 Author Posted August 4, 2014 A question, Would -XX:UseSSE=4 be better then -XX:UseSSE=3? My Xeon supports SSE4.
Discord Moderator plowmanplow Posted August 4, 2014 Discord Moderator Posted August 4, 2014 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.
jominer247 Posted August 4, 2014 Author Posted August 4, 2014 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 plowmanplow Posted August 4, 2014 Discord Moderator Posted August 4, 2014 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.
jominer247 Posted August 4, 2014 Author Posted August 4, 2014 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?
jominer247 Posted August 4, 2014 Author Posted August 4, 2014 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 plowmanplow Posted August 4, 2014 Discord Moderator Posted August 4, 2014 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.
jominer247 Posted August 4, 2014 Author Posted August 4, 2014 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
jominer247 Posted August 4, 2014 Author Posted August 4, 2014 Okay plowmanplow, this is what atop said: http://gyazo.com/18a84b76513c6b5fe12a095fdf6cf11b
jominer247 Posted August 4, 2014 Author Posted August 4, 2014 Uuuh, SATA HDDs are alright I get? I will be getting dual 120GB SSDs sometime in the future.
Discord Moderator plowmanplow Posted August 4, 2014 Discord Moderator Posted August 4, 2014 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.
jominer247 Posted August 4, 2014 Author Posted August 4, 2014 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?
jominer247 Posted August 4, 2014 Author Posted August 4, 2014 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
jominer247 Posted August 4, 2014 Author Posted August 4, 2014 Look what I found. http://gyazo.com/133effe0506bc979513c820c1ba8c8c6 http://linuxatemyram.com/ xD I dont seem to have that issue?
Discord Moderator plowmanplow Posted August 4, 2014 Discord Moderator Posted August 4, 2014 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.
jominer247 Posted August 4, 2014 Author Posted August 4, 2014 (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 ) 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 August 4, 2014 by jominer247
jominer247 Posted August 4, 2014 Author Posted August 4, 2014 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 plowmanplow Posted August 4, 2014 Discord Moderator Posted August 4, 2014 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.
jominer247 Posted August 4, 2014 Author Posted August 4, 2014 :L Tekkit runs fine with java8, but im sure i can get marco to gear down to java7, Thanks @plowmanplow
jominer247 Posted August 4, 2014 Author Posted August 4, 2014 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
jominer247 Posted August 5, 2014 Author Posted August 5, 2014 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now