<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=995454510-27102004><FONT face=Arial size=2>I
am a very inexperienced linux user who has been putting together a Mythtv box
for a while and have enjoyed learning about how LInux and even some limited C++
programming.</FONT></SPAN></DIV>
<DIV><SPAN class=995454510-27102004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=995454510-27102004><FONT face=Arial size=2>I have had some
performance issues which have been massively improved by using the unichrome
XvMC drivers and the latest CVS. </FONT></SPAN></DIV>
<DIV><SPAN class=995454510-27102004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=995454510-27102004><FONT face=Arial size=2>I was still having
problems with stuttering and general sluggishnes whenever the database was being
accessed, so thought I would play around with a few possible
enhancements.</FONT></SPAN></DIV>
<DIV><SPAN class=995454510-27102004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=995454510-27102004><FONT face=Arial size=2>This may be bad
practice but I now have a simple script that mounts a small part of the memory
as a ramdisk, copies the MYSQL data into it and accesses the data
from there. It has seriously improved the general responsive of my system
hugely and I have not had a single problem. </FONT></SPAN></DIV>
<DIV><SPAN class=995454510-27102004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=995454510-27102004><FONT face=Arial size=2>There is a simple
backup script that runs to save the ramdisk contents to the HDD whenever the DVB
card updates the EPG and when the machine boots it sets up the ramdisk and
copies this backed up folder into the ramdisk.</FONT></SPAN></DIV>
<DIV><SPAN class=995454510-27102004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=995454510-27102004><FONT face=Arial
size=2>====</FONT></SPAN></DIV>
<DIV><SPAN class=995454510-27102004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=995454510-27102004><FONT face=Arial size=2>The other very
simple tweak that I have found very useful is in using the DVB signal to sync
the system clock using the dvbdate utility contained in the dvb-utils
package. It means that I can now run the machine without network
connectivity and I can place the box entirely standalone and still EPG, accurate
time etc.</FONT></SPAN></DIV>
<DIV><SPAN class=995454510-27102004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=995454510-27102004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=995454510-27102004><FONT face=Arial
size=2>=====</FONT></SPAN></DIV>
<DIV><SPAN class=995454510-27102004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=995454510-27102004><FONT face=Arial
size=2>/usr/src/tv_grab_dvb-0.9/tv_grab_dvb|mythfilldatabase --no-delete --file
1 0 -<BR>echo "Backing up database.."<BR>rm -f
/var/lib/mysql_real/mythconverg/*<BR>cp -a /var/lib/mysql/mythconverg/*
/var/lib/mysql_real/mythconverg/<BR>echo "database backup complete"<BR>echo
"Setting system clock from DVB
card.."<BR>/usr/src/linuxtv-dvb-apps-1.1.0/util/dvbdate/dvbdate --set<BR>echo
"Complete..."</FONT></SPAN></DIV>
<DIV><SPAN class=995454510-27102004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=995454510-27102004><FONT face=Arial size=2>May not be useful to
anyone but I know how much I like to get simple bits of help.</DIV>
<DIV><BR></DIV></FONT></SPAN>
<DIV><SPAN class=995454510-27102004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=995454510-27102004><FONT face=Arial
size=2></FONT></SPAN> </DIV></BODY></HTML>