Lower ping on DDNET client than in other clients?
Lower ping on DDNET client than in other clients?
Hi everyone,
I've been looking at the DDNetwork client for the last few days, and the most important thing I've been noticing is a significant reduction in ping over other clients. Using gamer client on a server, it comes out with 75-80 ping, whereas using DDnet results in 60-65 ish. Is there anything in the source code that would cause that? I've been trying to optimize the other client to get the lower ping DDnet offers, but I haven't been able to achieve anything yet... Suggestions?
I've been looking at the DDNetwork client for the last few days, and the most important thing I've been noticing is a significant reduction in ping over other clients. Using gamer client on a server, it comes out with 75-80 ping, whereas using DDnet results in 60-65 ish. Is there anything in the source code that would cause that? I've been trying to optimize the other client to get the lower ping DDnet offers, but I haven't been able to achieve anything yet... Suggestions?
- Ryozuki
- Posts: 1748
- Joined: Tue Feb 24, 2015 7:28 am
- Location: Catalonia
- Player profile: http://ddnet.org/players/Ryozuki/
- Mapper profile: http://ddnet.tw/mappers/Ryozuki/
- Clan: Unique
- Website: https://edgarluque.com
- Discord: Ryozuki#2188
Re: Lower ping on DDNET client than in other clients?
I think it depends on server, not in client but maybe
- Lady Saavik
- Posts: 1763
- Joined: Tue May 13, 2014 4:02 pm
- Player profile: http://ddnet.org/players/Lady-32-Saavik/
- Mapper profile: http://ddnet.tw/mappers/Saavik/
Re: Lower ping on DDNET client than in other clients?
I think deen made something looong time ago, you have to wait for him, he's gone this week.
- kamillentee
- Posts: 687
- Joined: Sat Jul 26, 2014 11:47 pm
- Player profile: http://ddnet.org/players/kamillentee/
- Clan: |*KoG*|
Re: Lower ping on DDNET client than in other clients?
I think that's a completely wrong guess. Anyway. Web sockets?
Re: Lower ping on DDNET client than in other clients?
Network.cpp is the first file I replaced, so it can't be that...
- deen
- Posts: 3579
- Joined: Mon May 05, 2014 2:30 pm
- Player profile: https://ddnet.org/players/deen/
- Discord: deen#5910
Re: Lower ping on DDNET client than in other clients?
Yes, I made some changes to improve ping in client and as well as server. gfx_threaded and gfx_asyncrender are on by default in DDNet client, but off in other clients. Also using net_socket_read_wait instead of simple waits in the client and server (also used to decrease CPU usage). There were probably more things that I forgot already. You could read through the git logs if you really want to find them: https://github.com/def-/ddnet/commits/DDRace64
Who is online
Users browsing this forum: No registered users and 36 guests