Jump to content

Stuttering and Log Spam


Recommended Posts

I'm suddenly getting this performance stuttering in-game. About once a second or so it stutters for a physics tick or two. I'm fine on RAM, etc. but my logs are now getting spammed with information like this:

[LOG 10:31:06.728] Parsing bool
[LOG 10:31:06.728] Parsing bool
[LOG 10:31:06.728] Parsing int
[LOG 10:31:06.728] Parsing bool
[LOG 10:31:06.728] Parsing bool
[LOG 10:31:07.127] Parsing int
[LOG 10:31:07.127] Parsing bool
[LOG 10:31:07.128] Parsing bool
[LOG 10:31:07.128] Parsing bool
[LOG 10:31:07.128] Parsing bool
[LOG 10:31:07.128] Parsing bool
[LOG 10:31:07.128] Parsing bool
[LOG 10:31:07.128] Parsing bool
[LOG 10:31:07.128] Parsing int

Which I suspect is related to the problem, since I never saw that in my log before. It's suspiciously unhelpful, which makes me think I accidentally hit some hotkey that means 'dump useless information to the log'. I don't think it's mod related since there's no tag for a mod on the log entry.

Any thoughts?

Edited by johnsonwax
Link to comment
Share on other sites

I would guess the log writing is the cause of your performance issues. File I/O is very expensive and it looks like something is writing to the log several times a second.

The Parsing messages are what the game prints when reading from a plugin configuration file; although I don't know if that is the only case where it print those. My guess would be some mod is repeatedly fetching data from the file rather than storing it in memory.

Edited by yongedevil
typo
Link to comment
Share on other sites

I'm not sure if this is related but there are a group of us who suffer from stuttering issue that is caused by the GC, but it's not as frequent as once a second, more like once in 10-15 seconds.

Have a look at this thread and see if any of that sounds familiar.

If you think that the stutter is caused by read/write to log files you could try and start KSP with -nolog and see if that helps.

Link to comment
Share on other sites

Yeah, it looks like a mod was the cause. I had installed (and forgotten I installed) ContractConfigurator-FieldResearch right before the problem started. I'll follow up directly with the author.

Because there was no mod tag on the log entries, I had assumed it was KSP core doing this. Apparently not. So kids, keep track of your mod installations so you can unwind them one-by-one when problems arise.

- - - Updated - - -

I'm not sure if this is related but there are a group of us who suffer from stuttering issue that is caused by the GC, but it's not as frequent as once a second, more like once in 10-15 seconds.

Thanks. I think I have it sorted, but I'll keep an eye on that thread as well. Good reference for anyone who stumbles on this thread first.

Link to comment
Share on other sites

  • 3 weeks later...
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...