Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"-march=" i586 oder pentium-mmx ?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
ConiKost
Developer
Developer


Joined: 11 Jan 2005
Posts: 1371

PostPosted: Fri Feb 10, 2006 12:35 pm    Post subject: "-march=" i586 oder pentium-mmx ? Reply with quote

Hallo!
Ich habe seit gestern einen kleinen PC mit einem Geode GX1 300MHz Prozessor + 128MB RAM.

Jetzt meine Frage. Sollte ich mit -march=i586 oder -march=pentium-mmx optimieren ?
Sollte ich hier eine uClibc oder eine Glibc einsetzen? Eine 80GB HDD ist eingebaut!
Back to top
View user's profile Send private message
Jinidog
Guru
Guru


Joined: 26 Nov 2003
Posts: 593
Location: Berlin

PostPosted: Fri Feb 10, 2006 1:42 pm    Post subject: Reply with quote

Über den Prozessor weiß ich nichts. Ein cat /proc/cpuinfo sollte erste Infos bieten.

Für so wenig RAM (geht ja eigentlich, spaßig ist es erst mit <=32 MB) bietet sich uclibc an.
Die ist aber noch nicht ausgereift und hat keine feste ABI, sodass man für den Einsatz neuer uclibc Versionen auch gleich sein System neukompilieren muss.
Auch lassen sich manche Packete nicht für uclibc kompilieren, Closed-Source Zeug kannst du ganz vergessen.

Wenn du also nicht vor hast, jetzt öfter in #gentoo-embedded rumzuhängen solltest du die glibc nehmen.
_________________
Just unused Microsoft-Software is good Microsoft-Software
Back to top
View user's profile Send private message
ConiKost
Developer
Developer


Joined: 11 Jan 2005
Posts: 1371

PostPosted: Fri Feb 10, 2006 2:03 pm    Post subject: Reply with quote

Hi!
Hier meien Ausgabe von /proc/cpuinfo :

Code:

Metabox ~ # cat /proc/cpuinfo
processor       : 0
vendor_id       : CyrixInstead
cpu family      : 5
model           : 7
model name      : Cyrix MediaGXtm MMXtm Enhanced
stepping        : 4
cpu MHz         : 300.724
cache size      : 16 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu tsc msr cx8 cmov mmx cxmmx
bogomips        : 602.35


Tja, ich will mit diesem Rechner Apache2, MySQL, PHP5, MLDonkey,FTP und ab und zu Squid primär nutzen.
Bringt da uClibc was spürbar ?
Back to top
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2048
Location: Germany

PostPosted: Fri Feb 10, 2006 2:07 pm    Post subject: Reply with quote

Hi,

ja, denn das wird alles Probleme machen!

;)

hm, im kernel makefile steht dies:
# Geode GX1 support
cflags-$(CONFIG_MGEODEGX1) += -march=pentium-mmx

vielleicht sollte man dem Beispiel folgen?
_________________
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
Back to top
View user's profile Send private message
ConiKost
Developer
Developer


Joined: 11 Jan 2005
Posts: 1371

PostPosted: Fri Feb 10, 2006 2:14 pm    Post subject: Reply with quote

Hi,

>ja, denn das wird alles Probleme machen!
>;)

Also die glibc nehmen ?


>hm, im kernel makefile steht dies:
># Geode GX1 support
>cflags-$(CONFIG_MGEODEGX1) += -march=pentium-mmx
>vielleicht sollte man dem Beispiel folgen?

Ja, welche Kernel Version? Weil ich habe jetzt verschiedene Sachen mit Google gelesen:

1) -march=i586
2) -march=i486
3) -march=pentium-mmx
Back to top
View user's profile Send private message
ConiKost
Developer
Developer


Joined: 11 Jan 2005
Posts: 1371

PostPosted: Fri Feb 10, 2006 3:37 pm    Post subject: Reply with quote

Hi!

Bei mir steht im Makefile.cpu:

Code:

# Geode GX1 support
cflags-$(CONFIG_MGEODEGX1)              += $(call cc-option,-march=pentium-mmx,-march=i486)


Was nun? Warum stehen da 2 Optionen? Was ist die richtige?
Back to top
View user's profile Send private message
Jinidog
Guru
Guru


Joined: 26 Nov 2003
Posts: 593
Location: Berlin

PostPosted: Fri Feb 10, 2006 9:04 pm    Post subject: Reply with quote

Ist der Geode nicht ein aktueller Embedded-Prozessor von AMD?
_________________
Just unused Microsoft-Software is good Microsoft-Software
Back to top
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2048
Location: Germany

PostPosted: Fri Feb 10, 2006 11:07 pm    Post subject: Reply with quote

Hi,

2.6.16-rc1

nimm glibc

ulibc wäre interessant bei 32mb oder weniger.

und was die flags angeht: boote von einer livecd und compile ein kleines testprogramm einmal mit pentium-mmx und einmal mit 486.. und womit es schneller läuft (zwischendurch rebooten), das nimmst du dann
_________________
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
Back to top
View user's profile Send private message
ConiKost
Developer
Developer


Joined: 11 Jan 2005
Posts: 1371

PostPosted: Mon Feb 13, 2006 9:38 pm    Post subject: Reply with quote

Aha, ich habe "nur" den 2.6.15 ...

Mit welchen Programm sollte ich am besten Testen? Was würde hier Sinn machen ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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