Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-server
Navigation:
Lists: gentoo-server: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-server@g.o
From: Pandu Poluan <pandu@...>
Subject: Re: Toughts on Virtualization
Date: Mon, 9 Apr 2012 01:26:34 +0700
<p><br>
On Apr 9, 2012 12:49 AM, &quot;Vinícius Ferrão&quot; &lt;<a href="mailto:viniciusferrao@...">viniciusferrao@...</a>&gt; wrote:<br>
&gt;<br>
&gt; Hello fellas,<br>
&gt;<br>
&gt; I&#39;m considering to implement some Gentoo Servers on top of VMWare vSphere ESXi. But perhaps this is not the best option.<br>
&gt;<br>
&gt; I was googling about performance issues in this scenario and started to consider some OS-Level VT, like OpenVZ or Linux-vserver, or whatever else.<br>
&gt;<br>
&gt; So I&#39;m here to ask some opinions about virtualization.<br>
&gt;<br>
&gt; My restricted set of rules (LOL):<br>
&gt; 1. I will not run anything else than Linux.<br>
&gt; 2. I don&#39;t care about GPL, BSD, Icecream, Bacon, or whatever license, since it&#39;s free, it&#39;s fine.<br>
&gt; 3. Don&#39;t need to be an Opensource solution.<br>
&gt;<br>
&gt; Thanks for any help,<br>
&gt;</p>
<p>I&#39;ve deployed more than 20 Gentoo servers over VMware and XenServer, no performance issues. </p>
<p>From the top of my head, Some pointers when doing menuconfig:</p>
<p>* Go &quot;tickless&quot;<br>
* Activate the relevant paravirtualization code; choose the hypervisor-friendly suspend instead of spinlock<br>
* Use the paravirtualized storage driver (Vmware PV-SCSI or Xen Block FrontEnd) <br>
* If using hardened, first configure for &quot;virtualization&quot;, exit (and save), menuconfig again, and check the options under GrSec and PaX; there are options that will cause performance penalty when run on top of a hypervisor (see the help text) <br>

* Do not compile *any* unnecessary drivers (e.g., wireless support, exotic devices) <br>
* Use I/O without delay</p>
<p>And, deployment-wise :</p>
<p>* When possible, do not create more than one partition per virtual drive; instead, create 1 virtual drive per filesystem mountpoint. E.g. :</p>
<p>Instead of having /dev/sda{1,2,3,4} for /boot, /, /usr, and /home, respectively, create 4 virtual drives instead. The above mointpoints will then respectively map to /dev/sd{a,b,c,d}1</p>
<p>(The reason for the latter is because partitions get handled by the VM (slower), while accesses to virtual hard disks are handled by the hypervisor (faster)). <br></p>
<p>I don&#39;t have access to my Gentoo systems ATM, so I can&#39;t provide a more detailed guide. </p>
<p>Rgds, <br>
</p>
Replies:
Re: Toughts on Virtualization
-- Konstantin
Re: Toughts on Virtualization
-- Eduardo Schoedler
References:
Toughts on Virtualization
-- Vinícius Ferrão
Navigation:
Lists: gentoo-server: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Toughts on Virtualization
Next by thread:
Re: Toughts on Virtualization
Previous by date:
Toughts on Virtualization
Next by date:
Re: Toughts on Virtualization


Updated Jun 22, 2012

Summary: Archive of the gentoo-server mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.