BB: dropbear: restore performance by disabling mips16
authorJonas Gorski <[email protected]>
Thu, 21 Aug 2014 18:28:09 +0000 (18:28 +0000)
committerJonas Gorski <[email protected]>
Thu, 21 Aug 2014 18:28:09 +0000 (18:28 +0000)
Disable MIPS16 to prevent it negatively affecting performance.
Observed was a increase of connection delay from ~6 to ~11 seconds
and a reduction of scp speed from 1.1MB/s to 710kB/s on brcm63xx.

Fixes #15209.

Backport of r42250.

Signed-off-by: Jonas Gorski <[email protected]>
SVN-Revision: 42255

package/network/services/dropbear/Makefile

index b2bd8cc6050bc033ae4bf73cff767b10de30a9b4..8a2bc277b1ffe7826972cd53300ebcacf023827f 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=dropbear
 PKG_VERSION:=2014.63
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:= \
@@ -21,6 +21,7 @@ PKG_LICENSE:=MIT
 PKG_LICENSE_FILES:=LICENSE libtomcrypt/LICENSE libtommath/LICENSE
 
 PKG_BUILD_PARALLEL:=1
+PKG_USE_MIPS16:=0
 
 PKG_CONFIG_DEPENDS:=CONFIG_DROPBEAR_ECC