About Server Bandwith and specs
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 13
- Joined: Sun May 31, 2015 2:41 am
About Server Bandwith and specs
Hi guys, quick question. Ive got the next specs
Core i53570k
14gb ram
2ssd 120gb (one for server and one for DB)
and, the mos important feature: 5mb simetric. I t means, I download and upload al 700kbps.
With this specs, at a national level, how much players can i host?.
Thanks in advance.
Core i53570k
14gb ram
2ssd 120gb (one for server and one for DB)
and, the mos important feature: 5mb simetric. I t means, I download and upload al 700kbps.
With this specs, at a national level, how much players can i host?.
Thanks in advance.
-
- Advanced User
- Posts: 1026
- Joined: Thu Aug 14, 2014 6:31 am
Re: About Server Bandwith and specs
5mbps == ~ 4500 without lagmonakian wrote:Hi guys, quick question. Ive got the next specs
Core i53570k
14gb ram
2ssd 120gb (one for server and one for DB)
and, the mos important feature: 5mb simetric. I t means, I download and upload al 700kbps.
With this specs, at a national level, how much players can i host?.
Thanks in advance.
-
- Posts: 13
- Joined: Sun May 31, 2015 2:41 am
Re: About Server Bandwith and specs
really? and why the private servers always say 100mbps international bandwith, and when you enter is laggy and there are... 1200 chars online.
Are those 100mbps a lie?
Are those 100mbps a lie?
- UnAfraid
- L2j Veteran
- Posts: 4199
- Joined: Mon Jul 23, 2007 4:25 pm
- Location: Bulgaria
- Contact:
Re: About Server Bandwith and specs
5 mbp/s = 20-30 ppl without lagSacrifice wrote:5mbps == ~ 4500 without lagmonakian wrote:Hi guys, quick question. Ive got the next specs
Core i53570k
14gb ram
2ssd 120gb (one for server and one for DB)
and, the mos important feature: 5mb simetric. I t means, I download and upload al 700kbps.
With this specs, at a national level, how much players can i host?.
Thanks in advance.
-
- Advanced User
- Posts: 1026
- Joined: Thu Aug 14, 2014 6:31 am
Re: About Server Bandwith and specs
E???... how do you calculate this??. Is a question that I make you UnAfraid... exist any formula??UnAfraid wrote:5 mbp/s = 20-30 ppl without lagSacrifice wrote:5mbps == ~ 4500 without lagmonakian wrote:Hi guys, quick question. Ive got the next specs
Core i53570k
14gb ram
2ssd 120gb (one for server and one for DB)
and, the mos important feature: 5mb simetric. I t means, I download and upload al 700kbps.
With this specs, at a national level, how much players can i host?.
Thanks in advance.
-
- L2j Veteran
- Posts: 629
- Joined: Fri Apr 18, 2008 9:09 pm
Re: About Server Bandwith and specs
Formula is:
1Kb average packet * amount_of_unoptimized_l2j_useless_packet_sends * 100packets_avg_per_sec * x10_if_on_siege = total_bandwidth
Example:
1 * 2 * 100 * 1 = 200Kb/sec
1 * 2 * 100 * 10 = 2Mb/sec on siege
Thats all for 1 player.
5Mbps / 200Kbps = 25 online players.
5Mbps / 2Mbps = 2.5 online players on siege.
1Kb average packet * amount_of_unoptimized_l2j_useless_packet_sends * 100packets_avg_per_sec * x10_if_on_siege = total_bandwidth
Example:
1 * 2 * 100 * 1 = 200Kb/sec
1 * 2 * 100 * 10 = 2Mb/sec on siege
Thats all for 1 player.
5Mbps / 200Kbps = 25 online players.
5Mbps / 2Mbps = 2.5 online players on siege.
Playing a game where you know how every single mechanism works is quite satisfying.
Its the main perk that a gamer-developer has
Its the main perk that a gamer-developer has
-
- Advanced User
- Posts: 1026
- Joined: Thu Aug 14, 2014 6:31 am
Re: About Server Bandwith and specs
I do not agree on the rate of amount_of_unoptimized_l2j_useless_packet_sends, this meaning that on each 100 packets 1 is valid only?... I dont believe... its too high, except if connection is a fatality.Nik wrote:Formula is:
1Kb average packet * amount_of_unoptimized_l2j_useless_packet_sends * 100packets_avg_per_sec * x10_if_on_siege = total_bandwidth
Example:
1 * 2 * 100 * 1 = 200Kb/sec
1 * 2 * 100 * 10 = 2Mb/sec on siege
Thats all for 1 player.
5Mbps / 200Kbps = 25 online players.
5Mbps / 2Mbps = 2.5 online players on siege.
-
- Advanced User
- Posts: 1026
- Joined: Thu Aug 14, 2014 6:31 am
Re: About Server Bandwith and specs
Take in consideration a 10% of BER (bit error rate) and is too high for actual connections... normally is 0.1%
Edit BER <= 1%
Edit BER <= 1%
-
- Posts: 13
- Joined: Sun May 31, 2015 2:41 am
Re: About Server Bandwith and specs
So, whats the truth about bandwith?. with 5megabites per second i can host, like, 200 people?. Or im talking nonsense?
- UnAfraid
- L2j Veteran
- Posts: 4199
- Joined: Mon Jul 23, 2007 4:25 pm
- Location: Bulgaria
- Contact:
Re: About Server Bandwith and specs
Traffic monitoring is the formulaSacrifice wrote:E???... how do you calculate this??. Is a question that I make you UnAfraid... exist any formula??
-
- Advanced User
- Posts: 1026
- Joined: Thu Aug 14, 2014 6:31 am
Re: About Server Bandwith and specs
Check with wireshark filtering port of gameserver
- UnAfraid
- L2j Veteran
- Posts: 4199
- Joined: Mon Jul 23, 2007 4:25 pm
- Location: Bulgaria
- Contact:
-
- L2j Veteran
- Posts: 855
- Joined: Mon May 03, 2010 8:38 am
- Location: France
Re: About Server Bandwith and specs
amount_of_unoptimized_l2j_useless_packet_sends is definitely higher than 2, specially with effects
-
- Advanced User
- Posts: 1026
- Joined: Thu Aug 14, 2014 6:31 am
Re: About Server Bandwith and specs
We must convert allways all datas inside all formulas in the same units... In Nik's values I fix a minor error, but its sustantially important.Nik wrote:Formula is:
1Kb average packet * amount_of_unoptimized_l2j_useless_packet_sends * 100packets_avg_per_sec * x10_if_on_siege = total_bandwidth
Example:
1 * 2 * 100 * 1 = 200Kb/sec
1 * 2 * 100 * 10 = 2Mb/sec on siege
Thats all for 1 player.
5Mbps / 200Kbps = 25 online players.
5Mbps / 2Mbps = 2.5 online players on siege.
1 * 2 * 0,1 * 1 = 0,2 Kbps per player
1 * 2 * 0,1 * 10 = 2 Kbps per player on siege.
Then... results are very, very diferent... how can to see it.
5000 Kbps / 0,2 Kbps = 25000 players
5000 Kbps (5Mbps) / 2 Kbps = 2500 players
-
- L2j Senior Developer
- Posts: 795
- Joined: Sun Aug 14, 2005 11:27 am
Re: About Server Bandwith and specs
I will give my two cents.
5Mbps upload
= 5 Mb (Megabit) per second
= 5 Mb * 1024 = 5120 Kb (Kilobit)
= 5120 Kb / 8 = 640 KB (Kilobyte)
= 640 KB (Kilobyte) per second
For the amount of packets your best bet it to calculate with the worst case: All players on the server can see each other, are in a full party and are in an area full of npcs. Now you can seperate between private and public updates. Public updates are thoose updates all players have to see. Private updates are thoose only the player itself need to see. The following is by no means "THE 100% SOLUTION". It is an approximation how much packets are send to all players in one second in a worst case scenario.
An example with 100 players and 100 npcs
Movement: 2 + (100 * 2) + (100) = 302
Hitting & Skill Usage: 5 + (100 * 5) + (100 * 2.5) = 755
Effects: 2 + (100 * 2) + (100) = 302
Status: 2 + (100 / 9 * 2) + (100) = ~124
Party Effects: 18 + (100 / 9 * 18) = 218
= ~1701 packets per second
When an average packet size is 1 Kilobyte, you need 1701 Kilobyte per second upload on a worst case for 100 players. Because this worst case scenario practically never happens you can half that to about 850 Kilobyte per second upload for 100 players.
5Mbps upload
= 5 Mb (Megabit) per second
= 5 Mb * 1024 = 5120 Kb (Kilobit)
= 5120 Kb / 8 = 640 KB (Kilobyte)
= 640 KB (Kilobyte) per second
For the amount of packets your best bet it to calculate with the worst case: All players on the server can see each other, are in a full party and are in an area full of npcs. Now you can seperate between private and public updates. Public updates are thoose updates all players have to see. Private updates are thoose only the player itself need to see. The following is by no means "THE 100% SOLUTION". It is an approximation how much packets are send to all players in one second in a worst case scenario.
- Movement: 2 + (sorounding_players * 2) + (sorounding_npcs)
- Hitting & Skill Usage: 5 + (sorounding_players * 5) + (sorounding_npcs * 2.5)
- Effects: 2 + (sorounding_players * 2) + (sorounding_npcs)
- Status: 2 + (sorounding_players / 9 * 2) + (sorounding_players)
- Party Effects: 18 + (sorounding_players / 9 * 18)
An example with 100 players and 100 npcs
Movement: 2 + (100 * 2) + (100) = 302
Hitting & Skill Usage: 5 + (100 * 5) + (100 * 2.5) = 755
Effects: 2 + (100 * 2) + (100) = 302
Status: 2 + (100 / 9 * 2) + (100) = ~124
Party Effects: 18 + (100 / 9 * 18) = 218
= ~1701 packets per second
When an average packet size is 1 Kilobyte, you need 1701 Kilobyte per second upload on a worst case for 100 players. Because this worst case scenario practically never happens you can half that to about 850 Kilobyte per second upload for 100 players.
Away cause of a bulding side in my place.
H5 GeoData from Nos & FBIagent
GoD Ch3 Lindvior GeoData from Nos & FBIagent
Yet another Buffer (Freya & HighFive)
Party Teleporter (Freya & HighFive)
FBIagent
H5 GeoData from Nos & FBIagent
GoD Ch3 Lindvior GeoData from Nos & FBIagent
Yet another Buffer (Freya & HighFive)
Party Teleporter (Freya & HighFive)
FBIagent