ping too high on server tried 3 different vps

11/19/2019 20:08 tranesoz#1
i tried 3 different vps
someone told me it's because the source
i tried another source , tried 5095 and 6000+
ping is 150-400
is there anything to do to fix it?
also i'm using a program lowers the memory usage by source
it's been weeks and i can't release the server
thanks
11/19/2019 20:57 Spirited#2
Quote:
Originally Posted by tranesoz View Post
i tried 3 different vps
someone told me it's because the source
i tried another source , tried 5095 and 6000+
ping is 150-400
is there anything to do to fix it?
also i'm using a program lowers the memory usage by source
it's been weeks and i can't release the server
thanks
Memory compression is probably the worst idea out there for handling a high performance server application. Is there a reason why you need that? Otherwise, don't do that. In terms of ping, what is your ping to the vps itself? If it's the same as the ping being reported by the client, then there's nothing you can do about it. If you're seeing spikes, then I'd monitor ping from your network to Google and see if you see the same spikes.
11/20/2019 02:13 .Guru#3
Quote:
Originally Posted by Spirited View Post
Memory compression is probably the worst idea out there for handling a high performance server application. Is there a reason why you need that? Otherwise, don't do that. In terms of ping, what is your ping to the vps itself? If it's the same as the ping being reported by the client, then there's nothing you can do about it. If you're seeing spikes, then I'd monitor ping from your network to Google and see if you see the same spikes.
I'm surprised you're answering this guy seriously lol
11/20/2019 11:53 Soulfly25#4
Quote:
Originally Posted by .Guru View Post
I'm surprised you're answering this guy seriously lol
Me too :) :) What does he eat though? Haha
11/20/2019 18:02 Spirited#5
Quote:
Originally Posted by .Guru View Post
I'm surprised you're answering this guy seriously lol
If there's something I can teach someone or a behavior I can help correct, then I don't see a downside to trying. In the end, it's not just him reading it either.

Quote:
Originally Posted by Soulfly25 View Post
Me too :) :) What does he eat though? Haha
As usual, what in God's name are you on about...
11/20/2019 18:09 pintinho12#6
Quote:
Originally Posted by Spirited View Post
As usual, what in God's name are you on about...
He doesn't deserve attention
11/21/2019 11:21 Soulfly25#7
Quote:
Originally Posted by pintinho12 View Post
He doesn't deserve attention
Okay
11/21/2019 19:42 tranesoz#8
Quote:
Originally Posted by Spirited View Post
Memory compression is probably the worst idea out there for handling a high performance server application. Is there a reason why you need that? Otherwise, don't do that. In terms of ping, what is your ping to the vps itself? If it's the same as the ping being reported by the client, then there's nothing you can do about it. If you're seeing spikes, then I'd monitor ping from your network to Google and see if you see the same spikes.
when i try to test ping from my pc to the vps i get 100ms
but the ping in the client is 400
11/21/2019 20:50 Spirited#9
Quote:
Originally Posted by tranesoz View Post
when i try to test ping from my pc to the vps i get 100ms
but the ping in the client is 400
You're not being consistent. You said 150ms to 400ms before, and now you're saying it's 400ms. Which is it? When you ping the server continuously while the server is running, do you see spikes in both command-line and in the client? Or just the client?
11/22/2019 02:48 elvis1002#10
Hi there tranesoz,

I'm just going off of my understanding of the problem here. I'm not exactly the most qualified to answer the question, but I'll do my best.

So you're running a CO server on three different servers and you're getting 150-400ms ping. When you test your ping between your PC and VPS, you're getting ~100 ping.

You want to know if there's anything you can do to reduce the ping between the VPS and the game client.

Here's some possible answers as to why your ping might be high:

1. The client and the server are located far away from each other.
... Is your VPS far away from where you live? If yes, then your packets will take more hops to get to the server. In which case, you'd want to find a host close to where you live.

Another possibility is your VPS is using shared resources and someone's hogging the network resources.

2. You're using a VPN poorly

If you're using a VPN, your packets might take longer to reach the server, depending on where the VPN is and how it handles routing. Also, depending on the type of encryption it uses, that could also slow things down.

3. You mentioned something about lowering the memory usage. I don't know TQ clients/servers handle things (or really that much about networking), but if your source is limiting the amount of memory it's using, you generally want your network buffers to be relatively generous.

I'd imagine if your buffer fills up, you'd either have a deferred acknowledgement in TCP - or maybe the packet is just thrown out altogether, which would make the client resend the packet until it goes through.

That or your source is just running so slowly that whatever is handling the packets is slowed down drastically as well.
11/22/2019 12:06 tranesoz#11
Quote:
Originally Posted by elvis1002 View Post
Hi there tranesoz,

I'm just going off of my understanding of the problem here. I'm not exactly the most qualified to answer the question, but I'll do my best.

So you're running a CO server on three different servers and you're getting 150-400ms ping. When you test your ping between your PC and VPS, you're getting ~100 ping.

You want to know if there's anything you can do to reduce the ping between the VPS and the game client.

Here's some possible answers as to why your ping might be high:

1. The client and the server are located far away from each other.
... Is your VPS far away from where you live? If yes, then your packets will take more hops to get to the server. In which case, you'd want to find a host close to where you live.

Another possibility is your VPS is using shared resources and someone's hogging the network resources.

2. You're using a VPN poorly

If you're using a VPN, your packets might take longer to reach the server, depending on where the VPN is and how it handles routing. Also, depending on the type of encryption it uses, that could also slow things down.

3. You mentioned something about lowering the memory usage. I don't know TQ clients/servers handle things (or really that much about networking), but if your source is limiting the amount of memory it's using, you generally want your network buffers to be relatively generous.

I'd imagine if your buffer fills up, you'd either have a deferred acknowledgement in TCP - or maybe the packet is just thrown out altogether, which would make the client resend the packet until it goes through.

That or your source is just running so slowly that whatever is handling the packets is slowed down drastically as well.
it's located in germany and i used to get low pibg from every eu host. the i see the spikes in the client not the command.
i heard that high memory consumption makes the ping higher but it seems like it's not

Quote:
Originally Posted by Spirited View Post
You're not being consistent. You said 150ms to 400ms before, and now you're saying it's 400ms. Which is it? When you ping the server continuously while the server is running, do you see spikes in both command-line and in the client? Or just the client?
i see it only in the client
there is alot of 400ms on screen time

Quote:
Originally Posted by Spirited View Post
You're not being consistent. You said 150ms to 400ms before, and now you're saying it's 400ms. Which is it? When you ping the server continuously while the server is running, do you see spikes in both command-line and in the client? Or just the client?
only in tge client
11/22/2019 17:17 Spirited#12
If it's only in the client, then it's likely the source. Which source are you using at this point?
11/22/2019 17:42 elvis1002#13
Speculation on my part from [Only registered and activated users can see links. Click Here To Register...], but I'm guessing it's a TQ binary.
11/22/2019 22:17 tranesoz#14
Quote:
Originally Posted by Spirited View Post
If it's only in the client, then it's likely the source. Which source are you using at this point?
i use tq binary
i used it back in 2011 ans it worked well. 've also tried a 6000+ source and ping is high too
11/22/2019 22:19 Spirited#15
Quote:
Originally Posted by tranesoz View Post
i use tq binary
i used it back in 2011 ans it worked well. 've also tried a 6000+ source and ping is high too
I recommended a source to you and told you why not to use those other sources from off-site. So what, is this yet another duplicate thread then? Come on, man.