This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Double the speed of ct-ng with CONFIG_SHELL=/bin/ash


>  This gives an improvement in speed of about 6% here:
>   CONFIG_SHELL not set:         26'47.81"
>   CONFIG_SHELL set to /bin/ash: 25'11.60"

Strange. What's your box?
My measurements were on a 2x2GHz 32-bit AMD under Debian etch with 1GB
RAM (so hard disk speed was not an issue - everything was in cache)
using -j3 and with
/bin/sh -> bash (so the login shell and $SHELL were /bin/bash)
CONFIG_SHELL=/bin/ash ./ct-ng build

I was seeing 50% system time and 50% user time, and guessed what the
bottleneck was from the accounting logs: a million executions of sh
(though process accounting was off during the speed tests)

    M

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]