[Client] Client logs create extreme stuttering

Mama Soraka·12/24/2014, 1:54:07 AM·2 votes·1,011 views

For well in excess of 3 months I've had very bad FPS issues in-game and I had, until recently, blamed it on my awful laptop and what I believed was a failing hard drive. I could somewhat alleviate these issues by keeping the client folder defragmented to reduce my system's file seek time but nothing seemed to help. About a week ago, the game would (seemingly at random) hang for enough time that my frame rate average would drop from 60fps to below 10.

While doing a routine defrag of the client folders and archives I noticed that every single log file output by the client was fragmented and I was struck by inspiration, what if the problem WASN'T file seek time but instead file write time? So I used the windows security tab to deny write access to the "league of legends\logs" folder as well as a selection of logs under the "rads" folder and the "releases" folder for a total of at least 10 log files, all completely unimportant and not normally disable-able through the client (that I could figure). I have yet to have the same issue that has plagued me for months now and my game runs smoother than I can remember it in a long time.

My question to Reds: Why does the client log so much worthless data that it slows down the game while it waits for file writes and why can't I shut it off in the client?

1 Comments

Mama Soraka1/15/2015, 4:30:05 PM1 votes

Here are the steps I took to help increase framerate stability:

NOTE: These steps should be a last resort. The game logs created during gameplay can be helpful in debugging issues with your client and disabling removes that avenue. Also of note is that disabling the logs folder should only yield FPS improvement on systems with a relatively high fseek time. I recommend defragmenting your hard drive before attempting any of these steps.

1] In the main League of Legends install folder, locate a folder called "logs". Right click it and select properties. 2] Select the Security tab and then click the button labeled edit. 3] In the edit dialog if the folder doesn't have an element called "Everyone" click add, otherwise skip the next step where we add the "Everyone" element. 4] In the field for object name type "Everyone" and then click the button "check names" to make sure you typed it correctly. Click ok and the element should be added to the list. 5] Select the Everyone element we just created and check the permissions available in the box labeled "Permissions for Everyone". Make sure under the "allow" column that none of the checkboxes are selected. This is very important that no permissions are set to allow. Then look for the permission called "Write" and click the checkbox under "Deny" to disallow any log files to be written to the logs folder.

Click apply and Ok on all the property dialogs until you have closed them all. To test if you have denied write access to the log folders, attempt to create a new text file in the log folders. You should not be able to, and if this is the case, even the game cannot write to the log folder.