Two processor & linux

V13 v13 at priest.com
Sun Sep 21 12:04:36 EEST 2003


On Sunday 21 September 2003 13:54, Dimitris Stasinopoulos wrote:
> opos tha perimenan polloi. Endeiktiko einai oti me aplo make, kai xoris
> tipota allo na troei simantiki CPU, ena project mou thelei 21s gia na ginei
> compiled. Me -j 3 peftei peripou sta 12. Opote nai, gia mena pou kano kamia
> 100sti compiles tin mera (kai ligo leo), einai simantiki diafora.

Gia megali diafora sta compile times dokimase:
export CFLAGS="-O2 -g0 -fomit-frame-pointer"
export CXXFLAGS="-O2 -g0 -fomit-frame-pointer"

to g0 einai poy kanei th doyleia, to O2 einai to default to opoio tha xaseis 
an baleis apla ta dika soy C[XX]FLAGS kai to -fomit-frame-pointer tha soy 
dosei kapoio speedup sto apotelesma mias kai den tha proorizeis to programma 
soy gia debugging.

Se ena aplo programma 54 grammon (poy xrisimopoiei qt):
me -g pire: user    0m11.160s
me -g0 pire: user    0m10.348s

H diafora se kanonika progs einai arketa megalyteri apo to to 8.5% poy 
emfanizetai edo.

> Dimitris
<<V13>>




More information about the Linux-greek-users mailing list