[mythtv-commits] Ticket #11252: Reduce DeviceReadBuffer thread wakeup
MythTV
noreply at mythtv.org
Wed Jan 2 21:23:20 UTC 2013
#11252: Reduce DeviceReadBuffer thread wakeup
------------------------------------+----------------------------
Reporter: Rune Petersen <rune@…> | Owner: danielk
Type: Patch - Feature | Status: accepted
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.26-fixes
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
------------------------------------+----------------------------
Comment (by danielk):
Rune, I've made a modification similar to what you had for the Read call
which reduces the number of times that call is made. However the change in
the size of min_read goes against what we want to with those read, we want
to get that data out of the very small OS buffers as quickly as possible
hence the "// Limit read size for faster return from read" comment and the
code following it. Also the min_read you set was larger than the
dev_read_size when not using poll which doesn't make much sense to me.
The streamhandler changes seemed harmless, but I didn't really see the
point of them. Can you explain what you were doing there?
PS How much overall CPU usage are you seeing with the Cortex-A9?
Improvements are always welcome, but my backend CPU usage during tests was
too low to be measurable here on my old Intel E8400.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11252#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list