Author Topic: Having a go at LinuxMCE on xen  (Read 18472 times)

Enigmus

  • Veteran
  • ***
  • Posts: 132
    • View Profile
Re: Having a go at LinuxMCE on xen
« Reply #15 on: October 30, 2008, 02:46:02 pm »
We'll gents, all failed. The problem lies in the fact that XEN virtual network interfaces will not pass enough traffic to have the system run smooth. Maybe VT_D will help but for that I'll first have to buy a new MB.

rgds

I recommend not using the virtual networking then.  Pass one or more Network card directly to the VE without having the Xen Host in the way.

http://www.wlug.org.nz/XenPciPassthrough

daballiemo

  • Guru
  • ****
  • Posts: 244
  • Full Blown Addict
    • View Profile
Re: Having a go at LinuxMCE on xen
« Reply #16 on: October 30, 2008, 08:55:29 pm »
Okay, let me explain again  ;)

* I am able to install LMCE in a HVM, but that has no access to any pci(e) hardware. At least not without VT-d which is only available on a small amount of MB's and using a Intel procc. So the only way I can hook the system to the network is via virtual network interfaces and that causes congestion. Not to mention not having access to ISDN cards and so on.

* Installing in an unpriviledged domain (PV) will give you access to PCI(e) through pciback.hide but when building the domain the installer of LMCE fails. When I did overcome the latter (tearing the installer down into bits and pieces) I was able to install the lot, but the system was everything but stable...

So if there is a way to install LMCE as a PV I would certainly give it a go and if able to build would provide the VM as a appliance to everybody interested.

rgds

Han

« Last Edit: October 30, 2008, 08:57:01 pm by daballiemo »
HP N40L12.04 KVM with virt LCME8.10/10.04
MD: FoxConn NetBox 330I - Samsung LE 26 (1360* 768)
MD: M2NPV-VM dual core AMD 64/3800/2Gb/NV6150 - Samsung UE 55 C8700 (full hd, 3d)
MD: FoxConn NetBox 330I - LG 32ld350

skeptic

  • Addicted
  • *
  • Posts: 615
    • View Profile
Re: Having a go at LinuxMCE on xen
« Reply #17 on: October 31, 2008, 04:42:38 am »
Just out of curiosity, why is it you think the issue is with nic bandwidth?  You say XEN gets double the bandwidth virtualbox does, yet someone else mentioned virtualbox works fine.  I also run a virtualbox MD, and as long as my host OS isn't bogged down and I keep the VB resolution to 800x600 (IIRC) it runs fine.  I'm pretty confident the limitations are CPU/memory resources not bandwidth.  Is it possible the same is true for your XEN setup?

disclaimer:  I've never touched XEN.

daballiemo

  • Guru
  • ****
  • Posts: 244
  • Full Blown Addict
    • View Profile
Re: Having a go at LinuxMCE on xen
« Reply #18 on: October 31, 2008, 10:53:01 am »
I've noticed that with a Gb link and using iptraf to check I was able to push not more than 20Mb/sec
HP N40L12.04 KVM with virt LCME8.10/10.04
MD: FoxConn NetBox 330I - Samsung LE 26 (1360* 768)
MD: M2NPV-VM dual core AMD 64/3800/2Gb/NV6150 - Samsung UE 55 C8700 (full hd, 3d)
MD: FoxConn NetBox 330I - LG 32ld350

Enigmus

  • Veteran
  • ***
  • Posts: 132
    • View Profile
Re: Having a go at LinuxMCE on xen
« Reply #19 on: October 31, 2008, 02:01:10 pm »
Okay, let me explain again  ;)

* I am able to install LMCE in a HVM, but that has no access to any pci(e) hardware. At least not without VT-d which is only available on a small amount of MB's and using a Intel procc. So the only way I can hook the system to the network is via virtual network interfaces and that causes congestion. Not to mention not having access to ISDN cards and so on.

* Installing in an unpriviledged domain (PV) will give you access to PCI(e) through pciback.hide but when building the domain the installer of LMCE fails. When I did overcome the latter (tearing the installer down into bits and pieces) I was able to install the lot, but the system was everything but stable...

So if there is a way to install LMCE as a PV I would certainly give it a go and if able to build would provide the VM as a appliance to everybody interested.

rgds

Han

I see where your going now.  On an semi-unrelated note.  XEN supports AMD-V so the range of Hardware supported VEs is larger then you think.  Any newer AM2 socket board will support it, but yes that does limit the availability of the solution.  Also as of 3.3 Xen has some support for PCI pass through for hardware visualized environments.  I have been meaning to give it a try to see if they have reach the level of support for video cards but I have not found the time or the hardware.

However Xen does networking (in V3.0 or lower) it does it strangely.  In the past I had tried with out success to use IPtables rules on the Xen Host to filter traffic to VEs.  Rules that should have worked failed to allow appropriate traffic.  Now that Hardware virtual environments have access to PCI pass through (v3.3) I was going to fiddle around with having a PFsense (FreeBSD) hardware virtualized environment route all my Xen traffic for me by giving it direct access to the NIC.  However, I haven't put together the cash  to get the hardware.

What version of XEN are you using? Is it just the through put or are there other Network issues?  What's the through put when the Xen host pushes traffic?  What type of hard drive is the Xen hosts using (IDE, SATA, SAS, SCSI)?  What is the Available RAM in the system and how much are you dedicating to the LinuxMCE VE?

Enigmus

  • Veteran
  • ***
  • Posts: 132
    • View Profile
Re: Having a go at LinuxMCE on xen
« Reply #20 on: October 31, 2008, 02:11:26 pm »
Sorry, I see you gave it 1gb from you config.

skeptic

  • Addicted
  • *
  • Posts: 615
    • View Profile
Re: Having a go at LinuxMCE on xen
« Reply #21 on: October 31, 2008, 03:58:07 pm »
I've noticed that with a Gb link and using iptraf to check I was able to push not more than 20Mb/sec
Is that 20 MBytes per second or is it really 20Mbits per second? 

Either way, what exactly is the problem?  20Mb/s throughput should be plenty for streaming media unless you are trying to push HD.  The fact that it does not run smooth (the only reference I've seen to the issues) could easily be something other than nic speed. 

daballiemo

  • Guru
  • ****
  • Posts: 244
  • Full Blown Addict
    • View Profile
Re: Having a go at LinuxMCE on xen
« Reply #22 on: October 31, 2008, 06:15:11 pm »
We'll its not the only vm using the interface, so when you take it all together its not fast enough. Btw I guess its 20Mbit/s
HP N40L12.04 KVM with virt LCME8.10/10.04
MD: FoxConn NetBox 330I - Samsung LE 26 (1360* 768)
MD: M2NPV-VM dual core AMD 64/3800/2Gb/NV6150 - Samsung UE 55 C8700 (full hd, 3d)
MD: FoxConn NetBox 330I - LG 32ld350