[Server] LinuxWorks Next Generation (Lots of trains)

User avatar
gpcf
Member
 
Posts: 327
Joined: Fri May 27, 2016 10:48
In-game: gabriel

Re: [Server] LinuxWorks Next Generation (Lots of trains)

by gpcf » Sat Sep 21, 2019 18:59

Also, there are literally dozens of apps on the play store called "multicraft", of which at least some of them showed ads in multiplayer at some point in time. Also, some of those apps require players to pay to be able to fly, which is needed to use cranes.

EDIT: MultiCraft DID feature ads in multiplayer when the Multikraft nein Danke sign was made: https://github.com/MultiCraft/MultiCraf ... 530e54bc68
 

yw05
Member
 
Posts: 114
Joined: Tue May 07, 2019 12:59
Location: linux-forks.de port 30000
IRC: yw05
In-game: ywang

Re: [Server] LinuxWorks Next Generation (Lots of trains)

by yw05 » Sat Sep 21, 2019 19:15

gpcf wrote:Also, there are literally dozens of apps on the play store called "multicraft", of which at least some of them showed ads in multiplayer at some point in time. Also, some of those apps require players to pay to be able to fly, which is needed to use cranes.

EDIT: MultiCraft DID feature ads in multiplayer when the Multikraft nein Danke sign was made: https://github.com/MultiCraft/MultiCraf ... 530e54bc68

Code: Select all
2019-09-19 17:58:17: <###> what is that time remaining thing?
2019-09-19 17:58:39: <###> ###: what time remaining thing?
2019-09-19 17:59:13: <###> it says time remaining:1:10
2019-09-19 17:59:26: <###> ###: where?
2019-09-19 17:59:36: <###> on the top of my screen
2019-09-19 17:59:49: <###> ###: that's not supposed to happen
2019-09-19 17:59:56: <###> i think i'm getting kicked out of the server...
2019-09-19 18:00:07: <###> ###: please download the *OFFICIAL* Minetest server from minetest.net
2019-09-19 18:00:16: *** ### left the game.
2019-09-19 18:00:54: *** ### joined the game.
2019-09-19 18:01:03: <###> yep... it kicked me...
2019-09-19 18:01:12: <###> ###: you are not kicked. You are using an unofficial client
2019-09-19 18:01:44: <###> the game is kicking me... downloaded from play store...
2019-09-19 18:02:01: <###> ###: make sure it's Minetest and not Multicraft/etc
2019-09-19 18:02:03: <###> game server time limit
2019-09-19 18:02:18: <###> is the game on windows?
2019-09-19 18:02:27: <###> ###: Windows/Linux/Android
2019-09-19 18:02:35: <###> ok...
2019-09-19 18:03:01: <###> ###: Android is known to have many unofficial Minetest clients. Some are even illegal
2019-09-19 18:03:10: <###> fbi open up...
2019-09-19 18:03:35: *** ### left the game.
2019-09-19 18:04:07: *** ### joined the game.
2019-09-19 18:04:48: <###> ###: please get yourself an official client - joining and leaving the server requently may result in short-time ban
2019-09-19 18:04:57: <###> some crap android mine test unofficial thing
2019-09-19 18:05:15: <###> ok bye see you on windows...
2019-09-19 18:05:29: <###> how long is that ban??
2019-09-19 18:05:37: <###> ###: not sure
2019-09-19 18:05:46: <###> ok bye
2019-09-19 18:05:48: *** ### left the game.
Huh, why am I still using Minetest 4.x?
 

User avatar
Blockhead
Member
 
Posts: 10
Joined: Wed Jul 17, 2019 10:14
In-game: Blockhead

Petition to remove massive lag

by Blockhead » Mon Nov 25, 2019 13:26

Something of late has been causing undue lag 24/7 on the server. Given that there is not much that can cause lag even an empty server except advtrains, I am suspecting someone has been using way too many LuaATC interrupts at too high a frequency, and that said code should be removed; or else we simply have too many trains and should rationalise them or fix advtrains...
 

