lag, rubber bullets, death before seeing enemy.... the very same old...

Gaming discussion, issues, setup, tips, latency, online gaming, game servers, console gaming, etc.
Post Reply
iggybob
New Member
Posts: 1
Joined: Wed Nov 09, 2016 3:39 am

lag, rubber bullets, death before seeing enemy.... the very same old...

Post by iggybob »

My English is quite poor so I try to make this as simple as I can. I'm trying to get as close as possible to "real time" gaming (FPS games). I mean I'm still having that "die without seeing enemy coming from behind a corner" crap oh and the "rubber bullet" effect. Even 100+ pingers see me before I see them. I have done all kind of "fixes" I have found from "fix lag" sites but so far nothing helped. Also I still have stuttering and fps drops (graphic settings are lower than ultra). I have also opened all the necessary ports (Firewall rules)

So here's a thing I'm not yet familiar with:

TCP Optimizer: "You can use MTU size 1500"
- 1500 set

CMD prompt:
- ping using MTU size 1500: "Packet needs to be fragmented but DF set. Packetloss 100%"
- MTU size 1447 gives a reply from the pinged address. Packetloss 0%
(CMD prompt: C:\WINDOWS\system32>ping [selected target address] -f -l 1447)

But this happens when setting up different MTU sizes in the modem settings.
MTU size 1447 vs 0 (default)
- MTU 1447: ping 10 - 15 ms, dl speed 85-91 mbits (speedtest.net)
- MTU 0: ping 5 - 8 ms, dl speed 95-97 mbits (upload speed, 5.11 mbits, doesn't change whatever the MTU size is)
- on a certain game server my ping is normally around 45. When changing the MTU size in the modem settings (0 -> 1447), my ping increases by around 15 ms.

So what should I do with the TCIP MTU size and the modem MTU size? And can this MTU thing cause problems??

----------------------------------------------------
Here's the specs of my gears

64 bit Win 10 + anniversary update (all the unnecessary services are disabled and unwanted apps deleted)

100/5 mbits cable Internet connection. Using wired connection. Wifi is off.
Cisco EPC3928 cable modem

i7 6700K @ stock speed (up to 4.2 GHz) (temp in heavy load around 60 C / 140 F)
Gtx 980 ti SLI (temps in heavy load around 70 - 75 C / 158 - 167 F
M.2 SSD
16 Gb RAM @ 3000 MHz
Gigabyte Gaming 7 mobo + the latest BIOS with stock settings excluding the RAM XMP setting
1000 W PSU
100 Hz 3440x1440 monitor
Razer Orbweaver keypad + Steelseries Rival 300 and Corsair M65 RGB mice (native DPI / 500 hz)

All the drivers and stuff are up to date. No beta level stuff.

Please I desperately need your help to solve this everlasting struggling. Thanks in advance.
User avatar
Philip
SG VIP
Posts: 11526
Joined: Sat May 08, 1999 5:00 am
Location: Jacksonville, Florida

Post by Philip »

Keep in mind when pinging in command prompt, you are not using TCP, rather ICMP. As such, there are some additional headers and 1500bytes will never travel without being fragmented via ICMP. You have to subtract 28 bytes for the additional header. In other words, if your MTU us 1500, use 1500-28=1472 bytes to ping:

ping speedguide.net -f -l 1472

If ICMP ping is not fragmented at 1472, that means your 1500 TCP MTU travels fine to the destination (28 bytes more payload in TCP).

Larger packets, especially if they get fragmented will travel slower. Also, ICMP will get lower priority than TCP/UDP in many routers, so it is not always a 100% reliable measure.

If you'd like to experiment, you can always set your MTU from 1500 down to anything >= 576 for gaming, but generally it is not necessary.

I would also try a tracert to see where ping increases between you and the target server.

There are a couple of gaming tweaks articles on the main site that may be worth checking as well. There is an Optimizer FAQ as well: http://www.speedguide.net/faq/35-what-a ... gs-for-474

I hope this helps.
User avatar
Mark
Posts: 13232
Joined: Wed Apr 11, 2001 12:00 am
Location: .

Post by Mark »

what games is this happening in ?

tried different servers ?
Beth641
New Member
Posts: 6
Joined: Wed Sep 14, 2016 8:21 am

Post by Beth641 »

Mark wrote:what games is this happening in ?

tried different servers ?
server names?
User avatar
Mark
Posts: 13232
Joined: Wed Apr 11, 2001 12:00 am
Location: .

Post by Mark »

game name
capy2008
Member
Posts: 24
Joined: Fri Jul 27, 2012 4:20 pm

Post by capy2008 »

Philip wrote:Keep in mind when pinging in command prompt, you are not using TCP, rather ICMP. As such, there are some additional headers and 1500bytes will never travel without being fragmented via ICMP. You have to subtract 28 bytes for the additional header. In other words, if your MTU us 1500, use 1500-28=1472 bytes to ping:

ping speedguide.net -f -l 1472

If ICMP ping is not fragmented at 1472, that means your 1500 TCP MTU travels fine to the destination (28 bytes more payload in TCP).

Larger packets, especially if they get fragmented will travel slower. Also, ICMP will get lower priority than TCP/UDP in many routers, so it is not always a 100% reliable measure.

If you'd like to experiment, you can always set your MTU from 1500 down to anything >= 576 for gaming, but generally it is not necessary.

I would also try a tracert to see where ping increases between you and the target server.

There are a couple of gaming tweaks articles on the main site that may be worth checking as well. There is an Optimizer FAQ as well: http://www.speedguide.net/faq/35-what-a ... gs-for-474

I hope this helps.
This is so strange, everybody recommend 576 mtu, from my experience 576 mtu is far far slower than 1500 mtu , never will happen to send packet faster ,he just send less data and you will have more bad gaming experience.
Anyone try new template in new windows version 1803? Netsh int tcp set supplemental template=compat , seems to be faster but with some packet jitter cost on high ping! Also ledbat new congestion is on but is read only, if somebody find a way to activate ledbat, leave a reply!

Edit2 : Also I see people recomand MSI mode for network card, and windows set it default. From my experience I switch from MSI to Windows line-based, this give me better gameplay in games!
User avatar
Philip
SG VIP
Posts: 11526
Joined: Sat May 08, 1999 5:00 am
Location: Jacksonville, Florida

Post by Philip »

Smaller packets travel slightly faster, however, they have higher header overhead as well. Whether you see any positive difference depends on the underlying network though, use whatever works better for you.

MSI-mode allows the NIC to send several packets to a memory address before they are processed. This is great for lower resource utilization, and fewer interrupts, however, it may not be ideal for quick network responses, such as gaming.

I would be careful disabling MSI-mode though. Some enterprise and higher-end NICs use multiple queues, from 1-2 up to 8, and they can utilize up to 10-12 "soft" MSI/MSI-X IRQs. MSI is supposed to be more efficient than traditional IRQs in general, but it depends on your OS/hardware.
capy2008
Member
Posts: 24
Joined: Fri Jul 27, 2012 4:20 pm

Post by capy2008 »

575 mtu make for me more bad hitreg than 1500 mtu, in tests not seem to be faster at all with nothing. I play with so much settings in windows and I never do something wrong, ofc for each command I do some research before apply!
You have right about MSI , I have 4 on my intel pro 1000ct, but I will never ever I activate again MSI -mode, like I said , I find very good performance with MSI off.

My tweaks:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AFD\Parameters
DefaultSendWindow: 157152
DefaultReceiveWindow: 157152 ; I find the sweet spot, no more desync in games like PlayerUnknown's Battlegrounds, but everybody need to test first to find the best value.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
TcpMaxDupAcks:ffffffff
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{NIC ID}
TcpAckFrequency:0
TcpDelAckTicks:0
TcpMaxDupAcks:ffffffff ;this is for parameters but I let here too

NIC settings:
Gigabit master slave mode:auto
Interrupt moderation: enabled
Jumbo packet: disabled
Large send offload v2: enabled
Number rss queues: 2, I find 4 is too fast and 1 is to slow, so 2 is perfect
Ipv4 checksum: enabled
tcp checksum offload:enabled
udp checksum offload: enabled
adaptive inter frame:disabled ; this is a tricky command, you need to test first with on and off
flow control:rx-tx
interrupt moderation:adaptive
recive buffer: 512 or 1024 ; find it higher value 1024 you have more good draws in card games like hearthstone
transmit buffer: 512 or 1024
recive side scaling:enabled

system.ini (you can find irq of you components on system information or device manger ->view ->resources by type->Interrupt request)
Irq[0]=0
Irq[3]=0
Irq[8]=0
Irq[16]=0
Irq[14]=0
Irq[13]=0

Ofc all of this settings work very good with com port chipset controller with irq 3, so irq metter so much, bad we can't change it for other components or change it to 1, I have only 4 irq options, 3,4,10,13 only for chipset controller!
My computer:
z270 gaming m6 ac
i7-7700k
16 G memory
Nvidia 980 le

My provider speed:
UPC
500 Mbs dow
25 Mbs up

If anybody want to use my settings please try it on new fresh windows install and don't do any other tweaks like ttl or windows size or disable auto tuning level(leave it normal, don't touch it), will make you gameplay more worse.
User avatar
Philip
SG VIP
Posts: 11526
Joined: Sat May 08, 1999 5:00 am
Location: Jacksonville, Florida

Post by Philip »

Thanks for sharing. I would also try disabling Large Send Offloads in the NIC Adapter properties, and possibly interrupt moderation/flow control for gaming, as in:

Interrupt moderation: disabled
Large send offload v2: disabled
Flow Control: disabled
Linux is user friendly, it's just picky about its friends...
Disclaimer: Please use caution when opening messages, my grasp on reality may have shaken loose during transmission (going on rusty memory circuits). I also eat whatever crayons are put in front of me.
๑۩۞۩๑
capy2008
Member
Posts: 24
Joined: Fri Jul 27, 2012 4:20 pm

Post by capy2008 »

Nop ,not work for me that! I try so much combinations, and this ones I share up are very good and stable in all games ! I want stable connection as possible! Thanks for advice! ^^
sonexs
New Member
Posts: 3
Joined: Tue Jun 05, 2018 6:22 am

Post by sonexs »

capy2008 wrote:
system.ini (you can find irq of you components on system information or device manger ->view ->resources by type->Interrupt request)
Irq[0]=0
Irq[3]=0
Irq[8]=0
Irq[16]=0
Irq[14]=0
Irq[13]=0
Can you tell me how to change these settings? I dont know, but i would test it. because same cpu.
Thanks for your help
kittipatti
New Member
Posts: 1
Joined: Fri May 04, 2018 3:05 pm

Post by kittipatti »

I have a problem with the game. PUBG lag, rubber bullets, death before seeing enemy

internet fiber 100/30m.


Do you have any customization guidelines?
thank
Blackfyre
New Member
Posts: 9
Joined: Fri Jun 15, 2018 5:31 pm

Post by Blackfyre »

@kittipatti run TCP Optimizer with OPTIMAL settings first and restart, and then create a .reg file and merge it with the changes to registry below (backup your registry just in case):

Make sure you scroll and copy everything below into notepad & then edit the extension to make it .reg after saving and run it. Thanks to @n1kobg for sharing them with me.

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile]
"NetworkThrottlingIndex"=dword:ffffffff
"SystemResponsiveness"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games]
"Affinity"=dword:00000000
"Background Only"="False"
"Clock Rate"=dword:00002710
"GPU Priority"=dword:00000008
"Priority"=dword:00000006
"Scheduling Category"="High"
"SFIO Priority"="High"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\DisplayPostProcessing]
"Affinity"=dword:00000000
"Background Only"="True"
"BackgroundPriority"=dword:00000008
"Clock Rate"=dword:00002710
"GPU Priority"=dword:00000008
"Priority"=dword:00000008
"Scheduling Category"="High"
"SFIO Priority"="High"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\PriorityControl]
"IRQ8Priority"=dword:00000001
"Win32PrioritySeparation"=dword:00000026

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Executive]
"AdditionalCriticalWorkerThreads"=dword:00000008
"AdditionalDelayedWorkerThreads"=dword:00000006

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
"SecondLevelDataCache"=dword:00000000
"IoPageLockLimit"=dword:08000000
"DisablePagingExecutive"=dword:00000001
"LargeSystemCache"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters]
"EnablePrefetcher"=dword:00000000
"EnableSuperFetch"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"DisableDeleteNotification"=dword:00000000
"LongPathsEnabled"=dword:00000000
"NtfsAllowExtendedCharacter8dot3Rename"=dword:00000000
"NtfsBugcheckOnCorrupt"=dword:00000000
"NtfsDisableCompression"=dword:00000000
"NtfsDisableEncryption"=dword:00000001
"NtfsEncryptPagingFile"=dword:00000000
"NtfsMemoryUsage"=dword:00000000
"NtfsMftZoneReservation"=dword:00000004
"RefsDisableLastAccessUpdate"=dword:00000001
"UdfsSoftwareDefectManagement"=dword:00000000
"Win31FileSystem"=dword:00000000
"FileNameCache"=dword:00000400
"PathCache"=dword:00000200
"NtfsDisable8dot3NameCreation"=dword:00000001
"NTFSDisableLastAccessUpdate"=dword:00000001
"ContigFileAllocSize"=dword:00000600

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters]
"TCPNoDelay"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"EnableFirstLogonAnimation"=dword:00000000
"SynchronousUserGroupPolicy"=dword:00000000
"VerboseStatus"=dword:00000001
"SynchronousMachineGroupPolicy"=dword:00000000

