View previous topic :: View next topic |
Author |
Message |
stpierre1982 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 25 Aug 2005 Posts: 47
|
Posted: Thu Dec 07, 2006 12:13 pm Post subject: [INSTALL]Processeur intel E6600 Core II duo |
|
|
Hello, je viens d'acheter un nouveau pc avec comme µP un intel E6600 Core II duo (64 bits)
Je sais que la question vais vraiment parraître stupide (certains diront meme "il n'y a pas de question stupide, il n'y a que des gens stupides") mais j'amerai savoir quel type d'installe je doit utiliser???
x86 ou AMD64???
d'avance, merci |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Tuxicomane Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Nov 2006 Posts: 290 Location: Val-de-Marne, FRANCE
|
Posted: Thu Dec 07, 2006 12:27 pm Post subject: |
|
|
Salut,
Ben c'est un intel donc x86 non ? ![Surprised :o](images/smiles/icon_surprised.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Mickael Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/203102811045d98d1102042.png)
Joined: 05 Sep 2005 Posts: 2387 Location: ~Belfort! - France - EU
|
Posted: Thu Dec 07, 2006 12:31 pm Post subject: |
|
|
C'est pas si évident,
https://forums.gentoo.org/viewtopic-t-481268-start-0.html
Réponse très courte, désolé mais je suis entrain lire le post.
EDIT : en cours,
Alors des infos pour les flags gcc :
Quote: | nocona
Improved version of Intel Pentium4 CPU with 64-bit extensions, MMX, SSE, SSE2 and SSE3 instruction set support.
et plein d'autres infos!!! |
Un autre lien sur la partie amd64 du forum :[SOLVED] Core2Duo : or x86
Pout ton CHOST c'est : "x86_64-pc-linux-gnu"
Pour le stage3, d'après ce que j'ai pu lire, la différence va se faire au moment de la compilation. Puisque les versions amd et intel du 64 bits ne sont pas complètement compatibles, tout va ce jouer au niveau du cflags. Cflag -march=nocona (mais je suis pas sur pour le nom nocona) pour les EM64T. Donc tu peux récupérer l'archive stage3 amd64.
Comme le souligne El_goretto, si tu choisi une installation 32 bits, la question de ne se pose même pas, i686 etc. Mais il serait dommage de se priver du mieux non?
P'tain je suis entrain de me farcir la mailing liste de gcc et vous savez quoi : je sais même pas si prescott est véritablement le bon nom à donné pour le mien. En ce qui te concerne il semblerait que pour toi comme pour moi que l'on soit dans le brouillard
Quote: | Grigory Zagorodnev wrote:
> Tim Prince wrote:
>> Martin Alm wrote:
>>> (T5600). As I understand -march=merom is comming in 4.3. But we are
>>> not there yet, I'm going to use 4.1 and I want to know what flags are
>>> recommended?
>>>
>> -march=nocona which 4.2 would select for you, is probably as good as
>> you can do.
>>
> For 4.2 the better choice is -mtune=generic, which is actually default.
> Same you can get with 4.1 compiler in RH FC5.
>
> For regular 4.1 you can try either -mtune=nocona or -mtune=ppro.
We've been debating this recently and I'd like to see what others think.
With 4.1, would it be better to use -m(arch|tune)=prescott or
-march=pentium-m for Core Duo (Yonah) in a 32bit userland? Core Duo 2
(Merom)? Would -march=pentium-m -msse3 be a better choice?
In a 64bit world, how does -march=nocona compare to something like
-march=pentium-m -msse3 -m64 (which i think is a little sketchy)?
Thanks,
--de. |
_________________ À LIRE : COMMENT POSTER ET OBTENIR DE L'AIDE ?
Qui suis-je ? Bon j'ai relu, comme d'habitude, je suis bon a rien le vendredi
Qui suis-je ? Je ne serai jamais modo
Last edited by Mickael on Thu Dec 07, 2006 1:22 pm; edited 6 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
El_Goretto Moderator
![Moderator Moderator](/images/ranks/rank-mod.gif)
![](images/avatars/74235356747da926429d8b.jpg)
Joined: 29 May 2004 Posts: 3171 Location: Paris
|
Posted: Thu Dec 07, 2006 12:45 pm Post subject: |
|
|
Sûrement qu'une recherche aurait déjà répondu à ta question.
J'en suis même sûr, car j'ai posté un liens sur un article il y a quelques mois, qui parlait de comparer une gentoo 32 et 64 bits sur ce CPU.
Bref, les 2 sont possibles. Cf le débat 32/64 bits en post-it pour faire ton choix. _________________ -TrueNAS & jails: µ-serv Gen8 E3-1260L, 16Go ECC + µ-serv N40L, 10Go ECC
-Réseau: APU2C4 (OpenWRT) + GS726Tv3 + 2x GS108Tv2 + Archer C5v1 (OpenWRT) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Mickael Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/203102811045d98d1102042.png)
Joined: 05 Sep 2005 Posts: 2387 Location: ~Belfort! - France - EU
|
Posted: Thu Dec 07, 2006 1:29 pm Post subject: |
|
|
Bon pour info, pour tous ceux et cells qui possèdent un core 2 duo prescott : c'est du pipo, nocona c'est pas avant la version 4.3 de gcc d'où :
Quote: |
>Martin Alm wrote:
>
> Hi
>
> I'm picking up my new laptop on friday, and it's a Core 2 Duo "Merom"
> (T5600). As I understand -march=merom is comming in 4.3. But we are
> not there yet, I'm going to use 4.1 and I want to know what flags are
> recommended?
-march=nocona which 4.2 would select for you, is probably as good as you can do.
|
Je suis perdu.
Merci Alexis pour le lien : Tout ce qui j'ai pu lire dans la mailing liste de gcc est résumé ici (vivement gcc 4.2) :
http://psykil.livejournal.com/300856.html _________________ À LIRE : COMMENT POSTER ET OBTENIR DE L'AIDE ?
Qui suis-je ? Bon j'ai relu, comme d'habitude, je suis bon a rien le vendredi
Qui suis-je ? Je ne serai jamais modo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kopp Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/134104650145d8aeb7e9db3.gif)
Joined: 09 Apr 2004 Posts: 2885 Location: Grenoble, France
|
Posted: Thu Dec 07, 2006 1:45 pm Post subject: |
|
|
Hum, si je comprends bien, il faut utilise -march=nocona uniquement si on compte l'utiliser en 64bits, non ?
Personnellement, j'ai mis pentium-m pour du 32 bits. Parait que c'est pas bon d'après geekounet, mais pour ce que ça change... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Mickael Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/203102811045d98d1102042.png)
Joined: 05 Sep 2005 Posts: 2387 Location: ~Belfort! - France - EU
|
Posted: Thu Dec 07, 2006 1:46 pm Post subject: |
|
|
Le résumé :
Quote: |
So, final answer. If you're using GCC 4.1, use -march=prescott for Intel Core Solo/Duo and -march=nocona (and an amd64 profile) for Core 2 Solo/Duo. For GCC 4.2, a Core Solo/Duo should use -march=prescott -mtune=generic, and Core 2 Solo/Duo should be set to -march=nocona -mtune=generic. GCC trunk adds -march=core2 and support for the SSSE3 instruction set, but that won't be out for quite a while yet.
If you do happen to be using GCC 4.2, check out the very cool -march=native, which will autodetect the host processor(s) and set -march and -mtune accordingly. For Core CPU's you'll also need the patch from GCC PR #30040.
|
EDIT : Bonne lecture :
http://developer.intel.com/design/processor/manuals/248966.pdf _________________ À LIRE : COMMENT POSTER ET OBTENIR DE L'AIDE ?
Qui suis-je ? Bon j'ai relu, comme d'habitude, je suis bon a rien le vendredi
Qui suis-je ? Je ne serai jamais modo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xaviermiller Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/18949772545903151f2312b.jpg)
Joined: 23 Jul 2004 Posts: 8711 Location: ~Brussels - Belgique
|
Posted: Thu Dec 07, 2006 2:18 pm Post subject: |
|
|
kopp wrote: | Hum, si je comprends bien, il faut utilise -march=nocona uniquement si on compte l'utiliser en 64bits, non ?
Personnellement, j'ai mis pentium-m pour du 32 bits. Parait que c'est pas bon d'après geekounet, mais pour ce que ça change... |
Non, car j'ai un AMD64 et même en 32 bits, je mets "-march=k8". l'Arch, c'est un "hint" pour le compilateur, mais s'il est en 32 bits, il restera en 32 bits ![Wink ;)](images/smiles/icon_wink.gif) _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kopp Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/134104650145d8aeb7e9db3.gif)
Joined: 09 Apr 2004 Posts: 2885 Location: Grenoble, France
|
Posted: Thu Dec 07, 2006 2:21 pm Post subject: |
|
|
ah tiens je ne savais pas ça.... bon tant pis, j'attendrais que merom arrive. J'ai pas envie de me faire un emerge -e world (pas que ce soit bien long avec ce proc, mais bon ) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Magic Banana Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/704839447483ac5d977b67.jpg)
Joined: 13 Dec 2005 Posts: 1912 Location: Belo Horizonte, Minas Gerais, Brasil
|
Posted: Thu Dec 07, 2006 2:25 pm Post subject: |
|
|
Safe Cflags wrote: | Intel Core 2 Solo/Duo (Allendale, Conroe, Merom)
64 bit
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
CXXFLAGS="${CFLAGS}"
Note: As of GCC 4.1.1, there are rumors that specifying 'nocona' for '-march' may degrade performance: forums.gentoo.org thread on subject
Bear in mind that all Core 2 Duo are dual-core CPUs so you can use MAKEOPTS="-j3" in your make.conf. This doesn't affect the code but might reduce compile times.
Note: As of GCC 4.2, you can set -march to "core2". This also enables the SSSE3 instruction set, also new in 4.2. |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Mickael Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/203102811045d98d1102042.png)
Joined: 05 Sep 2005 Posts: 2387 Location: ~Belfort! - France - EU
|
Posted: Thu Dec 07, 2006 2:30 pm Post subject: |
|
|
pour le march=core2, je crois bien (d'après ce que j'ai lu toujours) que ce sera pour la version 4.3
http://www.gnu.org/software/gcc/gcc-4.3/changes.html
Quote: | GCC 4.3 Release Series
Changes, New Features, and Fixes
...
......
........
New Targets and Target Specific Improvements
IA-32/x86-64
* Tuning for Intel Core 2 processors is available via -mtune=core2 and -march=core2.
* Tuning for AMD Geode processors is available via -mtune=geode and -march=geode
|
_________________ À LIRE : COMMENT POSTER ET OBTENIR DE L'AIDE ?
Qui suis-je ? Bon j'ai relu, comme d'habitude, je suis bon a rien le vendredi
Qui suis-je ? Je ne serai jamais modo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|