[OpenWrt-Devel] [PATCH] kirkwood: change CRC32 implementation to CRC32_SLICEBY8

Richard Kunze richard.kunze at web.de
Sat Nov 29 17:37:38 EST 2014


At least on my Iomega ix2-200 system, this makes btrfs writes about 30% 
faster.

Signed-off-by: Richard Kunze <richard.kunze at web.de>
---
  target/linux/kirkwood/config-3.14 | 6 ++++--
  1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/target/linux/kirkwood/config-3.14 
b/target/linux/kirkwood/config-3.14
index 5d9c47c..4e5e929 100644
--- a/target/linux/kirkwood/config-3.14
+++ b/target/linux/kirkwood/config-3.14
@@ -56,18 +56,20 @@ CONFIG_CPU_PM=y
  CONFIG_CPU_TLB_FEROCEON=y
  CONFIG_CPU_USE_DOMAINS=y
  CONFIG_CRC16=y
+# CONFIG_CRC32_SARWATE is not set
+CONFIG_CRC32_SLICEBY8=y
  CONFIG_CRYPTO_CRC32C=y
  CONFIG_CRYPTO_DEFLATE=y
  CONFIG_CRYPTO_HASH=y
  CONFIG_CRYPTO_HASH2=y
  CONFIG_CRYPTO_LZO=y
  CONFIG_DEBUG_LL_INCLUDE="debug/8250.S"
-CONFIG_DEBUG_LL_UART_8250=y
+CONFIG_DEBUG_UART_8250=y
  # CONFIG_DEBUG_UART_8250_FLOW_CONTROL is not set
  CONFIG_DEBUG_UART_8250_SHIFT=2
  # CONFIG_DEBUG_UART_8250_WORD is not set
  CONFIG_DEBUG_UART_PHYS=0xf1012000
-# CONFIG_DEBUG_LL_UART_PL01X is not set
+# CONFIG_DEBUG_UART_PL01X is not set
  CONFIG_DEBUG_UART_VIRT=0xfed12000
  # CONFIG_DEBUG_USER is not set
  # CONFIG_DLCI is not set
-- 
1.9.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list