Connection speed 100mbps or 1gbps?

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
User avatar
Renasc
Posts: 18
Joined: Mon Sep 30, 2013 12:18 am

Connection speed 100mbps or 1gbps?

Post by Renasc »

Hello guys,
100mbps or 1gbps ?
My players are complaining about lag, and i'm thinking about raising my connection speed to 1gbps, what do you think? :wink:
NosBit
L2j Veteran
L2j Veteran
Posts: 314
Joined: Mon Mar 11, 2013 4:19 pm

Re: Connection speed 100mbps or 1gbps?

Post by NosBit »

100mbps is more than enough for 300 players...

try using a profiler maybe you will find out whats wrong

This is one is free http://visualvm.java.net/
Image
User avatar
Renasc
Posts: 18
Joined: Mon Sep 30, 2013 12:18 am

Re: Connection speed 100mbps or 1gbps?

Post by Renasc »

Thank you Nos
I found this:
Image
should i worry about?
xban1x
L2j Veteran
L2j Veteran
Posts: 1228
Joined: Thu Jan 17, 2013 9:46 am

Re: Connection speed 100mbps or 1gbps?

Post by xban1x »

Of course you should, it means server is lagging.
User avatar
Renasc
Posts: 18
Joined: Mon Sep 30, 2013 12:18 am

Re: Connection speed 100mbps or 1gbps?

Post by Renasc »

Oh thanks man, what should i do with the thread dump?
Any ways to solve the problem? or links about :lol:
Thank you!
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Connection speed 100mbps or 1gbps?

Post by UnAfraid »

Nos wrote:100mbps is more than enough for 300 players...

try using a profiler maybe you will find out whats wrong

This is one is free http://visualvm.java.net/
Back in the days when i had 3k players online i had 100 mb/s connection.
5 years ago nBd had 8k players with 100 mbp/s so.. :P

The only reason i would use 1/10 gbp/s is to protect myself from small ddos attacks.
Image
User avatar
Renasc
Posts: 18
Joined: Mon Sep 30, 2013 12:18 am

Re: Connection speed 100mbps or 1gbps?

Post by Renasc »

yeah hahaha, connection is not the problem the traffic in my client side panel is only showing 2 or 4 Mbps, so its not the issue.

About the deadlock, what might be causing this?
Im searching ways to automatically detect and fix deadlocks :|
Last edited by Renasc on Tue Oct 01, 2013 5:08 am, edited 1 time in total.
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Connection speed 100mbps or 1gbps?

Post by UnAfraid »

Deadlocks? i thought we cleared them all do u have any logs?
Image
User avatar
Renasc
Posts: 18
Joined: Mon Sep 30, 2013 12:18 am

Re: Connection speed 100mbps or 1gbps?

Post by Renasc »

UnAfraid wrote:Deadlocks? i thought we cleared them all do u have any logs?
At the moment all server logs are desativated because im trying everything to stop server lagging, or you are talking about the thread dump?
NosBit
L2j Veteran
L2j Veteran
Posts: 314
Joined: Mon Mar 11, 2013 4:19 pm

Re: Connection speed 100mbps or 1gbps?

Post by NosBit »

show us that thread dump
Image
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Connection speed 100mbps or 1gbps?

Post by UnAfraid »

There is deadlock detector its enabled by default, if there is any deadlock you'll notice it.
The console would show thread dump and will say "Deadlock detected!"
Image
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Connection speed 100mbps or 1gbps?

Post by UnAfraid »

Are you sure you're using pure l2j or u're using some fork?
Also if u're using l2j which revision is your source now?
Image
User avatar
Renasc
Posts: 18
Joined: Mon Sep 30, 2013 12:18 am

Re: Connection speed 100mbps or 1gbps?

Post by Renasc »

removed
Last edited by Renasc on Wed Oct 02, 2013 1:36 pm, edited 2 times in total.
NosBit
L2j Veteran
L2j Veteran
Posts: 314
Joined: Mon Mar 11, 2013 4:19 pm

Re: Connection speed 100mbps or 1gbps?

Post by NosBit »

Try applying this Changeset 4982 and Changeset 5070.
Image
User avatar
Renasc
Posts: 18
Joined: Mon Sep 30, 2013 12:18 am

Re: Connection speed 100mbps or 1gbps?

Post by Renasc »

Thank you Nos, I have applied these corrections and the deadlock is gone :wink:
Thank you guys
Post Reply