• Constant Lag Spike in certain circumstances.
    3 replies, posted
Recently I am experiencing frequent lag spike in certain circumstances. I tried to find the source of the lag, All I've got is "FileSystem" is spiking with lag spike. I really want to know what makes "FileSystem" spike so I can look into my code and fix the problem to make this not happen again. [img]http://i.imgur.com/z8CYvC8.png[/img]
I had two issues similar to this one. First one was due to the constant reading and writing of bigger files, you can detour some of the file functions such as write and read to see if you have any addons consistently opening and editing files Second one was due to 90% of the clients in the server not having 2 materials which happened to be from TF2. By using fs_report_sync_opens 1 you can see what files are being opened such as materials or sounds. When you spike, just check the console and look for the constant opening of a certain file that fails. Then just look for that file online and import it to your server!
[QUOTE=rebel1324;51816639]Recently I am experiencing frequent lag spike in certain circumstances. I tried to find the source of the lag, All I've got is "FileSystem" is spiking with lag spike. I really want to know what makes "FileSystem" spike so I can look into my code and fix the problem to make this not happen again. [img]http://i.imgur.com/z8CYvC8.png[/img][/QUOTE] FileSystem is exactly that, reading or writing from a disk. Try running GMod off an SSD if you aren't already?
[QUOTE=dence47;51817810]I had two issues similar to this one. First one was due to the constant reading and writing of bigger files, you can detour some of the file functions such as write and read to see if you have any addons consistently opening and editing files Second one was due to 90% of the clients in the server not having 2 materials which happened to be from TF2. By using fs_report_sync_opens 1 you can see what files are being opened such as materials or sounds. When you spike, just check the console and look for the constant opening of a certain file that fails. Then just look for that file online and import it to your server![/QUOTE] THANKS A LOT You save my another 20 hours :DD:
Sorry, you need to Log In to post a reply to this thread.