[HKEY_CURRENT_USER\Control Panel\Desktop]
"HungAppTimeout"="1000"
"MenuShowDelay"="0"
"ActiveWndTrkTimeout"=dword:00000000
"AutoEndTasks"="1"
"FontSmoothing"="2"
"PaintDesktopVersion"=dword:00000000
"WaitToKillAppTimeout"="1000"
"LowLevelHooksTimeout"="1000"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoLowDiskSpaceChecks"=dword:00000001
"LinkResolveIgnoreLinkInfo"=dword:00000001
"NoResolveTrack"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System]
"DisableLogonBackgroundImage"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Psched]
"TimerResolution"=dword:00000001
"NonBestEffortLimit"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]
"SystemStartOptions"=" NOEXECUTE=OPTIN NOGUIBOOT BOOTLOGO"
"DirtyShutdownCount"=dword:00000078
"WaitToKillServiceTimeout"="2000"
"WaitToKillAppTimeout"="2000"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Serialize]
"StartupDelayInMSec"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\54533251-82be-4824-96c1-47b60b740d00\0cc5b647-c1df-4637-891a-dec35c318583]
"Attributes"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\0012ee47-9041-4b5d-9b77-535fba8b1442\0b2d69d7-a2a1-449c-9680-f91c70521c60]
"Attributes"=dword:00000002

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\0012ee47-9041-4b5d-9b77-535fba8b1442\dab60367-53fe-4fbc-825e-521d069d2456]
"Attributes"=dword:00000002

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
"Max Cached Icons"="2000"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"ExtendedUIHoverTime"=dword:00000000
"TaskbarAnimations"=dword:00000000
"ListviewAlphaSelect"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters]
"Tcp1323Opts"=dword:00000001
"SackOpts"=dword:00000000
"TcpMaxDupAcks"=dword:00000002

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\LanmanWorkstation\Parameters]
"MaxCollectionCount"=dword:00000020
"MaxThreads"=dword:0000001e
"MaxCmds"=dword:0000001e

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting]
"ShowUI"=dword:00000001
"DoReport"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug]
"Auto"="0"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager]
"AutoChkTimeOut"=dword:00000005

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"AutoRestartShell"=dword:00000001
Post Reply