Make.conf für Athlon 64 X2 Dual-Core

dot2

Well-Known Member
Hallo!

Laut Make.conf Datei kann ich für die AMD 64 folgende Optionen setzen
AMD64 architecture: opteron, athlon64, nocona, prescott, core2

Die CPU ist ein Athlon64 aber auch eine Dual Core :confused:

was soll ich für o.g. CPU eintragen und welche (CPU spezifische) einträge wären sonst noch zu empfehlen?

DANKE!
 
Last edited:
Meine sieht so aus mit einem Athlon64 X2:

[/CODE]
> cat /etc/make.conf
CPUTYPE?=k8
CFLAGS= -O2 -fno-strict-aliasing -msse3 -msse2 -msse -mmmx -pipe
COPTFLAGS= -O -pipe
[/CODE]


vllt kann man zu meiner auch noch seine Meinung abgeben...

EDIT: Is doch egal wie viele Cores du hast... das Programm rennt sowieso nur auf einem.

EDIT2: aus man make.conf:

Code:
     CPUTYPE       (str) Controls which processor should be targeted for gen-
                   erated code.  This controls processor-specific optimiza-
                   tions in certain code (currently only OpenSSL) as well as
                   modifying the value of CFLAGS and COPTFLAGS to contain the
                   appropriate optimization directive to gcc(1).  The auto-
                   matic setting of CFLAGS and COPTFLAGS may be overridden
                   using the NO_CPU_CFLAGS and NO_CPU_COPTFLAGS variables,
                   respectively.  Refer to /usr/share/examples/etc/make.conf
                   for a list of recognized CPUTYPE options.

aus /usr/share/examples/etc/make.conf:
Code:
#       (AMD CPUs)      opteron athlon64 athlon-mp athlon-xp athlon-4
#                       athlon-tbird athlon k8 k6-3 k6-2 k6 k5

Sonst einfach mal in /usr/share/mk/bsd.cpu.mk gucken.
 
Last edited:
@dot
Die Multicore AMD heißen Opteron.

@FreeBSDuser
Das sieht eher überflüssig aus
-msse3 -msse2 -msse -mmmx
wird alles vom CPUTYPE impliziert. Am besten die CFLAGS einfach auskommentieren.

Den Kernel weniger zu optimieren ergibt für mich auch keinen Sinn. Wenn du auf Platz sparen aus bist is -Os die richtige Optimierung. Die ist aber nicht offiziell unterstützt.
 
Also k8 ist bei FreeBSD 7 nicht als Option angegeben und Opteron ist die CPU die eigendlich wollte mir aber nicht geleistet habe. Ist nur eine Athlon 64 X2 (Dual Core)

Danke für die Antwort und sagt mir bitte wen CPUTYPE=athlon64 nicht optimal sein sollte.

PS: Bin wirklich gerne hier. Nette Leute und fast unbezahlbare informationen.:)
 
Last edited:
Ein Athlon X2 und ein Dualcore-Opteron sind die technisch die gleiche Grütze.
 
Ah, die COPTFLAGS hatte ich auf -O gesetzt weil der Kernel mal nich compilte, lag aber nich daran... :)

und letztendlich sind auch opteron und athlon64 das selbe:

Aus /usr/share/mk/bsd.cpu.mk:
Code:
elif ${CPUTYPE} == "opteron" || ${CPUTYPE} == "athlon64" ||  ${CPUTYPE} == "k8"
CPUTYPE = athlon-mp
 
Back
Top