Re: prelink performance gains

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux