Gentoo Forums
Gentoo Forums
Quick Search: in
CFlags for Intel Atom?
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
pyther
n00b
n00b


Joined: 12 Jun 2008
Posts: 4

PostPosted: Thu Jun 12, 2008 6:15 pm    Post subject: CFlags for Intel Atom? Reply with quote

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
View user's profile Send private message
poly_poly-man
Veteran
Veteran


Joined: 06 Dec 2006
Posts: 1185
Location: where the heat meets the humidity...

PostPosted: Thu Jun 12, 2008 6:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
pyther
n00b
n00b


Joined: 12 Jun 2008
Posts: 4

PostPosted: Thu Jun 12, 2008 7:06 pm    Post subject: Reply with quote

My bad I made a huge type the motherboard is Intel D945GCLF and it does have a atom processor.
Back to top
View user's profile Send private message
poly_poly-man
Veteran
Veteran


Joined: 06 Dec 2006
Posts: 1185
Location: where the heat meets the humidity...

PostPosted: Thu Jun 12, 2008 7:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
pyther
n00b
n00b


Joined: 12 Jun 2008
Posts: 4

PostPosted: Thu Jun 12, 2008 7:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
ergobill
n00b
n00b


Joined: 13 Jun 2008
Posts: 1
Location: Media, PA

PostPosted: Fri Jun 13, 2008 10:44 pm    Post subject: Intel Atom Reply with quote

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
View user's profile Send private message
Hun73r
n00b
n00b


Joined: 28 Jun 2004
Posts: 38

PostPosted: Sun Jun 15, 2008 7:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
crazycat
l33t
l33t


Joined: 26 Aug 2003
Posts: 831
Location: Hamburg, Germany

PostPosted: Tue Jun 17, 2008 8:19 am    Post subject: Reply with quote

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
View user's profile Send private message
tab21
n00b
n00b


Joined: 01 Aug 2006
Posts: 28

PostPosted: Tue Jun 17, 2008 11:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
pyther
n00b
n00b


Joined: 12 Jun 2008
Posts: 4

PostPosted: Thu Jun 19, 2008 9:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
wswartzendruber
Guru
Guru


Joined: 22 Mar 2004
Posts: 377
Location: Camp Lejeune, NC

PostPosted: Fri Jun 20, 2008 7:06 am    Post subject: Reply with quote

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
View user's profile Send private message
poly_poly-man
Veteran
Veteran


Joined: 06 Dec 2006
Posts: 1185
Location: where the heat meets the humidity...

PostPosted: Fri Jun 20, 2008 9:25 am    Post subject: Reply with quote

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 :D

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
View user's profile Send private message
kernelOfTruth
Veteran
Veteran


Joined: 20 Dec 2005
Posts: 2933
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Fri Jun 20, 2008 9:59 am    Post subject: Reply with quote

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 :D

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
View user's profile Send private message
wswartzendruber
Guru
Guru


Joined: 22 Mar 2004
Posts: 377
Location: Camp Lejeune, NC

PostPosted: Sat Jun 21, 2008 12:16 am    Post subject: Reply with quote

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 :D

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
View user's profile Send private message
Jinidog
Guru
Guru


Joined: 26 Nov 2003
Posts: 593
Location: Berlin

PostPosted: Sun Jun 29, 2008 12:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
m0w1337
n00b
n00b


Joined: 09 Jul 2008
Posts: 1

PostPosted: Wed Jul 09, 2008 3:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
Cyker
l33t
l33t


Joined: 15 Jun 2006
Posts: 964

PostPosted: Thu Jul 10, 2008 1:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum