[OpenWrt-Devel] nettle mips16 patch [was: Significant decrease in performance of binaries produced by Barrier Breaker relative to Attitude Adjustment]

Nikos Mavrogiannopoulos nmav at gnutls.org
Sat Aug 30 16:13:01 EDT 2014

On Sat, 2014-08-30 at 21:33 +0200, Felix Fietkau wrote:
> 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.

Then I guess, that patch should be applied on nettle.


More information about the openwrt-devel mailing list