| View previous topic :: View next topic |
| Author |
Message |
pyther n00b

Joined: 12 Jun 2008 Posts: 4
|
Posted: Thu Jun 12, 2008 6:15 pm Post subject: CFlags for Intel Atom? |
|
|
Hello.
I was wondering if anyone knows what CFlags I might want to use with the Intel Atom Processor. I just purchased the Intel D945GCLF which has an Atom cpu.
Thanks!
EDIT: Fixed Type on Model
Last edited by pyther on Thu Jun 12, 2008 7:05 pm; edited 1 time in total |
|
| Back to top |
|
 |
poly_poly-man Veteran


Joined: 06 Dec 2006 Posts: 1185 Location: where the heat meets the humidity...
|
Posted: Thu Jun 12, 2008 6:50 pm Post subject: |
|
|
this?
no atom in there.... atom is a processor for handhelds - and AFAIK, it's not available anywhere yet.
What kind of processor do you really have (basically, on a livecd, cat /proc/cpuinfo)?
poly-p man _________________ I *have* fsck'ed a hard drive on my lap...
Install gentoo:
1. use sysresccd, not the livecd.
2. use funtoo stage tarballs, not the "official" ones
3. follow the handbook |
|
| Back to top |
|
 |
pyther n00b

Joined: 12 Jun 2008 Posts: 4
|
Posted: Thu Jun 12, 2008 7:06 pm Post subject: |
|
|
| My bad I made a huge type the motherboard is Intel D945GCLF and it does have a atom processor. |
|
| Back to top |
|
 |
poly_poly-man Veteran


Joined: 06 Dec 2006 Posts: 1185 Location: where the heat meets the humidity...
|
Posted: Thu Jun 12, 2008 7:24 pm Post subject: |
|
|
can you give the contents of /proc/cpuinfo?
my guess is something like nocona, but I'm not sure what technologies this supports...
poly-p man _________________ I *have* fsck'ed a hard drive on my lap...
Install gentoo:
1. use sysresccd, not the livecd.
2. use funtoo stage tarballs, not the "official" ones
3. follow the handbook |
|
| Back to top |
|
 |
pyther n00b

Joined: 12 Jun 2008 Posts: 4
|
Posted: Thu Jun 12, 2008 7:48 pm Post subject: |
|
|
| As I just ordered the hardware today I probably won't have the system until Tuesday or Wednesday of next week so I can't get the contents until then. Sorry |
|
| Back to top |
|
 |
ergobill n00b

Joined: 13 Jun 2008 Posts: 1 Location: Media, PA
|
Posted: Fri Jun 13, 2008 10:44 pm Post subject: Intel Atom |
|
|
| Pyther is correct this is a new product from Intel going after VIA market. Very Low power mb with 945 chipset in mini-itx form. Ubuntu (canonical) is working on "netbook" version to take advantage of / optimize for the atom processor. |
|
| Back to top |
|
 |
Hun73r n00b


Joined: 28 Jun 2004 Posts: 38
|
Posted: Sun Jun 15, 2008 7:07 pm Post subject: |
|
|
| Its basic a celeron with HT so the celeron CFlags probaly work with it ant it out performance the c7 from via |
|
| Back to top |
|
 |
crazycat l33t


Joined: 26 Aug 2003 Posts: 831 Location: Hamburg, Germany
|
Posted: Tue Jun 17, 2008 8:19 am Post subject: |
|
|
Atom has as much in common with "celeron with ht" as a giraffe with a crocodile. The only thing in common is that they are both x86. Atom is in-order cpu. That means compiler optimizations will have much more influence on the speed of execution. Atom's performance is also pretty weak - cflags are more important for the in-order cpu. Here is a very good article about atom architecture. _________________ core2quad, mainboard: dfi lanparty ut icfx 3200-T2R/G, 2gb ram, nvidia-7300gs, samsung 1tb, 512gb and an old maxtor diamond max 200gb, sound: sb audigy. |
|
| Back to top |
|
 |
tab21 n00b

Joined: 01 Aug 2006 Posts: 28
|
Posted: Tue Jun 17, 2008 11:30 pm Post subject: |
|
|
I have the same board and used the following in my make.conf to install 64 bit Gentoo:
| Code: |
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
CHOST="x86_64-pc-linux-gnu"
ALSA_CARDS="intel_hda"
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="i810"
|
I'm sure you can use -march=prescott and a 32bit stage3 tarball to get up and running as well. |
|
| Back to top |
|
 |
pyther n00b

Joined: 12 Jun 2008 Posts: 4
|
Posted: Thu Jun 19, 2008 9:40 pm Post subject: |
|
|
tab21: thanks, I'll try those
My /proc/cpuinfo
| Code: |
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel(R) Atom(TM) CPU 230 @ 1.60GHz
stepping : 2
cpu MHz : 1596.084
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl tm2 ssse3 cx16 xtpr lahf_lm
bogomips : 3196.02
clflush size : 64
cache_alignment : 64
address sizes : 32 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel(R) Atom(TM) CPU 230 @ 1.60GHz
stepping : 2
cpu MHz : 1596.084
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl tm2 ssse3 cx16 xtpr lahf_lm
bogomips : 3193.10
clflush size : 64
cache_alignment : 64
address sizes : 32 bits physical, 48 bits virtual
power management:
|
|
|
| Back to top |
|
 |
wswartzendruber Guru


