From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9701012051.AA09887@halfpint.rtp.avanticorp.com> Date: Wed, 1 Jan 1997 15:51:32 -0500 (EST) From: Jim Nance Subject: Re: Your UDB Questions (new) In-Reply-To: <199701011646.JAA19656@ellpspace.math.ualberta.ca> > > gcc: > > 43.239u 3.444s 1:02.81 74.3% 1+21k 289+1744io 81pf+0w > ^^^^^^^^^^^ > > cc: > > 21.356u 1.841s 0:26.18 88.5% 0+56k 1+351io 1pf+0w > Hm, these numbers are highly significant, especially if you have > a slower controller/disk combo. Your disk speed will affect > timings to a great degree. I wonder why so many page faults > with gcc and so much of IO. gcc is known to eat any amount of > memory in its optimizer :-), but these look high. OK, I should have been more explicit. The these numbers come from running the command: time make and time make 'CC=cc -std1 -newc' With the gnuplot-3.5 source and an empty autoconfg file. I ran each test twice, and included both sets of numbers. The one you are refering to was the first run so the caches were cold. The line right under it was the next run which should have warm caches, and these numbers are lower. I don't have my original post in front of me, but I think that it only ran 4 seconds faster the second time. > Were these tests run on a similarly loaded machine? Multiple > times (caching may affect results)? Did you try to use --pipe > option with gcc? Does it has any effect? How cc reacts if you > try deeper optimizations with it ('-O3 -tune host', say)? Yes, they were both run on the same machine in the same directory. Its running Digital Unix 4.0, 384 MB ram, fast/wide SCSI, 500 MHz processor. I was the only person on the machine. Unfortunatly I am using the Digital Unix assembler so I can't use -pipe. Here are some more results, all with warm caches: time make (defaults to gcc -O2): 43.898u 3.504s 0:58.88 80.4% 1+21k 239+1752io 0pf+0w 43.913u 3.531s 1:03.62 74.5% 1+21k 247+1767io 0pf+0w time make CC=cc CFLAGS='-std1 -newc -O3 -tune host': 21.221u 2.007s 0:29.05 79.9% 0+56k 192+364io 0pf+0w 21.192u 2.012s 0:29.15 79.5% 0+56k 192+364io 0pf+0w time make CC=gcc CFLAGS='': 19.194u 3.801s 0:37.21 61.7% 1+15k 219+2180io 0pf+0w 19.148u 3.815s 0:35.92 63.8% 1+15k 229+2179io 0pf+0w time make CC=cc CFLAGS='-std1 -newc -O0': 11.483u 1.973s 0:18.75 71.7% 0+44k 221+424io 0pf+0w 11.384u 2.047s 0:17.37 77.2% 0+44k 196+406io 0pf+0w I wish I had some suggestions for making gcc better. Unfortunatly all I can do is provide information. Let me know if you want me to time anything else. Jim -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com