SuSE 8.1

Άγγελος Οικονομόπουλος aoiko at cc.ece.ntua.gr
Wed Nov 6 21:42:03 EET 2002


On Wednesday 06 November 2002 20:05, DJ Art wrote:
[snip]
> προσπάθησα να κάνω optimize έναν πυρήνα με τα εξής options:
> 
> -O9 -funroll-loops -ffast-math -malign-double -mcpu=pentiumpro 
> -march=pentiumpro -fomit-frame-pointer -fno-exceptions
> 
> για Pentium 3 εννοείται.

giati -O9 kai -funroll-loops? gia na xalas thn cache? (btw, gia opoion 8elei 
na pai3ei me ta -O, to -Os mporei na einai pio apodotiko)
giati -malign-double? gia na psaxnei o assembler code ta structure fields se 
padding bytes? (den eimai sigouros oti 8a ginei kati tetoio, alla eimai 
sigouros pws oute esu exeis idea, an bebaia h skepsh sou perase apo to 
mualo)
giati skata na baleis -mcpu kai -march ? to arch/i386/Makefile to exeis 
koita3ei pote?
-ffast-math ston phruna?!!! o phrunas den xrhsimopoiei thn fpu, para mono se 
liges polu kala marked perioxes pou kanoun kati *polu* sugkekrimeno, 
sunh8ws se assembly. exeis anoi3ei pote thn info tou gcc na deis ti 
energopoiei to -ffast-math?
epishs, eisai sigouros oti den exeis epile3ei *kanena* config option pou na 
apaitei frame pointer?

> Υπάρχει τρόπος να γίνει σωστά (=να δουλεύει ο πυρήνας) όλη αυτή η 
> διαδικασία ???

8es na baleis options gia pragmata pou den katalabaineis, gia na kaneis ton 
phruna sou na trexei pio grhgora. kai pisteueis oti mporeis na  kaneis 
kalutero optimization tou phruna apo ton avdv, ton dave jones, ton molnar 
kai ton torvalds. h mhpws nomizeis oti o torvalds den 8elei o phrunas tou 
na trexei grhgora kai afhnei ape3w optimization options gia na exoun na 
paizoun oi ma8hteuomenoi magoi[0]?

[0] basika afhnei, alla den einai ola auta pou ebales esu :-)

-- 
Use the good features of a language; avoid the bad ones.
            - The Elements of Programming Style (Kernighan & Plaugher)




More information about the Linux-greek-users mailing list