Joined: 22 Mar 2004 Posts: 377 Location: Camp Lejeune, NC
|
Posted: Fri Jun 20, 2008 7:06 am Post subject: |
|
|
Intel states that the Atom is ISA compliant with the Merom:
| Code: | | CFLAGS="-march=core2 -Os -fomit-frame-pointer -pipe" |
But that's only if you're using GCC 4.3. _________________ ThinkPad T400 7417-CTO
Core 2 Duo P8400 (3 MB L2, 1067 MHz FSB)
320 GB 7200 RPM HDD
2 GB PC8500 RAM (1067 MHz)
GMA 4500MHD / 1440x900
Intel Wi-Fi Link 5300AGN |
|
| Back to top |
|
 |
poly_poly-man Veteran


Joined: 06 Dec 2006 Posts: 1185 Location: where the heat meets the humidity...
|
Posted: Fri Jun 20, 2008 9:25 am Post subject: |
|
|
| wswartzendruber wrote: | Intel states that the Atom is ISA compliant with the Merom:
| Code: | | CFLAGS="-march=core2 -Os -fomit-frame-pointer -pipe" |
But that's only if you're using GCC 4.3. |
correct....
however, if:
gcc < 4.2.0, 32-bit: prescott
gcc < 4.2.0, 64-bit: nocona
gcc >= 4.2.0: native
no kidding, I just found out about march=native....I'm switching to that now
poly-p man _________________ I *have* fsck'ed a hard drive on my lap...
Install gentoo:
1. use sysresccd, not the livecd.
2. use funtoo stage tarballs, not the "official" ones
3. follow the handbook |
|
| Back to top |
|
 |
kernelOfTruth Veteran


Joined: 20 Dec 2005 Posts: 2933 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Fri Jun 20, 2008 9:59 am Post subject: |
|
|
| poly_poly-man wrote: | | wswartzendruber wrote: | Intel states that the Atom is ISA compliant with the Merom:
| Code: | | CFLAGS="-march=core2 -Os -fomit-frame-pointer -pipe" |
But that's only if you're using GCC 4.3. |
correct....
however, if:
gcc < 4.2.0, 32-bit: prescott
gcc < 4.2.0, 64-bit: nocona
gcc >= 4.2.0: native
no kidding, I just found out about march=native....I'm switching to that now
poly-p man |
++
use -march=native, don't use -march=core2 since it breaks several apps like xorg-server, ... (at least for me + hardened) _________________ Unofficial minimal 2008.0 for x86/amd64 w/reiser4+truecrypt
gcc version 4.3.1 (Gentoo Hardened 4.3.1-r2 p1.1, builtin ssp,fortify, pie-10.0.2) |
|
| Back to top |
|
 |
wswartzendruber Guru


Joined: 22 Mar 2004 Posts: 377 Location: Camp Lejeune, NC
|
Posted: Sat Jun 21, 2008 12:16 am Post subject: |
|
|
| kernelOfTruth wrote: | | poly_poly-man wrote: | | wswartzendruber wrote: | Intel states that the Atom is ISA compliant with the Merom:
| Code: | | CFLAGS="-march=core2 -Os -fomit-frame-pointer -pipe" |
But that's only if you're using GCC 4.3. |
correct....
however, if:
gcc < 4.2.0, 32-bit: prescott
gcc < 4.2.0, 64-bit: nocona
gcc >= 4.2.0: native
no kidding, I just found out about march=native....I'm switching to that now
poly-p man |
++
use -march=native, don't use -march=core2 since it breaks several apps like xorg-server, ... (at least for me + hardened) |
Is not march=native just going to determine that you're running a Core 2? And I've never had any problems with march=core2, but I'm not running hardened. _________________ ThinkPad T400 7417-CTO
Core 2 Duo P8400 (3 MB L2, 1067 MHz FSB)
320 GB 7200 RPM HDD
2 GB PC8500 RAM (1067 MHz)
GMA 4500MHD / 1440x900
Intel Wi-Fi Link 5300AGN |
|
| Back to top |
|
 |
Jinidog Guru


Joined: 26 Nov 2003 Posts: 593 Location: Berlin
|
Posted: Sun Jun 29, 2008 12:12 pm Post subject: |
|
|
Well, -march=core2 should work, but is there any evidence that it is the fastest option?
The atom is a in-order CPU. Every CPU since the Pentium-Pro was a Out-Of-Order CPU.
Somebody could do some benchmarks. I would try -march=i586 together mit the -msse -msse2 -msse3 flags. _________________ Just unused Microsoft-Software is good Microsoft-Software |
|
| Back to top |
|
 |
m0w1337 n00b

Joined: 09 Jul 2008 Posts: 1
|
Posted: Wed Jul 09, 2008 3:40 pm Post subject: |
|
|
Hi!
I just bought the same mainboard with the Atom on it and wondered, if you already found the right settings for this CPU to run good.
I would be very happy about an answer, because this is going to be my first attempt to install a gentoo linux, so i need every hint i can get
Thanks
m0 |
|
| Back to top |
|
 |
Cyker l33t

Joined: 15 Jun 2006 Posts: 964
|
Posted: Thu Jul 10, 2008 1:24 pm Post subject: |
|
|
At the moment, there is no optimisation support for the Atom.
It's a bit tricky, but I'd guess that Pentium MMX with all the SSE flags would be the most efficient setup at the moment... |
|
| Back to top |
|
 |
|