[mythtv-users] Xen and Mythtv and Mysql

Justin The Cynical cynical at penguinness.org
Mon Apr 7 21:14:34 UTC 2008


Chris Isip wrote:
> How safe is it to use xen virtual machines to run mysql, mythtv, etc.  I am
> building my new mythtv server and have just started tinkering with this.  I
> am thinking of running mysql in a 10 GB vm with 1000 megs of ram, mythtv in
> a 5 GB vm with 500 megs of ram with CentosPlus in LVM ext3 and swap.   I
> will be running other servers as well but those two are the ones relevant to
> this list.  Has anyone tried this and if you have, what are your experiences
> as far as stability and what disk space and ram considerations do you
> recommend.  I will be running Centos Plus.

While I've not use Xen, I have played with VMWare server for SQL and 
slave backend.

The slave backend worked fine (until a VMWare upgrade b0rked the image 
somehow) for commercial flagging recordings and such via NFS.

This may be related to the host system in my case, but I found that if 
anything hit the SQL server hand enough (i.e. MythMusic updating the DB 
after a file scan), it bogged down the host system that other VM's and 
anything running on the host would slow down enough to cause time-outs 
and such (I would loose SSH sessions, or IMAP access to the mail server 
would fail).

I've since moved the SQL server over to a spare Ultra 10 Sparc I had 
collecting dust.

The Sparc: 440 MHz, 256 RAM, Debian Etch for Sparc.

The SQL VM: 8 gig 'drive' and 128 megs of RAM running Debian Etch.

The host: Pentium D 930 (dual core, 3 Ghz per core) with 2 gigs of RAM, 
Foxconn motherboard, Intel chipset.

And, as always, YMMV.


More information about the mythtv-users mailing list