#Network performance issues

1 messages · Page 1 of 1 (latest)

fresh phoenix
#

.

#

I have a core system, which does a lot of stuff. And the core itself is actually barely taking resources in the timings report. But, I was able to point down that some features are causing network lag on the players, but 0 impact on the server.

Sometimes, players will straight up get disconnected, while the server is perfectly responsive. Yes, packets are used on the core a lot.

I'm trying to figure out how I can see exactly where the "dos" is coming from

#

Eventually, some things will make the server unplayable for the user, while the server is running at a average of 20tps and really stable mspt
The reason I believe so far to be the cause of this after extensive testing is this:

warm lily
#

do you know which plugin is causing this

fresh phoenix
warm lily
#

damn howd youdo that

fresh phoenix
#

Once again, the server maintains a steady 20tps

#

with less than 15% cpu usage

warm lily
#

do you know which plugin is causing the lag

fresh phoenix
#

It's not server lag or client fps lag

#

It's network lag only for the client

#

And it's the core which manages these guards. Which I made

warm lily
#

it might be the resoruce pack

fresh phoenix
#

I thought it would be

#

My next thing was changing the textures

warm lily
#

could you send over the pack?

#

Ican look into it

fresh phoenix
#

Why would a resource pack cause network lag only for the client tho

warm lily
#

well its pretty obviosu the guard entity has lots of small textures

fresh phoenix
#

But that's probably controlled by mythicmobs

#

And itemadder, and neither of those are taking any resources

warm lily
#

i'm not sure

cosmic dune
#

The tps will be fine since it's messured on the main thread

#

If you block the network thread for too long it will cause the client to timeout and disconnect

fresh phoenix
#

Alright yeah, so far makes perfect sense, I knew it was going somewhere near there

#

But how can I debug, find out where exactly to then fix it

#

Never done anything this advanced with packets

#

But I want to laern too

fresh phoenix
#

@cosmic dune

fresh phoenix
#

After doing a lot of debugging

#

It seems like sometimes the server is reaching upwards of 200mbps of outgoing traffic, completely timing out the players