Server speedup

User avatar
neko259
Member
 
Posts: 769
Joined: Sun Jun 19, 2011 06:51

Server speedup

by neko259 » Thu Oct 30, 2014 17:36

What are the tricks to speed up the server? The first that comes in mind is to put the world into tmpfs and sync it with the disk once an hour or so. Will this work, or minetest already holds the active map in memory and putting the whole world there will be useless?
 

User avatar
Esteban
Member
 
Posts: 872
Joined: Sun Sep 08, 2013 13:26
GitHub: Esteban-
IRC: Esteban
In-game: Esteban

Re: Server speedup

by Esteban » Thu Oct 30, 2014 17:45

 

User avatar
neko259
Member
 
Posts: 769
Joined: Sun Jun 19, 2011 06:51

Re: Server speedup

by neko259 » Thu Oct 30, 2014 17:49

Esteban wrote:Using these setting in the minetest.conf can speed up a server:
https://forum.minetest.net/viewtopic.php?id=7879
https://forum.minetest.net/viewtopic.php?id=1825

Yeah, I know that. I'm talking about speeding it up from out of minetest.
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: Server speedup

by Krock » Thu Oct 30, 2014 17:56

What exactly do you try to speed up?
Your server? Get a better one.
Your Harddisk? Defrag it.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
neko259
Member
 
Posts: 769
Joined: Sun Jun 19, 2011 06:51

Re: Server speedup

by neko259 » Thu Oct 30, 2014 17:59

Krock wrote:What exactly do you try to speed up?
Your server? Get a better one.
Your Harddisk? Defrag it.

btrfs does not fragment :P
I'm just thinking, not trying to speedup a particular server. Will putting it to tmpfs give a profit?
 

User avatar
neko259
Member
 
Posts: 769
Joined: Sun Jun 19, 2011 06:51

Re: Server speedup

by neko259 » Fri Oct 31, 2014 12:28

I can tell now what exactly I want to speedup. I am the only player on the server, and when I try to open or close a door there is sometimes a 1-2 second lag. Minetest process does not take too much CPU or ram, so it's not the PC performance issue. Something in the game engine is very slow, and I try to understand, what is the issue.
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: Server speedup

by Krock » Fri Oct 31, 2014 16:15

neko259 wrote:I can tell now what exactly I want to speedup. I am the only player on the server, and when I try to open or close a door there is sometimes a 1-2 second lag. Minetest process does not take too much CPU or ram, so it's not the PC performance issue. Something in the game engine is very slow, and I try to understand, what is the issue.

Maybe you've got a slow connection? I do not notice such big lags.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: Server speedup

by Calinou » Fri Oct 31, 2014 21:42

There is not much to do outside of Minetest to speed up a server. Try automatic daily restarts to free up some RAM.
 

User avatar
lightonflux
Member
 
Posts: 384
Joined: Mon Nov 11, 2013 07:22
In-game: lof

Re: Server speedup

by lightonflux » Tue Mar 31, 2015 05:03

neko259 wrote:btrfs does not fragment :P


It is a false believe that ext4 and nowadays btrfs do not need defragmentation.

ext4 and btrfs use online fragmentation. So the FS does it in the background while it is used. Back in the days when windows had the magnificent defrag screen at startup this believe came to life because the windowses only supported offline defragmentation.
 


Return to Minetest General

Who is online

Users browsing this forum: No registered users and 28 guests

cron