View previous topic :: View next topic |
Author |
Message |
ro Apprentice
Joined: 28 Mar 2003 Posts: 289
|
Posted: Sun Nov 20, 2005 6:55 pm Post subject: AMD64 vs. Centrino |
|
|
also ich hab hier ein schräges phänomen: ich hab ein notebook (amd64 3400+ mit 2200MHz und 1MB Cache) und ein Notebook mit nem Centrino (1733MHz, 2MB Cache). Beim Kompilieren ist das AMD64 NB schneller, aber ein emerge metadata dauert beim Centrino 10 Sekunden, beim AMD64 9 Minuten und 5 Sekunden!!! (Beide Systeme ganz neu, beides reiserfs). Woran liegt das? an der doppelten Menge Cache des Centrino wirds doch wohl nicht liegen, oder? (Beides UDMA100 Platten am UDMA133 controller). Wie kann ich das beschleunigen? _________________ Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. |
|
Back to top |
|
|
toskala Advocate
Joined: 14 Dec 2002 Posts: 2080 Location: hamburg, germany
|
Posted: Sun Nov 20, 2005 7:23 pm Post subject: |
|
|
was macht denn "emerge metadata"? was meinst du damit? dann kann ichs vielleicht verifzieren und nachvollziehen _________________ adopt an unanswered post
erst denken, dann posten |
|
Back to top |
|
|
ro Apprentice
Joined: 28 Mar 2003 Posts: 289
|
Posted: Sun Nov 20, 2005 10:07 pm Post subject: |
|
|
das dient zur neu-generierung des portage-caches. (wird bei "emerge sync" nach dem rsync ausgeführt) _________________ Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. |
|
Back to top |
|
|
toskala Advocate
Joined: 14 Dec 2002 Posts: 2080 Location: hamburg, germany
|
Posted: Sun Nov 20, 2005 10:58 pm Post subject: |
|
|
ah, hmm, also ich hab die erfahrung gemacht, dass das regenerating portage cache bei meinem centrino schneller ist als bei meinem p4 2,4ghz (warum auch immer) _________________ adopt an unanswered post
erst denken, dann posten |
|
Back to top |
|
|
energyman76b Advocate
Joined: 26 Mar 2003 Posts: 2048 Location: Germany
|
Posted: Sun Nov 20, 2005 11:16 pm Post subject: |
|
|
http://gentoo-wiki.com/TIP_speed_up_portage_with_cdb
dauert das immer nur noch Sekunden.
Was dein Problem angeht:
sind es identische Platten und Controller? Wohl nicht. Manche Platten kommen mit den vielen kleinen Files und Veränderungen besser klar als andere.
Ist identische Software mit identischen Flags installiert? Wahrscheinlich nicht, aber es erklärt vieles.
Und so weiter und so fort. _________________ Study finds stunning lack of racial, gender, and economic diversity among middle-class white males
I identify as a dirty penismensch. |
|
Back to top |
|
|
ro Apprentice
Joined: 28 Mar 2003 Posts: 289
|
Posted: Sun Nov 20, 2005 11:42 pm Post subject: |
|
|
naja, recht viel unterschied wirds nicht sein, da sich das System auf ner externen HD befand und die Benchmarks auf beiden Rechner bzgl. des Plattenzugriffs relativ gleich sind. _________________ Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9595 Location: beyond the rim
|
Posted: Mon Nov 21, 2005 2:39 pm Post subject: |
|
|
Beide Rechner haben den Portage Tree lokal vorliegen?
Selbe Portage Version?
Es war auf beiden Rechnern nicht der erste --sync / --metadata Aufruf? |
|
Back to top |
|
|
ro Apprentice
Joined: 28 Mar 2003 Posts: 289
|
Posted: Mon Nov 21, 2005 6:33 pm Post subject: |
|
|
ich hab ein system auf einer externen Festplatte, die über Firewire400 läuft.
ich war auf beiden rechnern in der chroot-Umgebung von der ext. Festplatte. _________________ Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. |
|
Back to top |
|
|
ro Apprentice
Joined: 28 Mar 2003 Posts: 289
|
Posted: Tue Nov 29, 2005 11:49 pm Post subject: |
|
|
haha, zur Lösung des Problems:
Ich hatte auf dem einen System neben Portage noch ein anderes Directory mit vielen kleinen Dateien (ca. 25.000). Seitdem ich dieses auf dvd gesichert habe bin ich mit meinem amd64 wieder flott unterwegs
edit: echt komisches phänomen, wird wohl mit der hashtable für freie inodes zu tun haben. naja, jedenfalls erledigt sich jetzt ein emerge sync wieder in ca. 8 Minuten, wobei "emerge metadata" ca. 10 Sekunden (statt über 9 Minuten!!!) braucht. _________________ Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. |
|
Back to top |
|
|
|