<p><br>
On Apr 9, 2012 12:49 AM, "Vinícius Ferrão" <<a href="mailto:viniciusferrao@...">viniciusferrao@...</a>> wrote:<br>
><br>
> Hello fellas,<br>
><br>
> I'm considering to implement some Gentoo Servers on top of VMWare vSphere ESXi. But perhaps this is not the best option.<br>
><br>
> 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>
><br>
> So I'm here to ask some opinions about virtualization.<br>
><br>
> My restricted set of rules (LOL):<br>
> 1. I will not run anything else than Linux.<br>
> 2. I don't care about GPL, BSD, Icecream, Bacon, or whatever license, since it's free, it's fine.<br>
> 3. Don't need to be an Opensource solution.<br>
><br>
> Thanks for any help,<br>
></p>
<p>I'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 "tickless"<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 "virtualization", 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't have access to my Gentoo systems ATM, so I can't provide a more detailed guide. </p>
<p>Rgds, <br>
</p>
|