Page 1 of 2

Connection speed 100mbps or 1gbps?

Posted: Tue Oct 01, 2013 4:03 am
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:

Re: Connection speed 100mbps or 1gbps?

Posted: Tue Oct 01, 2013 4:07 am
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/

Re: Connection speed 100mbps or 1gbps?

Posted: Tue Oct 01, 2013 4:37 am
by Renasc
Thank you Nos
I found this:
Image
should i worry about?

Re: Connection speed 100mbps or 1gbps?

Posted: Tue Oct 01, 2013 4:38 am
by xban1x
Of course you should, it means server is lagging.

Re: Connection speed 100mbps or 1gbps?

Posted: Tue Oct 01, 2013 4:49 am
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!

Re: Connection speed 100mbps or 1gbps?

Posted: Tue Oct 01, 2013 5:01 am
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.

Re: Connection speed 100mbps or 1gbps?

Posted: Tue Oct 01, 2013 5:06 am
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 :|

Re: Connection speed 100mbps or 1gbps?

Posted: Tue Oct 01, 2013 5:07 am
by UnAfraid
Deadlocks? i thought we cleared them all do u have any logs?

Re: Connection speed 100mbps or 1gbps?

Posted: Tue Oct 01, 2013 5:10 am
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?

Re: Connection speed 100mbps or 1gbps?

Posted: Tue Oct 01, 2013 5:13 am
by NosBit
show us that thread dump

Re: Connection speed 100mbps or 1gbps?

Posted: Tue Oct 01, 2013 5:15 am
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!"

Re: Connection speed 100mbps or 1gbps?

Posted: Tue Oct 01, 2013 5:20 am
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?

Re: Connection speed 100mbps or 1gbps?

Posted: Tue Oct 01, 2013 5:25 am
by Renasc
removed

Re: Connection speed 100mbps or 1gbps?

Posted: Tue Oct 01, 2013 6:51 am
by NosBit
Try applying this Changeset 4982 and Changeset 5070.

Re: Connection speed 100mbps or 1gbps?

Posted: Wed Oct 02, 2013 1:33 am
by Renasc
Thank you Nos, I have applied these corrections and the deadlock is gone :wink:
Thank you guys