Kzisor Posted February 16, 2015 Share Posted February 16, 2015 @bizziboi, the lag spikes got 50% of the server killed and lasted for over 2-3 minutes. Hardware Specs:CPU: Core i7 2600k @ 4.4GHZ Memory: 16gb @ 1300mhz SSD Windows 7 64bit CPU Usage: ~60% Internet: 20MB down/3MB up I am trying to maximize the amount of players a server can maintain without lag and it seems everything is fine until we get 12+ players and players constantly joining and leaving. I've recently reduced the amount of players to 12 to reduce the factoring limit which was denoted in the above scenario. Currently the server is running and there are 7 players online and the CPU usage for the cores running the server is at 45% usage, dropping to 35% when players are not actively joining/leaving the server. Here is the current internet usage: It spikes up 2MB whenever a player joins the server. When 2 players join it spikes to my maximum bandwidth. Edit:Adding another profile from today with 12 players, no to very little lag without players joining. Everyone seems to be enjoying the server massively. Link to comment Share on other sites More sharing options...
ToNiO55 Posted February 17, 2015 Share Posted February 17, 2015 Hi @Kzisor, what kind of your server for having value as low CPU?I mean your server is survival, endless or wilderness?there is no mod on your server?personally my server is on wilderness with several mod: Renewable WorldNature's Still WildRespawnable GearsSimple ProtectionGlobal Player Icons and I am already 1000 days on my server when my server is full (8slots) all the time between 80 and 100% use a core of CPU probably related to such of my mods which respawn items and monsters on the map: Renewable World and Nature's Still Wild the problem is that if I remove the mods, the map is very quickly empty on wilderness unfortunately lags are becoming stronger and painful Link to comment Share on other sites More sharing options...
Kzisor Posted February 17, 2015 Share Posted February 17, 2015 @ToNiO55, the specs for my machine is above; however I will answer the other questions. No, I do not have any mods installed on the server. The game mode is survival. The only time I ever get lag is directly from someone joining a server. People leaving a server causes no lag. Very rarely does my server ever reach 150 days. Link to comment Share on other sites More sharing options...
Kuldiin Posted February 18, 2015 Share Posted February 18, 2015 Sorry I don't have a profile to attach myself, my host should be sending these in soon. Here is a server than normally runs 12 people with a bare minimum of lag, now struggling with two people. http://steamcommunity.com/sharedfiles/filedetails/?id=394743667 Will try different ingame things, cleaning up areas, less mods etc and report back. Link to comment Share on other sites More sharing options...
Developer bizziboi Posted February 18, 2015 Author Developer Share Posted February 18, 2015 Hi @Kuldiin, Yeah, that's pretty odd/bad. I added more details to the profiler to see if I can figure out what can causes this, as that's obviously not intended - I hope to get the new profiler out today as I need to find the cause of this. Could you try running 'CountEntities' as a remote command and paste me the output from the log that gives? I observed yesterday that (seemingly) something caused the entire server to slow down without the world significantly changing. Needless to say I'm investigating it as well. Link to comment Share on other sites More sharing options...
Kuldiin Posted February 18, 2015 Share Posted February 18, 2015 Hi @Kuldiin, Yeah, that's pretty odd/bad. I added more details to the profiler to see if I can figure out what can causes this, as that's obviously not intended - I hope to get the new profiler out today as I need to find the cause of this. Could you try running 'CountEntities' as a remote command and paste me the output from the log that gives? I observed yesterday that (seemingly) something caused the entire server to slow down without the world significantly changing. Needless to say I'm investigating it as well. [02:10:04]: [Kuldiin:KU_IKO8JNh5] ReceiveRemoteExecute(CountEntities()) @(68.20, 403.36)[02:10:04]: Total entities: 20895 (awake 1279) [02:10:04]: No prefab: 18 [02:10:04]: Invalid entities: 0 [02:10:04]: evergreen - 7557 [02:10:04]: inventoryitem_classified - 2582 [02:10:04]: sapling - 1132 [02:10:04]: grass - 1072 [02:10:04]: burntground - 661 [02:10:04]: flower - 490 [02:10:04]: wall_stone - 418 [02:10:04]: flint - 364 [02:10:04]: spoiled_food - 343 [02:10:04]: marsh_tree - 315 [02:10:04]: rock1 - 310 [02:10:04]: tentacle - 284 [02:10:04]: farmrock - 280 [02:10:04]: rabbit - 242 [02:10:04]: farmrocktall - 240 [02:10:04]: rabbithole - 235 [02:10:04]: farmrockflat - 200 [02:10:04]: rocks - 190 [02:10:04]: wall_wood - 188 [02:10:04]: fireflies - 176 [02:10:04]: nitre - 146 [02:10:04]: marsh_bush - 145 [02:10:04]: berrybush - 139 [02:10:04]: fencepost - 120 [02:10:04]: rock2 - 112 [02:10:04]: spiderden - 106 [02:10:04]: heatrock - 104 [02:10:04]: heatrocklight - 104 [02:10:04]: pinecone - 101 [02:10:04]: red_mushroom - 90 [02:10:04]: green_mushroom - 90 [02:10:04]: carrot_planted - 87 [02:10:04]: fencepostright - 80 [02:10:04]: skeleton_player - 75 [02:10:04]: beefalo - 71 [02:10:04]: poop - 66 [02:10:04]: flies - 65 [02:10:04]: trap - 64 [02:10:04]: seeds - 64 [02:10:04]: flower_evil - 62 [02:10:04]: silk - 58 [02:10:04]: pighouse - 55 [02:10:04]: pigman - 55 [02:10:04]: axe - 53 [02:10:04]: container_classified - 49 [02:10:04]: spawnpoint_multiplayer - 48 [02:10:04]: spider - 48 [02:10:04]: spidergland - 40 [02:10:04]: signleft - 40 [02:10:04]: fast_farmplot - 40 [02:10:04]: log - 39 [02:10:04]: beehive - 37 [02:10:04]: twigs - 36 [02:10:04]: brass_lantern - 35 [02:10:04]: reeds - 33 [02:10:04]: meatrack - 33 [02:10:04]: blue_mushroom - 32 [02:10:04]: mound - 30 [02:10:04]: pond_mos - 27 [02:10:04]: rock_flintless - 27 [02:10:04]: plant_normal - 27 [02:10:04]: gravestone - 25 [02:10:04]: cutgrass - 24 [02:10:04]: tallbird - 24 [02:10:04]: tallbirdnest - 24 [02:10:04]: lighter - 24 [02:10:04]: pickaxe - 24 [02:10:04]: merm - 24 [02:10:04]: bee - 21 [02:10:04]: trap_teeth - 21 [02:10:04]: treasurechest - 21 [02:10:04]: houndstooth - 20 [02:10:04]: pond - 19 [02:10:04]: tentaclespike - 19 [02:10:04]: rock_moon - 19 [02:10:04]: mosquitosack - 18 [02:10:04]: stinger - 16 [02:10:04]: shovel - 15 [02:10:04]: mermhouse - 13 [02:10:04]: spear - 12 [02:10:04]: marbletree - 12 [02:10:04]: goldnugget - 12 [02:10:04]: torch - 12 [02:10:04]: firepit - 12 [02:10:04]: cookpot - 11 [02:10:04]: penguin_ice - 11 [02:10:04]: leif - 11 [02:10:04]: beebox - 11 [02:10:04]: backpack - 11 [02:10:04]: wormhole - 10 [02:10:04]: spiderqueen - 10 [02:10:04]: feather_crow - 10 [02:10:04]: houndbone - 10 [02:10:04]: beefaloherd - 9 [02:10:04]: birdtrap - 9 [02:10:04]: meteorspawner - 9 [02:10:04]: spider_warrior - 8 [02:10:04]: icehound - 8 [02:10:04]: statueharp - 8 [02:10:04]: moonrocknugget - 8 [02:10:04]: skeleton - 7 [02:10:04]: abigail_flower - 7 [02:10:04]: mosquito - 7 [02:10:04]: dug_grass - 6 [02:10:04]: bugnet - 6 [02:10:04]: gears - 6 [02:10:04]: marble - 5 [02:10:04]: tentaclespots - 5 [02:10:04]: monstermeat - 5 [02:10:04]: livinglog - 5 [02:10:04]: icebox - 5 [02:10:04]: bluegem - 5 [02:10:04]: knight - 5 [02:10:04]: dug_berrybush - 5 [02:10:04]: lightning_rod - 5 [02:10:04]: robin - 5 [02:10:04]: birdcage - 4 [02:10:04]: blowdart_pipe - 4 [02:10:04]: rock_flintless_med - 4 [02:10:04]: researchlab2 - 4 [02:10:04]: cutreeds - 4 [02:10:04]: rock_flintless_low - 4 [02:10:04]: livingtree - 4 [02:10:04]: turf_forest - 4 [02:10:04]: insanityrock - 4 [02:10:04]: ash - 4 [02:10:04]: walrus_camp - 4 [02:10:04]: sanityrock - 4 [02:10:04]: pitchfork - 4 [02:10:04]: feather_robin - 4 [02:10:04]: walrus_tusk - 4 [02:10:04]: koalefant_summer - 4 [02:10:04]: spawnlight_multiplayer - 3 [02:10:04]: pigskin - 3 [02:10:04]: rope - 3 [02:10:04]: strawhat - 3 [02:10:04]: statuemaxwell - 3 [02:10:04]: nightmarefuel - 3 [02:10:04]: charcoal - 3 [02:10:04]: perd - 3 [02:10:04]: redgem - 3 [02:10:04]: rottenegg - 3 [02:10:04]: razor - 3 [02:10:04]: hammer - 2 [02:10:04]: honeycomb - 2 [02:10:04]: bishop - 2 [02:10:04]: pighead - 2 [02:10:04]: babybeefalo - 2 [02:10:04]: armorwood - 2 [02:10:04]: trinket_3 - 2 [02:10:04]: researchlab3 - 2 [02:10:04]: footballhat - 2 [02:10:04]: beehat - 2 [02:10:04]: dug_sapling - 2 [02:10:04]: monstermeat_dried - 2 [02:10:04]: honey - 2 [02:10:04]: cane - 2 [02:10:04]: researchlab4 - 2 [02:10:04]: beefalowool - 2 [02:10:04]: researchlab - 2 [02:10:04]: wall_hay_item - 2 [02:10:04]: trunkvest_summer - 2 [02:10:04]: cutstone - 2 [02:10:04]: firestaff - 1 [02:10:04]: hambat - 1 [02:10:04]: chester_eyebone - 1 [02:10:04]: sewing_kit - 1 [02:10:04]: dragonfruit_seeds - 1 [02:10:04]: turf_carpetfloor - 1 [02:10:04]: mist - 1 [02:10:04]: resurrectionstone - 1 [02:10:04]: tophat - 1 [02:10:04]: player_classified - 1 [02:10:04]: feather_robin_winter - 1 [02:10:04]: trinket_8 - 1 [02:10:04]: goldenpickaxe - 1 [02:10:04]: focalpoint - 1 [02:10:04]: froglegs_cooked - 1 [02:10:04]: trunkvest_winter - 1 [02:10:04]: walrushat - 1 [02:10:04]: frostbreath - 1 [02:10:04]: nightsword - 1 [02:10:04]: inventory_classified - 1 [02:10:04]: steelwool - 1 [02:10:04]: world_network - 1 [02:10:04]: spawnpoint_master - 1 [02:10:04]: dragonfruit - 1 [02:10:04]: koalefant_winter - 1 [02:10:04]: smallmeat_dried - 1 [02:10:04]: beardhair - 1 [02:10:04]: trinket_13 - 1 [02:10:04]: minimap - 1 [02:10:04]: pigking - 1 [02:10:04]: killerbee - 1 [02:10:04]: trinket_9 - 1 [02:10:04]: multiplayer_portal - 1 [02:10:04]: trinket_12 - 1 [02:10:04]: goldenaxe - 1 [02:10:04]: trinket_1 - 1 [02:10:04]: goldenshovel - 1 [02:10:04]: forest - 1 [02:10:04]: wilson - 1 [02:10:04]: papyrus - 1 [02:10:04]: boards - 1 [02:10:04]: amulet - 1 [02:10:04]: winterometer - 1 [02:10:04]: chester - 1 [02:10:04]: trinket_11 - 1 [02:10:04]: tent - 1 [02:10:04]: homesign - 1 [02:10:04]: meat_dried - 1 [02:10:04]: turf_checkerfloor - 1 [02:10:04]: crow - 1 [02:10:04]: minerhat - 1 [02:10:04]: armorgrass - 1 [02:10:04]: robin_winter - 1 [02:10:04]: spidereggsack - 1 Link to comment Share on other sites More sharing options...
Developer bizziboi Posted February 18, 2015 Author Developer Share Posted February 18, 2015 Hi @Kuldiin, Thanks. Out of curiosity, and if you are in a position to do so - does the "Bad Host" persist when you restart the server? Link to comment Share on other sites More sharing options...
Kuldiin Posted February 18, 2015 Share Posted February 18, 2015 Hi @Kuldiin, Thanks. Out of curiosity, and if you are in a position to do so - does the "Bad Host" persist when you restart the server? Yes (including a freshly spawned world). We were only able to get 4 players on when I password protected the server earlier today, but there was no indication of the server even going 'Ok Host', which it normally starts doing 2/3 people in lately. Once I restarted and removed the password, the server once again seemed slower. Its settled down a bit today, and seems to be hitting 'Bad Host' as soon as we pass 5 players. I have set the limit to 5 (from 6) for next time the server restarts. I noticed 0 difference in lag with 'starting items' and 'Renewable World' disabled. Have just taken a profile with 6 and attached.Kuldiin18feb15.zip Link to comment Share on other sites More sharing options...
Developer bizziboi Posted February 18, 2015 Author Developer Share Posted February 18, 2015 @Kuldiin, Thanks, I'm wrecking my mind over this. When the new release hits (should be later today) could you grab another profile (preferrably when it's okay and when it's bad if you get a chance). There is definitely something strange going on (and we didn't add anything that could explain it) and I really need all the data I can get my hands on. Also, are you running on a rented dedicated server or your own hardware, if your own, what kind of hardware? (I couldn't find this info, if you already mentioned that, apologies). Kaj Link to comment Share on other sites More sharing options...
Kuldiin Posted February 18, 2015 Share Posted February 18, 2015 @Kuldiin, Thanks, I'm wrecking my mind over this. When the new release hits (should be later today) could you grab another profile (preferrably when it's okay and when it's bad if you get a chance). There is definitely something strange going on (and we didn't add anything that could explain it) and I really need all the data I can get my hands on. Also, are you running on a rented dedicated server or your own hardware, if your own, what kind of hardware? (I couldn't find this info, if you already mentioned that, apologies). Kaj I use rented servers Have used Jest(http://jestservers.com/about/) and KillServers (http://forums.kleientertainment.com/topic/50699-killservers-is-offering-dont-starve-together-dedicated-hosting/#entry613570 ) as hosts (Dread is also providing profiles in this thread). Both hosts have the same issues, and are run from their UK centres. To both systems I generally average a ping of around 20. Will most likely be tomorrow for me, as in the UK here. Link to comment Share on other sites More sharing options...
Kzisor Posted February 18, 2015 Share Posted February 18, 2015 @bizziboi, I'm going to increase the amount of servers that I have running to 3 dedicated online servers. I'm hoping this will help shed some light on the 12+ player lag that I've had previously. Link to comment Share on other sites More sharing options...
Developer bizziboi Posted February 18, 2015 Author Developer Share Posted February 18, 2015 @Kzisor, I'd sure appreciate any insight you gain (or profiles for that matter). As mentioned before, performance seems to drop sharply without (as of yet) a logical reason. So sharply that it's almost as if the system goes into low power mode (not saying it is, but if you host a server locally and your system goes in low power mode it also degrades to bad). Link to comment Share on other sites More sharing options...
Kzisor Posted February 18, 2015 Share Posted February 18, 2015 @bizziboi, I can actually test that theory if you guys haven't already tested it. I can turn my computer into power saving mode and see exactly how much it hurts performance. Although with my i7 power saving mode is still at 3.8GHZ. Link to comment Share on other sites More sharing options...
Developer bizziboi Posted February 18, 2015 Author Developer Share Posted February 18, 2015 @Kzisor, I was about to try setting max and min processor utilization to 5% under advanced power options. Any data is welcome Have you experienced sharp performance drop-off on a standalone non-shared, non-virtualized server? Link to comment Share on other sites More sharing options...
Kzisor Posted February 18, 2015 Share Posted February 18, 2015 @bizziboi, only when players join a server; internet connection spikes up to 1-2 MB when transferring the map data to players. Once players are in game everything stabilizes permanently. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.