AW: [mythtv-users] How is personal setup stored?
greg at phaze.org
Wed Apr 14 09:18:05 EDT 2004
> Since it only does it when mythfrontend is running I can only assume
> that mythfrontend is writing or reading from disk twice a second. My
> question still stands - why does it need to do this when sat there at
> the main menu?
MythBackend does a select from MySQL once a second or so. As
well MythFrontend does a SELECT NULL from the database in order to ensure
that the MySQL connection does not idle timeout.
And depending on which menu it is "idling" on it does other queries
as well. For instance in the Watch TV Recordings screen it does a check
to see if it should be generating preview pixmaps about once a second.
Do an strace on the Mythfrontend process and you will see it is
anything but idle, even when you aren't actively doing anything yourself.
If you do not have MySQL query caching enabled this could potentially
cause a disk read every second.
More information about the mythtv-users