Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Back-end Virtualization

 

 

First page Previous page 1 2 3 Next page Last page  View All MythTV users RSS feed   Index | Next | Previous | View Threaded


jon at whitear

May 14, 2012, 11:55 PM

Post #51 of 57 (738 views)
Permalink
Re: Back-end Virtualization [In reply to]

>
> I have had to switch a couple things around for performance (this is
> only a 1.5GHz dual-core system with software RAID). I run the mysql
> server in the host and I've setup internal bridges so the guest can
> get to storage over a paravirt NIC, which seems to work much better
> and give me more flexibility than exposing it as a block device. If
> anyone is interested, I can provide more details.
>

I'm interested. My host is a quad-core 2.8Ghz i5, so it's not really a problem for me, but I'd like to know how you've approached this. The storage for my VMs is on LVM on software RAID 1. Are you mounting that storage as NFS?

Cheers,

Jon
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


alex.l.williamson at gmail

May 15, 2012, 7:46 AM

Post #52 of 57 (728 views)
Permalink
Re: Back-end Virtualization [In reply to]

On Tue, May 15, 2012 at 12:55 AM, Jon Whitear <jon [at] whitear> wrote:
>
>>
>> I have had to switch a couple things around for performance (this is
>> only a 1.5GHz dual-core system with software RAID).  I run the mysql
>> server in the host and I've setup internal bridges so the guest can
>> get to storage over a paravirt NIC, which seems to work much better
>> and give me more flexibility than exposing it as a block device.  If
>> anyone is interested, I can provide more details.
>>
>
> I'm interested. My host is a quad-core 2.8Ghz i5, so it's not really a problem for me, but I'd like to know how you've approached this. The storage for my VMs is on LVM on software RAID 1. Are you mounting that storage as NFS?

I'm also using LVM, but with software RAID6, so I've got even more
overhead. Yes, I'm using NFS for recording storage, exported from the
host. The VM itself runs on a virtio-blk disk, but without mysql and
with recordings stored on NFS, it does get heavy usage. I have two
NICs on the Microserver, one built-in and one in a plugin slot. The
builtin one is used exclusively by the host for NFS/iSCSI/CIFS out to
the rest of the network and has an IP address on the local LAN. The
plugin NIC is tied to a software bridge with no IP on the local LAN.
All VMs attach to this bridge for network access. That works great
and separates my traffic, but limits host<->guest performance to link
speed of the NIC. So I also create a second bridge that's not tied to
any physical devices. I assign the bridge an IP address in the host
and attach guests to it with a static IP. I then specify the private
network IP of the host for things like NFS and mysql. Even my little
underpowered server can hit ~5Gbps over this internal bridge, so NFS
performance is quite nice. I could probably achieve similar
performance by giving the host an IP address on the first bridge, but
I like the isolation of using a separate bridge.

For mysql, I had terrible performance when I ran the server in the
guest with data on the virtio-blk device. Since mysql is a nice self
contained stack, without specific version dependencies, it's easy to
move this service to the host and it seems to run an order of
magnitude faster there.

Otherwise, performance appears sufficient. 1G for the backend VM may
even be overkill as I intend to offload all the compute work to the
slave backend VM on my desktop. Thanks,

Alex
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


nateh at thfcom

May 22, 2012, 8:56 AM

Post #53 of 57 (700 views)
Permalink
Re: Back-end Virtualization [In reply to]

Well...after several attempts I have to say that the Virtualization method I like (Oracle's Virtualbox) is not working with the USB pass-through of the Hauppauge WinTV HVR 950. It installs and sets up just beautifully, however when ya tell it to go watch TV or record something the VM freezes and that's all she wrote...So...that does NOT end my quest for virtualization of the back end. I'm going to try next that HDHR 'dohicky' and see that work.

A couple of questions tho:

I think I've seen a couple of places but I want to make sure...MythTV 'sees' the HDHR during mythtv-setup? Are there any gotchas I need to know about in order to get it to work?

Does the HDHR work with Dish? Any gotchas anyone has to offer to make that work?

If the HDHR works with Dish and works pretty well I was thinking about getting the Dual tuner HDHR and making that do what I want... Any suggestions as to which HDHR people prefer?
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


support at drdos

May 22, 2012, 9:00 AM

Post #54 of 57 (698 views)
Permalink
Re: Back-end Virtualization [In reply to]

>> Hauppauge WinTV HVR 950. It installs and sets up just beautifully, however when ya tell it to go watch TV or record something the >> VM freezes

I tried it over the weekend, since I had a 950 sitting in a drawer, on the current VirtualBox (On my desktop). My test didn't end so gracefully. I actually had the VM abort. I may try this holiday weekend on ESXi 5, just to see if it works okay.

Doug



--
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


raymond at wagnerrp

May 22, 2012, 9:03 AM

Post #55 of 57 (695 views)
Permalink
Re: Back-end Virtualization [In reply to]

On 5/22/2012 11:56, Nathan Hawkins wrote:
> Does the HDHR work with Dish? Any gotchas anyone has to offer to
> make that work?

No. Dish Network is encrypted, and there are no devices available to
decrypt it save their own boxes. The only option to record Dish is
through analog capture from one of their boxes. The recommendation for
analog capture is from anything with a built in hardware encoder,
meaning you're only pulling compressed MPEG2 at 250-1000KB/s, rather
than raw frames at 15.5MB/s. Your 950 does not have a hardware encoder,
and should really only be used for digital, either broadcast ATSC, or
unencrypted cable.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


Jim at Morton

May 22, 2012, 9:03 AM

Post #56 of 57 (699 views)
Permalink
Re: Back-end Virtualization [In reply to]

On 5/22/2012 11:56 AM, Nathan Hawkins wrote:
>
> Does the HDHR work with Dish? Any gotchas anyone has to offer to make that work?
>
Nope. Pretty sure you will need an HDPVR connected to a Dish STB.

--
_________________________________________________________

Jim Morton

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


phil at holobyte

May 23, 2012, 10:50 PM

Post #57 of 57 (680 views)
Permalink
Re: Back-end Virtualization [In reply to]

I have virtualised mythbuntu in a ProxMox OpenVZ container. Tuners are
HDHR. No problems that I have noticed.

Cheers

Phil

First page Previous page 1 2 3 Next page Last page  View All MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.