I've been tracking a strange problem on my home machine. It turns out that writing to the log file is really slow once in a while. The log is on an OCZ Vertex SSD with the latest firmware that otherwise seems to work great.
Here's log samples from build 150:
3991254: 4152: TV: CTVRecordingManager::Process: Start
Slow to write to log (1669 ms)
3992923: 4152: TV: CTVManager::CreateTVControlForAllDevices: Start
3992923: 4152: TV: CTVManager::CreateTVControlForAllDevices: Finish (0 ms)
3992923: 4152: TV: CTVRecordingManager::Process: Finish (1669 ms)
5765142: 4152: Database: MCDB::Save: Start
Slow to write to log (1778 ms)
5766920: 4152: Database: MCDB::Save: Saving (bCleanDB: 0, bForce: 0)
5766920: 4152: Database: MCDB::Save: Finish (1778 ms)
4129456: 4152: Playback: CBitrateMonitor::UpdateBitrate: Start
Slow to write to log (2761 ms)
4132217: 4152: Playback: CBitrateMonitor::UpdateBitrate: Accum audio bytes 185280, video bytes 5474364, time period 3803.459331 ms
4132217: 4152: Playback: CBitrateMonitor::UpdateBitrate: Bitrate for current period: 11904000, audio: 389708, video 11514494
4132217: 4152: Playback: CBitrateMonitor::UpdateBitrate: Finish (2761 ms)
As you can see, the call to write to the log (about a 100 byte write) can take seconds! Anything that logs periodically can trigger the slowness.
The logging is fast 99+% of the time, and there doesn't seem to be any correlation to other things happening in Media Center when it does slow down for a write.
I'm wondering if others using build 150 (or newer) with logging enabled could search their logs for "Slow to write to log" and see if they ever get this.
I'm guessing it's simply something weird (or failing) about my particular hardware, but if others see the same, it could mean there's something larger wrong.
Thanks.