[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] streaming server on a virtual machine.


  • To: Mauro <mrsanna1@xxxxxxxxx>
  • From: Grant McWilliams <grantmasterflash@xxxxxxxxx>
  • Date: Sat, 26 Sep 2009 07:05:41 -0700
  • Cc: Jeff Sturm <jeff.sturm@xxxxxxxxxx>, xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Sat, 26 Sep 2009 07:06:46 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=xaMcLDRbTYHDZnesApeBd7rj7edgybXqBzishJH6wSP7gyydhOVQQ1NwPIZrYa+7L2 374/hlTd8GvZmCtrClsRwxm8SyGZhtQ8zAGjgsqrNlWOg5oYO1nq8IqbVWmA85MI1L+M NOsZmha9OR3DDCJB8R27WYlc1Iff0xfjcAa50=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>


On Sat, Sep 26, 2009 at 2:42 AM, Mauro <mrsanna1@xxxxxxxxx> wrote:
2009/9/18 Jeff Sturm <jeff.sturm@xxxxxxxxxx>:
> I don't see why not. ÂIf you're concerned about latency you could always
> pin the server to a physical CPU.
>
> (Lately we've been doing a lot of physical-to-virtual migrations, and
> I've found myself asking: "What kinds of servers do we have that should
> never be virtual?" ÂThere aren't many on that list.)
>
You say that a streaming server can be installed on a virtual machine.
I don't want to create any kind of disturb but I've asked the same
question to the KVM mailing list and they said that a streaming server
(I user red5), due to the high I/O traffic, it must absolutely not
virtualized.


That may be true on KVM, I don't know. Databases are usually the most brutal on VMs and I ran mysqlbench (all tests) on
KVM as well as on the same machine native. KVM was within 5% of the native test. I did the same thing
with Xen 3.4.0 and the performance was within 4% but when I moved my database storage to an LVM
LV on DomU used as a hard drive in DomU the difference fell to less than 1%. Yes, the very IO dependent
mysqlbench speed improved substatially when using LVM over disk files. The only real difference between
mysqlbench on the real server and then on Xen/LVM was 20% higher CPU utilization.

I will also add that if Xen has a bottleneck it's traffic between DomUs. Don't configure it in any way to have
one DomU servicing another DomU unless both have real network cards attached to them. As strange as it
sounds I've clocked 3x speed improvement by sending the data out of the machine to a switch and back in
to another DomU as apposed to sending it straight across. There's something messed up in that but if you follow
this guideline you'll get wire speed out of your DomUs.

My advice, set up the streaming server and watch it. If it doesn't work migrate it to new hardware. What are you out?
The other note I'd add is that if your server is running at 100% utilization there's no benefit in Virtualizing it. You will
only know if it's worth it by doing it and watching.

Grant McWilliams

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.