- CPU: Intel(R) Xeon(R) CPU E5-2630 0 @ 2.30GHz (文档里面说最好使用gcc >= 4.6)
- Memory: 64GB 4X
- Kernel: 3.2.34
- Issue: CentOS 6.2
- Postgresql: 9.2
- GCC: 4.8.0
- CFLAGS: -march=native -O3 -mavx -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard
- LDFLAGS: -Wl,--as-needed -Wl,-rpath,'/opt/pg92/lib',--enable-new-dtags
gcc -mavx
- -mavx,gcc会尽量生成avx指令