Gentoo Archives: gentoo-user

From: Pandu Poluan <pandu@××××××.info>
To: gentoo-user <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] How to determine 'Least Common Denominator' between Xen(Server) Hosts
Date: Thu, 15 Aug 2013 07:26:15
Message-Id: CAA2qdGVHFp0mDta6nYabJMQTWsi-XV+rbKgOf_9U-fmogf=Vnw@mail.gmail.com
In Reply to: Re: [gentoo-user] How to determine 'Least Common Denominator' between Xen(Server) Hosts by Wang Xuerui
1 Thanks, Wang Xuerui and Bruce!
2
3 That's exactly helpful.
4
5 I'm going to do some testing Real Soon.
6
7
8 Rgds,
9 --
10
11
12
13 On Wed, Aug 14, 2013 at 1:28 PM, Wang Xuerui <idontknw.wang@×××××.com>wrote:
14
15 > 2013/8/14 Helmut Jarausch <jarausch@××××××××××××××××.de>:
16 > > Why not compute it yourself?
17 > >
18 > > Do cat /proc/cpuinfo on all machines and compute the intersection of
19 > all
20 > > "flags"
21 > > Then enter something like the following into /etc/portage/make.conf
22 > >
23 > > CFLAGS="-O3 -pipe -msse -msse2 -msse3 -msse4a -m3dnow"
24 >
25 >
26 > Or even better, directly intersect the GCC flags which can be obtained
27 > in this way:
28 >
29 > echo | gcc -O2 -pipe -march=native -E -v - 2>&1 | grep cc1
30 >
31 > Also, according to the Gentoo Handbook going -O3 for the entire system
32 > may cause instability and other problems. Has the situation changed
33 > over the years?
34 >
35 >
36
37
38 --
39 FdS Pandu E Poluan
40 * ~ IT Optimizer ~**
41 *
42 • LOPSA Member #15248
43 • Blog : http://pepoluan.tumblr.com
44 • Linked-In : http://id.linkedin.com/in/pepoluan