Gingerbread Posted April 25, 2016 Share Posted April 25, 2016 Hi there, I want an answer from klei devs if it is possible. A lot of new content is being added to DST and a lot new are on the way. Recently I experience some serious lag in the server that I have never seen before. Despite I am having a really decent CPU for my dedicated server (Gingerbread Cookies 1), server is having trouble when server is full so I decided to put the slot size down to 18 from 19. I have heard that implementation of multithreading for DST is impossible due to the nature of Lua. When should we expect an optimization for the servers or is it really impossible to introduce multithreading for this game? Despite server is only using 55% of the whole cpu when server is full, server is lagging hard cuz everyone is sitting on the surface (not many people really go to caves at all) so cave server seems like working for nothing other than picking up lightbulbs. Quote [11:30:15]: ConsoleInput: "c_listallplayers''" [11:30:15]: [1] merry christmas <wathgrithr> [11:30:15]: [2] Purple <wx78> [11:30:15]: [3] rossvegas <wickerbottom> [11:30:15]: [4] Fitness <wilson> [11:30:15]: [5] Dori Evadine <wendy> [11:30:15]: [6] Chocolate Thunder <wilson> [11:30:15]: [7] eybear <wendy> [11:30:15]: [8] Jerry <wilson> [11:30:15]: [9] DrewPDrawerz <waxwell> [11:30:15]: [10] ATHENA* <wendy> [11:30:15]: [11] Vladimatt (Doc_Squire) <wilson> [11:30:15]: [12] Gingerbread <wolfgang> [11:30:15]: [13] Tigre <wilson> [11:30:15]: [14] geoffie <wathgrithr> [11:30:15]: [15] slender795310 <webber> [11:30:15]: [16] RealSashimi <wilson> [11:30:15]: [17] Jeremy <wilson> [11:30:15]: [18] wertyloop <woodie> Ram-wise I am not having any trouble and I have never experienced anything like that and my vps got a pretty stable internet connection but cpu is having problem even at 55% usage. So again just out of curiosity. When should we expect an optimization for the servers or is it really impossible to introduce multithreading for this game? Thanks for the answers from anyone who knows this language and computers (klei devs are especially expected to answer :p) Link to comment https://forums.kleientertainment.com/forums/topic/66660-optimization-of-dst-for-servers/ Share on other sites More sharing options...
BlindGunner Posted April 25, 2016 Share Posted April 25, 2016 I don't know how feasible this is, but is it possible for one person to host the overworld and one person host the caves? That could 1. Allow for multiple caves(?) 2. Reduce the stress on the hosts' computers Sorry if this isn't even remotely possible Link to comment https://forums.kleientertainment.com/forums/topic/66660-optimization-of-dst-for-servers/#findComment-756476 Share on other sites More sharing options...
DarkXero Posted April 25, 2016 Share Posted April 25, 2016 22 minutes ago, BlindGunner said: I don't know how feasible this is, but is it possible for one person to host the overworld and one person host the caves? You can have slaves in different hosts connected to a master shard. You need to configure bind_ip and master_ip. OP is complaining about one server itself having a bottleneck. Link to comment https://forums.kleientertainment.com/forums/topic/66660-optimization-of-dst-for-servers/#findComment-756488 Share on other sites More sharing options...
BlindGunner Posted April 25, 2016 Share Posted April 25, 2016 1 minute ago, DarkXero said: OP is complaining about one server itself having a bottleneck. Yes, sorry, I realize my question was only partly related Just now, DarkXero said: You can have slaves in different hosts connected to a master shard. You need to configure bind_ip and master_ip. but thanks! Link to comment https://forums.kleientertainment.com/forums/topic/66660-optimization-of-dst-for-servers/#findComment-756492 Share on other sites More sharing options...
rezecib Posted April 25, 2016 Share Posted April 25, 2016 @Gingerbread There was a launch option for separating out the physics calculations, at least. Are you using that? I remember it had some stability issues at one point, but I'm not sure if that's still the case. @bizziboi would know. Link to comment https://forums.kleientertainment.com/forums/topic/66660-optimization-of-dst-for-servers/#findComment-756609 Share on other sites More sharing options...
Faintly Macabre Posted April 25, 2016 Share Posted April 25, 2016 8 hours ago, rezecib said: @Gingerbread There was a launch option for separating out the physics calculations, at least. Are you using that? I remember it had some stability issues at one point, but I'm not sure if that's still the case. @bizziboi would know. I'm not seeing it listed in either the command line options topic on the dedicated server board or on the fan wiki. Link to comment https://forums.kleientertainment.com/forums/topic/66660-optimization-of-dst-for-servers/#findComment-756788 Share on other sites More sharing options...
Developer bizziboi Posted April 25, 2016 Developer Share Posted April 25, 2016 That option indeed is not supported as the stability issues were not addressed. It also generally gave no significant gain. Link to comment https://forums.kleientertainment.com/forums/topic/66660-optimization-of-dst-for-servers/#findComment-757074 Share on other sites More sharing options...
Developer nome Posted April 26, 2016 Developer Share Posted April 26, 2016 50 minutes ago, Gingerbread said: When should we expect an optimization for the servers or is it really impossible to introduce multithreading for this game? You really can't multithread the lua. The thing about multithreading, the thing that makes it challenging, is you can't just farm off some tiny little thing that needs to access the same RAM as all the other bits. That actually makes it slower. You want some meaty job that has well defined and limited interactions with the rest of the data set. All the lua expects to be able to access the memory of all the other lua all the time. It makes it very convenient for designers and modders to make their ideas a reality, but it's not ideal for performance, so... yeah. It is what it is. Anyway, we do have optimization guys, but they're all trying to get PS4 out the door right now. Maybe when PS4 ships we'll do another pass on server performance? No promises obviously. Link to comment https://forums.kleientertainment.com/forums/topic/66660-optimization-of-dst-for-servers/#findComment-757563 Share on other sites More sharing options...
GiddyGuy Posted April 26, 2016 Share Posted April 26, 2016 2 minutes ago, nome said: but they're all trying to get PS4 out the door right now. Um please don't rush it into terribleness. Link to comment https://forums.kleientertainment.com/forums/topic/66660-optimization-of-dst-for-servers/#findComment-757565 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.