[OpenWrt-Devel] Toolchain issue: Significant decrease in performance of binaries produced by Barrier Breaker relative to Attitude Adjustment

Felix Fietkau nbd at openwrt.org
Sat Aug 30 15:33:31 EDT 2014

On 2014-08-30 21:27, Nikos Mavrogiannopoulos wrote:
> On Sat, 2014-08-30 at 20:10 +0200, Felix Fietkau wrote:
>> > This could be a problem caused by mips16. We use that in BB to create
>> > smaller binaries. but Jonas saw a performance problem in some
>> > applications, mostly stuff doing crypto (big integer calculations).
>> > Can you try to build the BB toolchain without the mips16 feature in
>> > target/linux/ar71xx/Makefile and try your application again.
>> There's no need to disable it for the target, since it can be disabled
>> for individual packages.
> So should all packages that contain performance critical code have that
> flag? 35% performance penalty is too high for such systems.
Some kinds of code may be more affected than others. For crypto code we
should definitely disable mips16, as it seems to be most affected.

- Felix
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list