Server speedup

Post Reply
User avatar
neko259
Member
Posts: 805
Joined: Sun Jun 19, 2011 06:51

Server speedup

by neko259 » Post

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: 873
Joined: Sun Sep 08, 2013 13:26
In-game: Esteban
Contact:

Re: Server speedup

by Esteban » Post

Using these setting in the minetest.conf can speed up a server:
viewtopic.php?id=7879
viewtopic.php?id=1825
Scan avatar or click here to read a Message of Hope (PDF)

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

Re: Server speedup

by neko259 » Post

Esteban wrote:Using these setting in the minetest.conf can speed up a server:
viewtopic.php?id=7879
viewtopic.php?id=1825
Yeah, I know that. I'm talking about speeding it up from out of minetest.

User avatar
Krock
Developer
Posts: 4650
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: Server speedup

by Krock » Post

What exactly do you try to speed up?
Your server? Get a better one.
Your Harddisk? Defrag it.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

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

Re: Server speedup

by neko259 » Post

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: 805
Joined: Sun Jun 19, 2011 06:51

Re: Server speedup

by neko259 » Post

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
Developer
Posts: 4650
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: Server speedup

by Krock » Post

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.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

Re: Server speedup

by Calinou » Post

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
Location: Germany

Re: Server speedup

by lightonflux » Post

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests