[<prev] [next>] [day] [month] [year] [list]
Message-ID: <8628FE4E7912BF47A96AE7DD7BAC0AADCB259D8717@SJEXCHCCR02.corp.ad.broadcom.com>
Date:	Thu, 25 Jun 2009 11:07:18 -0700
From:	"Leo (Hao) Chen" <leochen@...adcom.com>
To:	"Linux Kernel" <linux-kernel@...r.kernel.org>,
	"linux-arm@...ts.arm.linux.org.uk" <linux-arm@...ts.arm.linux.org.uk>,
	"linux-arm-kernel@...ts.arm.linux.org.uk" 
	<linux-arm-kernel@...ts.arm.linux.org.uk>
Subject: BogoMIPS drops to 2/3 when CONFIG_MODULES is not set for an
 ARMv6 SoC platform
Hi,
I encountered an interesting problem when I was porting the latest Linux kernel to our ARM11 based SoC.
I turned off the CONFIG_MODULES configuration option and the BogoMIPS drop to only 2/3 of the original number.
With the same kernel source code, when CONFIG_MODULES is turned on.
-----------------------
# cat /proc/cpuinfo 
Processor       : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS        : 499.71
Features        : swp half thumb fastmult edsp java 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xb76
CPU revision    : 7
when CONFIG_MODULES is turned off.
# cat /proc/cpuinfo 
Processor       : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS        : 332.59
Features        : swp half thumb fastmult edsp java 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xb76
CPU revision    : 7
The only difference between my two builds is the CONFIG_MODULES option.
--- .config.old 2009-06-24 16:32:21.000000000 -0700
+++ .config     2009-06-25 10:59:26.000000000 -0700
@@ -100,12 +99,7 @@
 CONFIG_HAVE_GENERIC_DMA_COHERENT=y
 CONFIG_RT_MUTEXES=y
 CONFIG_BASE_SMALL=0
-CONFIG_MODULES=y
-# CONFIG_MODULE_FORCE_LOAD is not set
-CONFIG_MODULE_UNLOAD=y
-# CONFIG_MODULE_FORCE_UNLOAD is not set
-# CONFIG_MODVERSIONS is not set
-# CONFIG_MODULE_SRCVERSION_ALL is not set
+# CONFIG_MODULES is not set
 CONFIG_BLOCK=y
 CONFIG_LBDAF=y
 # CONFIG_BLK_DEV_BSG is not set
Both the 2.6.30 and 2.6.27.18 kernel present the same problem.
Does anyone notice this interesting problem?  If yes, what's the explanation?  Why the BogoMIPS drops so much with just one configuration option.
Thanks,
Leo Chen
Software Engineer
Broadcom Canada
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
