2008/1/14, Callum Lerwick <<a href="mailto:seg@haxxed.com">seg@haxxed.com</a>>:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>On Sat, 2008-01-12 at 18:51 +0100, drago01 wrote:<br>> 2008/1/12 Jakub 'Livio' Rusinek <<a href="mailto:jakub.rusinek@gmail.com">jakub.rusinek@gmail.com</a>>:<br>> > do we need to support legacy cpu's by i386 compilation?
<br>> > i586 would make fedora faster even 3 times.<br>> > difference is noticeable.<br>><br>> .....<br>> where are your benchmarks for the "3 times faster" claim?<br>> the i386 packages are already optimized for newer cpus (mtune vs. march)
<br>> where it makes sense to have i686 versions there are some (kernel, glibc)<br><br>Lets get some real numbers in here. For a quick and dirty benchmark I'm<br>using OpenJPEG's MJ2 tools, I encode the speedway example using
<br>"frames_to_mj2 -i Speedway.yuv -o Speedway.mj2 -I 1", then decode it.<br>I'm measuring the decode time. Tests were performed on a Mobile Celeron<br>1.3, which is P3 architecture.<br><br>Here it is with -march=i386 -mcpu=generic. That is, standard Fedora
<br>flags:<br><br>Total decoding time: 21.14 seconds (9.5 fps)<br><br>With -march=i586 -mcpu=generic:<br><br>Total decoding time: 21.26 seconds (9.4 fps)<br><br>And -march=i686 -mcpu=generic:<br><br>Total decoding time: 20.45
 seconds (9.8 fps)<br><br>So it is 0.54% *slower* when compiled for i586, which is unexpected and<br>strange, but such is gcc. I wouldn't expect much of a speed difference<br>compiling for i586, there was no major additions to the instruction set,
<br>and we're already scheduling for modern processors.<br><br>Not quite "three times" faster, but 3.26% faster with i686. A major<br>addition to the i686 architecture was cmov, and gcc is actually very<br>aggressive about eliminating branching using cmovs, increasing
<br>performance on modern deeply pipelined processors by eliminating<br>pipeline stalls.<br><br>And yes, cmov is technically optional, earlier VIA C3 processors, still<br>being sold, lack it. Completely dropping support for pre-i686 just isn't
<br>an option yet.<br><br>If Smolt is to be believed, i686 machines are 99.43% (!) of all x86<br>machines. (Though I don't know if those pesky C3's are being counted as<br>i686 or i586 or what...) I think its safe to say the vast majority of
<br>x86 systems out there have cmov, and are suffering with reduced<br>performance in order to cater to a minority of systems.<br><br>I suggest all key performance critical packages be made available in<br>both i386 and i686 versions. glibc and openssl already do this. Off the
<br>top of my head, this would include Mesa, I know for a fact the majority<br>of Second Life runtime is actually consumed by T&L inside Mesa/DRI. From<br>what I understand, even Intel's latest chipsets lack hardware T&L. Makes
<br>sense, it helps sell more multi-core Intel processors, and probably<br>helps consolidate power management.<br><br>Also, all multimedia codecs. Old sub-Ghz machines have a lot of trouble<br>playing the MPEG4 video that is common these days, and MythTV could use
<br>all the help it can get. Not that the MPEG4 codecs are in Fedora<br>itself...<br><br>Not that any of this has anything to do with the "firefox startup is<br>slow" complaint that this thread has devolved into.
<br><br>--<br>fedora-devel-list mailing list<br><a href="mailto:fedora-devel-list@redhat.com">fedora-devel-list@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/fedora-devel-list">https://www.redhat.com/mailman/listinfo/fedora-devel-list
</a><br><br></blockquote></div><br>I have no idea, why Firefox 3 starts in Fedora so long and scrolls in smooth mode so long (with hanging for a while). Maybe it's Mesa compilation issue. Xorg? I don't know.<br><br>
I can only say that I want Fedora to be stable as rock, powerful and beautiful.<br>No matter how we can do it.<br><br>I sad my words few times and did nothing, it's true, but it's because I didn't know what I could really do.
<br><br>About compilation: preloading is probably making everything in openSUSE load faster, but how to implement this in Fedora? I'll invesigate where's their SVN/CVS/GIT/MNT/etc.<br clear="all"><br>-- <br>Jakub 'Livio' Rusinek
<br><a href="http://liviopl.jogger.pl/">http://liviopl.jogger.pl/</a>