View previous topic :: View next topic |
Author |
Message |
grooveman Veteran
Joined: 24 Feb 2003 Posts: 1217
|
Posted: Thu Oct 16, 2014 5:23 pm Post subject: [Solved] Best CFLAGS for Xeon W3670 |
|
|
Hi,
I am installing gentoo on machines with a Xeon W3670. I have looked all around, but I cannot seem to find any advice on cflags for this particular model (or any "W" series Xeon), though there is plenty on the "E" Series.
Can someone point me to a resource that references this, or otherwise indicate what is ideal here?
Thank you!
G _________________ To look without without looking within is like looking without without looking at all.
Last edited by grooveman on Tue Oct 28, 2014 7:53 pm; edited 1 time in total |
|
Back to top |
|
|
NathanZachary Moderator
Joined: 30 Jan 2007 Posts: 2605
|
Posted: Fri Oct 17, 2014 12:04 am Post subject: |
|
|
Can you please post the output of:
on the machine? That should give a good start on the best flags to set.
Cheers,
Nathan Zachary _________________ “Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio--- |
|
Back to top |
|
|
grooveman Veteran
Joined: 24 Feb 2003 Posts: 1217
|
Posted: Fri Oct 17, 2014 1:28 am Post subject: |
|
|
One of these:
Code: | processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Intel(R) Xeon(R) CPU W3670 @ 3.20GHz
stepping : 2
microcode : 0x10
cpu MHz : 3200.118
cache size : 12288 KB
physical id : 0
siblings : 6
core id : 0
cpu cores : 6
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdt scp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc ap erfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdc m pcid dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips : 6400.23
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
|
It is a hexacore.
Thanks.
G _________________ To look without without looking within is like looking without without looking at all. |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Fri Oct 17, 2014 7:54 am Post subject: |
|
|
I always do "-march=native -mtune=native" for all my machines. _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
NathanZachary Moderator
Joined: 30 Jan 2007 Posts: 2605
|
Posted: Fri Oct 17, 2014 4:28 pm Post subject: |
|
|
Since this is an older Xeon processor (2010), I would go with XavierMiller's recommendation of just setting it to native. For additional flags, you can do:
Those are safe, and if you don't really care about debugging all that often, -fomit-frame-pointer.
Hope that helps.
Cheers,
Nathan Zachary _________________ “Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio--- |
|
Back to top |
|
|
grooveman Veteran
Joined: 24 Feb 2003 Posts: 1217
|
Posted: Tue Oct 28, 2014 7:52 pm Post subject: |
|
|
Thank you all. I went with march=native mtune=native -o2 -pipe. Been prettyhappy so far. _________________ To look without without looking within is like looking without without looking at all. |
|
Back to top |
|
|
|