SERVER Performance with media

User avatar
maikerumine
Member
 
Posts: 946
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

SERVER Performance with media

by maikerumine » Wed Jan 20, 2016 15:28

Hi!

Question:
When starting a server, does MT load ALL textures and sound located in the folders or does it just load all REFERENCED media via lua codes in all the loaded mods?

Can using alias for textures speed things up if there are redundant textures in different mods?

Example:

mobs:beef, mobs:meat, mobs:porkchop -->mobs:meat
or
other instance like:
texture from default:<anytexture.png> to be aliased into mod:<modtexture.png>

I am asking because I would like to consolidate certain redundant textures on my ESM server to make it load faster and run better.

Thank you for the help in advance!

-mm
 

User avatar
everamzah
Member
 
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

Re: SERVER Performance with media

by everamzah » Wed Jan 20, 2016 18:10

I think it loads it all at load-time. You can symlink files to save storage space on your server, but minetest will still have to allocate for two things, and load twice.

Textures are all in a global... namespace? Thingy. Anyway, if the textures are the same, just give them the same name, I would think. Edit: I mean delete the duplicates, and use the one textures wherever.
 

DI3HARD139
Member
 
Posts: 144
Joined: Sat Oct 18, 2014 21:04
GitHub: DI3HARD139
IRC: DI3HARD139
In-game: DI3HARD139 DI3HARD139_

Re: SERVER Performance with media

by DI3HARD139 » Fri Jan 29, 2016 09:20

From what I've noticed the server itself just loads the .lua and other config files. Its the client that loads the textures and audio etc. Consolidating the textures should in theory help with the load times as there will be less textures that the server has to send to the client.
Servers: mt.rrhgameservers.ml = [RRH] MT-Creative (48250), RRH-Survival (48253), Unknown (48255), Minetest City (48262)
Specs = Intel Core i5-3570s 16GB DDR3 2TB HDD, Ubuntu Server 16.04.1 x64 XFCE
------------------------------------------------------------
System: Lenovo Thinkstation S30 = Intel Xeon E5-2665, 20GB DDR3 (1333MHz Non-ECC), Gigabyte GTX1060 6GB, 3.5TB Storage, Win 10 Pro x64.
 

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

Re: SERVER Performance with media

by Calinou » Fri Jan 29, 2016 13:29

DI3HARD139 wrote:From what I've noticed the server itself just loads the .lua and other config files. Its the client that loads the textures and audio etc. Consolidating the textures should in theory help with the load times as there will be less textures that the server has to send to the client.


Consolidating the textures (ie. putting them in a pre-generated atleas) decreases maintainability and moddability of the textures. This is ultimately why even Minecraft went away from such a texturing scheme; now, the texture files are individual rather than put in an atlas. Moreover, this isn't consistent with what other modern games do.

If you want to decrease the file size of textures, try running OptiPNG on all mod textures.
 

DI3HARD139
Member
 
Posts: 144
Joined: Sat Oct 18, 2014 21:04
GitHub: DI3HARD139
IRC: DI3HARD139
In-game: DI3HARD139 DI3HARD139_

Re: SERVER Performance with media

by DI3HARD139 » Fri Jan 29, 2016 20:27

Thanks for sharing that @Calinou. I was wondering if there was a program for re-compressing the textures.
Servers: mt.rrhgameservers.ml = [RRH] MT-Creative (48250), RRH-Survival (48253), Unknown (48255), Minetest City (48262)
Specs = Intel Core i5-3570s 16GB DDR3 2TB HDD, Ubuntu Server 16.04.1 x64 XFCE
------------------------------------------------------------
System: Lenovo Thinkstation S30 = Intel Xeon E5-2665, 20GB DDR3 (1333MHz Non-ECC), Gigabyte GTX1060 6GB, 3.5TB Storage, Win 10 Pro x64.
 


Return to Minetest Servers

Who is online

Users browsing this forum: No registered users and 14 guests

cron