garrysmod_common icon indicating copy to clipboard operation
garrysmod_common copied to clipboard

Detouring CNetChan_ProcessMessages using hooks in the included detouring library breaks sv_parallel_sendsnapshot

Open Synkstar opened this issue 2 years ago • 2 comments

I'm unsure why this would be the case but sv_parallel is critical for server performance on a populated Garry's mod server. Using sourcenet or my basic module that detours this causes sv_parallel_sendsnapshot to no longer work so the server no longer uses a separate thread for networking. Thanks.

Synkstar avatar Jan 28 '23 23:01 Synkstar

I using the sourcenet module to fix exploits on server but when sourcenet enable sv_parallel_sendsnapshot dont work , my server is suffering , many server owners complain about this

FunnyCraft avatar Feb 14 '23 20:02 FunnyCraft

There has been a change to Garry's Mod related to this convar. It seems to be multithreading related (mutexes), so it might be something to keep an eye on, when it gets released.

danielga avatar Jun 09 '23 17:06 danielga