diff options
author | LEROY Christophe <christophe.leroy@c-s.fr> | 2013-11-22 12:28:29 -0500 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-01-07 20:11:20 -0500 |
commit | 189046981b0bb122cba1d1e559bbd69d0b128cb5 (patch) | |
tree | 96ff4036ede482cf31bc6e524716f06dcf38f9ef /arch/powerpc | |
parent | 8a6be2bdb608dec6b988d2b9a875a88f8b684bfb (diff) |
powerpc 8xx: defconfig: slice by 4 is more efficient than the default slice by 8 on Powerpc 8xx.
On PPC_8xx, CRC32_SLICEBY4 is more efficient (almost twice) than CRC32_SLICEBY8,
as shown below:
With CRC32_SLICEBY8:
[ 1.109204] crc32: CRC_LE_BITS = 64, CRC_BE BITS = 64
[ 1.114401] crc32: self tests passed, processed 225944 bytes in 15118910 nsec
[ 1.130655] crc32c: CRC_LE_BITS = 64
[ 1.134235] crc32c: self tests passed, processed 225944 bytes in 4479879 nsec
With CRC32_SLICEBY4:
[ 1.097129] crc32: CRC_LE_BITS = 32, CRC_BE BITS = 32
[ 1.101878] crc32: self tests passed, processed 225944 bytes in 8616242 nsec
[ 1.116298] crc32c: CRC_LE_BITS = 32
[ 1.119607] crc32c: self tests passed, processed 225944 bytes in 3289576 nsec
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/configs/adder875_defconfig | 1 | ||||
-rw-r--r-- | arch/powerpc/configs/ep88xc_defconfig | 1 | ||||
-rw-r--r-- | arch/powerpc/configs/mpc866_ads_defconfig | 1 | ||||
-rw-r--r-- | arch/powerpc/configs/mpc885_ads_defconfig | 1 | ||||
-rw-r--r-- | arch/powerpc/configs/tqm8xx_defconfig | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/configs/adder875_defconfig b/arch/powerpc/configs/adder875_defconfig index 69128740c14d..15b1ff5d96e7 100644 --- a/arch/powerpc/configs/adder875_defconfig +++ b/arch/powerpc/configs/adder875_defconfig | |||
@@ -70,3 +70,4 @@ CONFIG_DEBUG_KERNEL=y | |||
70 | CONFIG_DETECT_HUNG_TASK=y | 70 | CONFIG_DETECT_HUNG_TASK=y |
71 | CONFIG_DEBUG_INFO=y | 71 | CONFIG_DEBUG_INFO=y |
72 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 72 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
73 | CONFIG_CRC32_SLICEBY4=y | ||
diff --git a/arch/powerpc/configs/ep88xc_defconfig b/arch/powerpc/configs/ep88xc_defconfig index 219fd470ed22..b8a79d7ee89f 100644 --- a/arch/powerpc/configs/ep88xc_defconfig +++ b/arch/powerpc/configs/ep88xc_defconfig | |||
@@ -72,3 +72,4 @@ CONFIG_DEBUG_KERNEL=y | |||
72 | CONFIG_DETECT_HUNG_TASK=y | 72 | CONFIG_DETECT_HUNG_TASK=y |
73 | CONFIG_DEBUG_INFO=y | 73 | CONFIG_DEBUG_INFO=y |
74 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 74 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
75 | CONFIG_CRC32_SLICEBY4=y | ||
diff --git a/arch/powerpc/configs/mpc866_ads_defconfig b/arch/powerpc/configs/mpc866_ads_defconfig index 5c258823e694..d954e80c286a 100644 --- a/arch/powerpc/configs/mpc866_ads_defconfig +++ b/arch/powerpc/configs/mpc866_ads_defconfig | |||
@@ -55,3 +55,4 @@ CONFIG_PARTITION_ADVANCED=y | |||
55 | CONFIG_CRC_CCITT=y | 55 | CONFIG_CRC_CCITT=y |
56 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 56 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
57 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | 57 | # CONFIG_CRYPTO_ANSI_CPRNG is not set |
58 | CONFIG_CRC32_SLICEBY4=y | ||
diff --git a/arch/powerpc/configs/mpc885_ads_defconfig b/arch/powerpc/configs/mpc885_ads_defconfig index 9e146cdf63de..3f47d00a10c0 100644 --- a/arch/powerpc/configs/mpc885_ads_defconfig +++ b/arch/powerpc/configs/mpc885_ads_defconfig | |||
@@ -78,3 +78,4 @@ CONFIG_DEBUG_KERNEL=y | |||
78 | CONFIG_DETECT_HUNG_TASK=y | 78 | CONFIG_DETECT_HUNG_TASK=y |
79 | CONFIG_DEBUG_INFO=y | 79 | CONFIG_DEBUG_INFO=y |
80 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 80 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
81 | CONFIG_CRC32_SLICEBY4=y | ||
diff --git a/arch/powerpc/configs/tqm8xx_defconfig b/arch/powerpc/configs/tqm8xx_defconfig index 8616fde0896f..4b6f8bf104e0 100644 --- a/arch/powerpc/configs/tqm8xx_defconfig +++ b/arch/powerpc/configs/tqm8xx_defconfig | |||
@@ -84,3 +84,4 @@ CONFIG_DEBUG_KERNEL=y | |||
84 | CONFIG_DETECT_HUNG_TASK=y | 84 | CONFIG_DETECT_HUNG_TASK=y |
85 | CONFIG_DEBUG_INFO=y | 85 | CONFIG_DEBUG_INFO=y |
86 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 86 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
87 | CONFIG_CRC32_SLICEBY4=y | ||