Lower ping on DDNET client than in other clients?

Request help for teeworlds-related subjects (mapping, servers, ..).
For client issues, see our repositories (https://github.com/ddnet/ddnet/issues).
Post Reply
'Murica
Posts: 2
Joined: Tue Jun 09, 2015 4:30 am

Lower ping on DDNET client than in other clients?

Post by 'Murica »

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?
User avatar
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?

Post by Ryozuki »

I think it depends on server, not in client but maybe
User avatar
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?

Post by Lady Saavik »

I think deen made something looong time ago, you have to wait for him, he's gone this week.
User avatar
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?

Post by kamillentee »

I think that's a completely wrong guess. Anyway. Web sockets?
'Murica
Posts: 2
Joined: Tue Jun 09, 2015 4:30 am

Re: Lower ping on DDNET client than in other clients?

Post by 'Murica »

Network.cpp is the first file I replaced, so it can't be that...
User avatar
deen
TECHNICAL Team
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?

Post by deen »

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
Post Reply

Who is online

Users browsing this forum: No registered users and 25 guests