Why does Minetest-Servers have a so high Traffic?
Why does Minetest-Servers have a so high Traffic?
My server has ca. 30 average players.
And sends per day about 30 GB.
I'm using remote_media.
But why does one player takes 1GB per day????
I mean this is only normal communication no medias.
And sends per day about 30 GB.
I'm using remote_media.
But why does one player takes 1GB per day????
I mean this is only normal communication no medias.
-
- Member
- Posts: 100
- Joined: Wed Nov 29, 2017 17:33
- In-game: IanniPowerup
- Contact:
Re: Why does Minetest-Servers have a so high Traffic?
this means YOUR A LUCKY MAN !!!!!!!!
don't cry about it
don't cry about it
Re: Why does Minetest-Servers have a so high Traffic?
I only have 1 TB per Month.
So What can I do to decrease the Traffic.
I already use a remote_media server, which the players must use.
So What can I do to decrease the Traffic.
I already use a remote_media server, which the players must use.
- Krock
- Developer
- Posts: 4648
- Joined: Thu Oct 03, 2013 07:48
- GitHub: SmallJoker
- Location: Switzerland
- Contact:
Re: Why does Minetest-Servers have a so high Traffic?
30 players average does not mean that only 30 new players joined your server. During a whole day, that might be hundreds of new players if your server is popular. It's still a massive amount of data
1) If you have large images (> 512x512), then convert them to JPEG files and adjust the code accordingly.
2) Remove unused files from textures/ , models/ and sounds/. They're all sent to the clients.
3) Run pngcrush/optipng on all your textures to make them a little bit smaller
4) You cannot force players to use remote_media - edit your server code accordingly to send empty data instead.
1) If you have large images (> 512x512), then convert them to JPEG files and adjust the code accordingly.
2) Remove unused files from textures/ , models/ and sounds/. They're all sent to the clients.
3) Run pngcrush/optipng on all your textures to make them a little bit smaller
4) You cannot force players to use remote_media - edit your server code accordingly to send empty data instead.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
- weqqr
- Member
- Posts: 10
- Joined: Tue Mar 28, 2017 18:36
- GitHub: weqqr
- IRC: weqqr
- In-game: weqqr
- Location: Russia
Re: Why does Minetest-Servers have a so high Traffic?
Keep in mind that player activity alone generates considerable amount of traffic. That's because server must constantly send blocks and entity updates to every player individually.
For example, a player on our server reported about 100 MB/hr traffic usage with cached media. This easily adds up to 30 GB per day if your server is popular. The numbers may vary a lot depending on specifics of your server, but you definitely should look into this.
For example, a player on our server reported about 100 MB/hr traffic usage with cached media. This easily adds up to 30 GB per day if your server is popular. The numbers may vary a lot depending on specifics of your server, but you definitely should look into this.
- Festus1965
- Member
- Posts: 4181
- Joined: Sun Jan 03, 2016 11:58
- GitHub: Festus1965
- In-game: Festus1965 Thomas Thailand Explorer
- Location: Thailand ChiangMai
- Contact:
Re: Why does Minetest-Servers have a so high Traffic?
according to my experiance, I opened a traffic monitor on the server during the MTServer is running,
the most data is sent to new login players,
and after during they play and not running around the traffic is low ...
or the area they used to stay is loaded already, getting low also ...
maybe check also if a group of gamers might be blocked as they join but not gaming at all, to prevent that login traffic.
the most data is sent to new login players,
and after during they play and not running around the traffic is low ...
or the area they used to stay is loaded already, getting low also ...
maybe check also if a group of gamers might be blocked as they join but not gaming at all, to prevent that login traffic.
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)
If urgend, you find me in Roblox (as CNXThomas)
Re: Why does Minetest-Servers have a so high Traffic?
Does this matter when using remote_media?Krock wrote:30 players average does not mean that only 30 new players joined your server. During a whole day, that might be hundreds of new players if your server is popular. It's still a massive amount of data
1) If you have large images (> 512x512), then convert them to JPEG files and adjust the code accordingly.
2) Remove unused files from textures/ , models/ and sounds/. They're all sent to the clients.
3) Run pngcrush/optipng on all your textures to make them a little bit smaller
I kick them: https://github.com/Lejo1/minetest/blob/ ... .cpp#L2505Krock wrote:4) You cannot force players to use remote_media - edit your server code accordingly to send empty data instead.
- Krock
- Developer
- Posts: 4648
- Joined: Thu Oct 03, 2013 07:48
- GitHub: SmallJoker
- Location: Switzerland
- Contact:
Re: Why does Minetest-Servers have a so high Traffic?
Yes, especially when the remote_media host does not have the sounds and models which are needed on your server.Lejo wrote:Does this matter when using remote_media?
I see. At least this code allows getting a few files from the server which aren't present on remote_media. You also could use the size of `m_media` to make the amount of allowed transfers dynamical to your server's total media size instead of hardcoding a value of 2000.Lejo wrote:I kick them:
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
Re: Why does Minetest-Servers have a so high Traffic?
I copied everything out of the texture/models/sounds files to this github page.Krock wrote: Yes, especially when the remote_media host does not have the sounds and models which are needed on your server.
That's right but they have to modify there client, if they want to download only 2000 files from my server.Krock wrote: I see. At least this code allows getting a few files from the server which aren't present on remote_media. You also could use the size of `m_media` to make the amount of allowed transfers dynamical to your server's total media size instead of hardcoding a value of 2000.
I need this value to make sure that if some datas are not on the remote_media server the player doesn't get kicked.
If you set enable_remote_media_server = false and delete your cache, you can't join anymore.
Re: Why does Minetest-Servers have a so high Traffic?
I asked my host to upgrade my Traffic.
He told me that Minetest has a bug:
It sends void packets.
Is this true?
He told me that Minetest has a bug:
It sends void packets.
Is this true?
- Festus1965
- Member
- Posts: 4181
- Joined: Sun Jan 03, 2016 11:58
- GitHub: Festus1965
- In-game: Festus1965 Thomas Thailand Explorer
- Location: Thailand ChiangMai
- Contact:
Re: Why does Minetest-Servers have a so high Traffic?
Ask the Provider to send you some facts, when he tells he should have the logins, data ... evidence, proofLejo wrote:He told me that Minetest has a bug:
It sends void packets.
so also easier for us here to say, its a mistake of your installation, or of minetest ...
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)
If urgend, you find me in Roblox (as CNXThomas)
- Hybrid Dog
- Member
- Posts: 2828
- Joined: Thu Nov 01, 2012 12:46
- GitHub: HybridDog
Re: Why does Minetest-Servers have a so high Traffic?
Currently every time a player places or digs nodes, the whole mapblock is sent, even if placing or digging failed.
I've changed it to only send mapblocks when needed and opened a PR: https://github.com/minetest/minetest/pull/7630
I haven't tested what impact this change has on the traffic.
I've changed it to only send mapblocks when needed and opened a PR: https://github.com/minetest/minetest/pull/7630
I haven't tested what impact this change has on the traffic.
- ChimneySwift
- Member
- Posts: 320
- Joined: Fri Sep 22, 2017 06:46
- GitHub: ChimneySwift
- IRC: ChimneySwift
- In-game: ChimneySwift
- Location: 127.0.0.1
Re: Why does Minetest-Servers have a so high Traffic?
Minetest sends control packets..? Maybe that's what he's referring to. Those are required for reliable data transfer on UDP.Lejo wrote:I asked my host to upgrade my Traffic.
He told me that Minetest has a bug:
It sends void packets.
Is this true?
The Minetest protocol isn't the most efficient thing as far as I've gathered... But a rework would be no easy task.
Anyway, in regards to actual data, I joined on a brand new client and the total media download is 11.1mb from the client side of things. Even with that entirely being handled by the server, it's not a whole lot.
EDIT: although I don't know how many connections you get per-day, so that might add up.
I also played for a bit and got an average of 0.01mb/s, which is only 36mb/h, but for 30 clients constantly using that for a period of 24 hours... that's 25920mb... fairly close to what you see per-day.
A spoon is basically a tiny bowl with a stick on it
Who is online
Users browsing this forum: No registered users and 9 guests