Re: [gentoo-user] best cflags and cpu for gentoo qemu virtual machine

2011-07-17 Thread Kfir Lavi
On Sun, Jul 17, 2011 at 7:19 PM, Daniel da Veiga wrote: > On Sat, Jul 16, 2011 at 10:54, 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

Re: [gentoo-user] best cflags and cpu for gentoo qemu virtual machine

2011-07-17 Thread Daniel da Veiga
On Sat, Jul 16, 2011 at 10:54, 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? > > If you intend to run this VM on

Re: [gentoo-user] best cflags and cpu for gentoo qemu virtual machine

2011-07-17 Thread Stroller
On 17 July 2011, at 13:02, Albert Hopkins wrote: > On Saturday, July 16 at 16:54 (+0300), Kfir Lavi said: > >> 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? > > A router is not going to be CPU-bound. Should matter lit

Re: [gentoo-user] best cflags and cpu for gentoo qemu virtual machine

2011-07-17 Thread Michael Mol
On Sun, Jul 17, 2011 at 8:02 AM, Albert Hopkins wrote: > On Saturday, July 16 at 16:54 (+0300), Kfir Lavi said: >> 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? > > A router is not going to be CPU-bound.  Should matter l

Re: [gentoo-user] best cflags and cpu for gentoo qemu virtual machine

2011-07-17 Thread Albert Hopkins
On Saturday, July 16 at 16:54 (+0300), Kfir Lavi said: > 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? A router is not going to be CPU-bound. Should matter little either way.

Re: [gentoo-user] best cflags and cpu for gentoo qemu virtual machine

2011-07-17 Thread dong l
qemu has an option `*qemu* -*cpu host` that will use the host cpu features* 2011/7/17 Kfir Lavi > > > On Sat, Jul 16, 2011 at 9:13 PM, Michael Orlitzky 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 >> > q

Re: [gentoo-user] best cflags and cpu for gentoo qemu virtual machine

2011-07-17 Thread Kfir Lavi
On Sat, Jul 16, 2011 at 9:13 PM, Michael Orlitzky 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 perf

Re: [gentoo-user] best cflags and cpu for gentoo qemu virtual machine

2011-07-17 Thread Neil Bothwick
On Sat, 16 Jul 2011 14:13:49 -0400, Michael Orlitzky wrote: > CFLAGS="-march=native -O2 -pipe" enables everything safe these days. As long as you don't want the VM to be portable. -- Neil Bothwick Angular Momentum Makes The World Go 'Round signature.asc Description: PGP signature

Re: [gentoo-user] best cflags and cpu for gentoo qemu virtual machine

2011-07-16 Thread Michael Orlitzky
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

[gentoo-user] best cflags and cpu for gentoo qemu virtual machine

2011-07-16 Thread Kfir Lavi
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