BuckarooBanzay
Member
 
Posts: 319
Joined: Tue Apr 24, 2018 05:58
Location: Switzerland
GitHub: thomasrudin-mt
In-game: BuckarooBanzai

Re: Petition to remove massive lag

by BuckarooBanzay » Mon Nov 25, 2019 19:03

Blockhead wrote:Something of late has been causing undue lag 24/7 on the server. Given that there is not much that can cause lag even an empty server except advtrains, I am suspecting someone has been using way too many LuaATC interrupts at too high a frequency, and that said code should be removed; or else we simply have too many trains and should rationalise them or fix advtrains...


Those are the things i did to counter any lag issues:


I hope that helps...
 

User avatar
Festus1965
Member
 
Posts: 969
Joined: Sun Jan 03, 2016 11:58
Location: Thailand - Chiang Mai (+5-6h to MEZ)
In-game: Thomas Explorer

Re: [Server] LinuxWorks Next Generation (Lots of trains)

by Festus1965 » Mon Nov 25, 2019 20:49

start with a "/profiler save" export, and check that ... best start before go coding.
Server: still up, see some gamer - but there is a new 1st important thread "climate change" for me. Something I know since 1992 - had seen the melting glacier in Switzerland.
 

User avatar
gpcf
Member
 
Posts: 327
Joined: Fri May 27, 2016 10:48
In-game: gabriel

Re: [Server] LinuxWorks Next Generation (Lots of trains)

by gpcf » Mon Nov 25, 2019 21:05

Also definitely problematic: advtrains and its routing mechanism, which seems overcomplicated and slow. I'm currently debating on how to proceed, since it seems that advtrains is the kind of application for which dynamically typed languages are unsuitable, since it requires lots of tiny objects, such as each single track, so I was wondering whether it could be a good idea to rewrite the heaviest parts of the mod in C.
 

User avatar
gpcf
Member
 
Posts: 327
Joined: Fri May 27, 2016 10:48
In-game: gabriel

Re: Petition to remove massive lag

by gpcf » Mon Nov 25, 2019 21:21

BuckarooBanzay wrote:
  • Technic: disable forceloading entirely, that stuff does not scale... :/



How do I disable that? using max_forceloaded_blocks = 0, which is already active on my server?
 

User avatar
Festus1965
Member
 
Posts: 969
Joined: Sun Jan 03, 2016 11:58
Location: Thailand - Chiang Mai (+5-6h to MEZ)
In-game: Thomas Explorer

Re: [Server] LinuxWorks Next Generation (Lots of trains)

by Festus1965 » Mon Nov 25, 2019 23:40

start your server ones without adv_trains, and see if that changed a lot,
then you might understand where to start fixing someting

forceload is another thing,
BB was able to disable the most running switching stations (including activation all mashines on that cables.)
They activate only when gamer is on to activate that mapblock where the switching is located.

another idea I have seen at Age Tech, forceload blocks that keep area activated as long gamer is online, as there is another technic in use

... but without have a clear fact (measurement) about what mod is responsible ... your going for lotterie
Server: still up, see some gamer - but there is a new 1st important thread "climate change" for me. Something I know since 1992 - had seen the melting glacier in Switzerland.
 

User avatar
gpcf
Member
 
Posts: 327
Joined: Fri May 27, 2016 10:48
In-game: gabriel

Re: [Server] LinuxWorks Next Generation (Lots of trains)

by gpcf » Thu Nov 28, 2019 12:22

I backported some patches meant for 5.0. The resulting minetest is available from https://git.bananach.space/minetest.git/, also I have activated Libspatial, I don't know how much of a difference that makes.

The lag is noticeably less now.
 

Previous

Return to Servers



Who is online

Users browsing this forum: BuckarooBanzay, Google [Bot] and 2 guests