Opened 16 years ago
Closed 16 years ago
#4495 closed patch (fixed)
Guide is slow after multirec merge
Reported by: | Owned by: | danielk | |
---|---|---|---|
Priority: | minor | Milestone: | 0.21 |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
On my setup, after the multirec merge, guide response time is too slow to really be usable - especially with concurrent recordings set higher than 1. The problem is, with each channel painted on the guide, two calls of QUERY_RECORDER GET_FREE_INPUTS are made to the backend for each cardid. I have 5 physical cards and if I set currency to 3 for each of the 3 DVB cards I have, that's 22 calls for every channel. My guide paints 6 channels per page so that makes 132 calls per page.
This patch caches the results from GET_FREE_INPUTS on the frontend for only the guide for each page drawn. Each guide page is drawn 2 times so that reduces, for me, the calls to 10 for each page. The cache gets cleared for each page draw.
More can be gained by clearing the cache only once when the guide is first brought up, but that would have the side effect of not updating for inputs being grabbed while in the guide.
Attachments (1)
Change History (3)
Changed 16 years ago by
Attachment: | myth_guidespeed2_r15496.diff added |
---|
comment:1 Changed 16 years ago by
Milestone: | unknown → 0.21 |
---|---|
Owner: | changed from Isaac Richards to danielk |
Status: | new → assigned |
The patch