[PATCH RFT] ramips: use -fno-reorder-blocks for kernel compilation

Arınç ÜNAL arinc.unal at arinc9.com
Wed Jun 29 03:52:29 PDT 2022


On 29.06.2022 12:18, Arınç ÜNAL wrote:
> On 20.06.2022 23:24, Rafał Miłecki wrote:
>> From: Rafał Miłecki <rafal at milecki.pl>
>>
>> It seems to affect (improve) NAT masquarade performance on ramips. This
>> is SoC family specific (that flag worsens Broadcom Northstar NAT speeds)
>> so it can't be applied to all devices.
> 
> I have tested the NAT and routing performance on the current master 
> snapshot for Unielec U7621-06 which is from the ramips target. I don’t 
> see this issue to be related to NAT as it performs very similar to just 
> routing.
> 
> https://github.com/openwrt/openwrt/issues/8778#issuecomment-1168772894
> 
> I will do another test with this patch to see if it performs better.
> 
> Arınç

Here're the test results with the -fno-reorder-blocks CFLAG.

https://github.com/openwrt/openwrt/issues/8778#issuecomment-1169833326

Arınç



More information about the openwrt-devel mailing list