[mythtv-commits] Ticket #477: mythlcdserver extremely ineffecient
on large menus, regression from pre-mythlcdserver.
MythTV
mythtv at cvs.mythtv.org
Sun Oct 16 02:52:09 UTC 2005
#477: mythlcdserver extremely ineffecient on large menus, regression from pre-
mythlcdserver.
------------------------------------+---------------------------------------
Reporter: eskil <myth at eskil.org> | Owner: ijr
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: mythmusic | Version:
Severity: medium | ------------------------------------+---------------------------------------
The new mythlcdserver is very ineffecient when handling large menus. The
way that UIManagedTreeListType updates the menu is to call
LCD::switchToMenu from the ::Draw method. It passes the entire list of
entries to this call.
Pre-mythlcdserver, that was ok, since it was an in-process operation. Now
that list get's sent to mythlcdserver via a socket, and mythlcdserver then
decides which subportion to display.
In my case, when navigating in mythmusic, it transfers a menu with over
10000 items - 100% cpu load and the menu does not keep up.
I'm guessing this can be fixed by changing LCD::switchToMenu, to include
the logic that depending on the lcdHeight determines which elements are
visible, and then only send those across to the mythlcdserver.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/477>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list