On Sat, Jul 16, 2011 at 9:13 PM, Michael Orlitzky <mich...@orlitzky.com>wrote:

> On 07/16/2011 09:54 AM, Kfir Lavi wrote:
> > Hi,
> > I'm creating a router based on Gentoo, that needs to run as a vm using
> > qemu.
> > The mother machine will be Core I7 4 cores.
> > What cpu and CFLAGS should I use to get the best performance out of this
> vm?
> >
> > Thanks,
> > Kfir
>
> CFLAGS="-march=native -O2 -pipe" enables everything safe these days.
>
> Hi,
I think -march=native is a problem, as it will compile for my cpu.
Qemu has different CPU, and i would like to compile my code to suit the vm
environment
as close as possible.

Kfir

Reply via email to