Opened 16 months ago
Closed 14 months ago
Last modified 14 months ago
Reduce ThreadedFileWriter thread wakeup
|Reported by:||Rune Petersen <rune@…>||Owned by:||danielk|
|Component:||MythTV - General||Version:||0.26-fixes|
The writer thread will only write in chunks of 'kMinWriteSize' or larger.
Currently ThreadedFileWriter::Write() will wake up the writer thread every time, even if the chunk size condition isn't met.
The patch changes ThreadedFileWriter::Write() to only wake up the writer thread is the chunk size condition is met.
This reduces cpu usage by ~9% on a 700MHz Cortex-A9 when recording DVB HD content.
Change History (5)
Changed 16 months ago by Rune Petersen <rune@…>
comment:1 Changed 16 months ago by danielk
- Owner set to danielk
- Status changed from new to accepted
comment:2 Changed 14 months ago by Daniel Thor Kristjansson <dkristjansson@…>
- Resolution set to fixed
- Status changed from accepted to closed
comment:3 Changed 14 months ago by Rune Petersen <rune@…>
comment:4 Changed 14 months ago by wagnerrp
- Milestone changed from unknown to 0.27