On 08/30/2014 06:54 PM, Felix Fietkau wrote:
> On 2014-08-30 18:45, Matthias Schiffer wrote:
>> On 08/30/2014 06:42 PM, Matthias Schiffer wrote:
>>> Hi,
>>> I've noticed that the code produced by Barrier Breaker's toolchain
>>> sometimes has significantly worse performance that that built by
>>> Attitude Adjustment.
>>>
>>> I can see this extremely with the VPN tool "fastd" developed and
>>> maintained by me: On the same Barrier Breaker system, a binary built by
>>> the default Barrier Breaker toolchain (GCC 4.8-linaro) gets about 35%
>>> less throughput than one built with Attitude Adjustment (GCC
>>> 4.6-linaro). With the 4.6-linaro toolchain of Barrier Breaker, I still
>>> get 20% worse performance than with the 4.6-linaro of Attitude Adjustment.
>>>
>>> Do you have any suggestions what I can do to solve or analyze the issue?
>>> Any compiler flags I should try fiddling with? Optimizing with -Os vs.
>>> -O3 doesn't seem to make a difference.
>>>
>>> Thanks,
>>> Matthias
>>>
>>
>> I forgot to tell that this is on ar71xx.
> Did you try disabling mips16 support for fastd?
> 
> PKG_USE_MIPS16:=0
> 
> - Felix
> 

That actually did the trick when applying it to the package nacl which
contains some of the crypto algorithms used by fastd :) I'll update nacl
with the option added.

Thanks,
Matthias

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to