Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Konfiguracja make.conf dla 2 procesorów
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
grabarz
n00b
n00b


Joined: 26 Dec 2012
Posts: 2

PostPosted: Wed Dec 26, 2012 12:41 pm    Post subject: Konfiguracja make.conf dla 2 procesorów Reply with quote

1. Mam mały problem nie wiem jak skonfigurować make.conf pod 2 procesory.

2. czy konfiguracja pod Intel Celeron P4600 (2x2Ghz, MMX, SSE(1,2,3,3s), EM64T, VT-x) wyglądała by tak ..???
>> CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="${CFLAGS}"

czy

CFLAGS="-O2 -march=native -pipe"
CXXFLAGS="${CFLAGS}"
Back to top
View user's profile Send private message
Chaos Engine
n00b
n00b


Joined: 13 Jun 2003
Posts: 33
Location: Poland

PostPosted: Wed Dec 26, 2012 4:54 pm    Post subject: Re: Konfiguracja make.conf dla 2 procesorów Reply with quote

grabarz wrote:
1. Mam mały problem nie wiem jak skonfigurować make.conf pod 2 procesory.

2. czy konfiguracja pod Intel Celeron P4600 (2x2Ghz, MMX, SSE(1,2,3,3s), EM64T, VT-x) wyglądała by tak ..???
>> CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="${CFLAGS}"

czy

CFLAGS="-O2 -march=native -pipe"
CXXFLAGS="${CFLAGS}"


Sądzę ze ta druga opcja. Poza tym warto zobaczyć co wygeneruje test flag kompilatora:

gcc -Q -c -v -march=native --help=target 1> native 2>/dev/null
gcc -Q -c -v -march=i686 --help=target 1> i686 2>/dev/null

a potem porownać $ diff core2 i686 i wybrać lepsze flagi.
Nowsze gcc i procesory lepiej się zachowują przy -march native od dłuższego czasu
_________________
In the beginning there was Chaos
Back to top
View user's profile Send private message
grabarz
n00b
n00b


Joined: 26 Dec 2012
Posts: 2

PostPosted: Thu Jan 03, 2013 3:07 pm    Post subject: Reply with quote

Dzięki ;]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
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