Am 15.10.2013 23:35, schrieb drago01: > On Tue, Oct 15, 2013 at 10:27 PM, Reindl Harald <h.reindl@xxxxxxxxxxxxx> wrote: >> >> >> Am 15.10.2013 22:04, schrieb Florian Weimer: >>> On 10/15/2013 09:10 PM, Chris Adams wrote: >>>> Once upon a time, Jan Kratochvil <jan.kratochvil@xxxxxxxxxx> said: >>>>> It depends, for example in this case prelink saves 33% of time (and battery): >>>>> i=0;time while [ $i -lt 1000 ];do /usr/bin/gnome-open --help &>/dev/null;i=$[$i+1];done >>>> >>>> Do you really run "gnome-open --help" 1000 times per reasonable unit of >>>> time (or ever)? Please stop using bogus comparisons and highly >>>> contrived tests. They do nothing to help your argument. >>> >>> This isn't totally invalid. I assume that some shell scripts with tight loops are the only thing that actually >>> benefits from prelinking today. People write those, unfortunately. >> >> it is - they are *not* loading a lot of dynmaic linked libraries >> >> [harry@srv-rhsoft:~]$ ldd /usr/bin/bash >> linux-vdso.so.1 => (0x00007fffc9764000) >> libtinfo.so.5 => /lib64/libtinfo.so.5 (0x00007f99b21aa000) >> libdl.so.2 => /lib64/libdl.so.2 (0x00007f99b1fa6000) >> libc.so.6 => /lib64/libc.so.6 (0x00007f99b1be4000) >> /lib64/ld-linux-x86-64.so.2 (0x00007f99b23ee000) > > Yes because shell is a real programming language that does not have to > start tons of other binaries to do useful stuff ... oh wait most shell scripts are not many thousand lines and calls long the question of this thread is "are the performance gains worth" *no* they are *not worth* as long you can't measure them without get the same differences by starting a test often enough caused by the typical background noise of other processes as long as you need a idle system to measure performance gains they are not worth the wasted time and the big applications which in theory gain from it -> they are not started often enough and for the guy multiple times said "why use -O2 and not -O0": because there is a difference between *one time* optimization deployed to *all* users and things like prelink wasting time and ressources on the target machine - the latter is useless
Attachment:
signature.asc
Description: OpenPGP digital signature
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct