← Back to team overview

ac100 team mailing list archive

Re: Stability Under Load

 

On Sun, 21 Aug 2011 23:13:11 +0200, Julian Andres Klode <jak@xxxxxxxxxx> wrote:
On Sun, Aug 21, 2011 at 08:19:35PM +0200, Julian Andres Klode wrote:
On Sun, Aug 21, 2011 at 07:07:38PM +0100, Gordan Bobic wrote:
> On 08/21/2011 06:50 PM, Julian Andres Klode wrote:
> >On Sun, Aug 21, 2011 at 01:09:09PM +0100, Gordan Bobic wrote:
> >>On 08/21/2011 12:27 PM, Julian Andres Klode wrote:
> >>>On Sun, Aug 21, 2011 at 12:06:39PM +0100, Gordan Bobic wrote:
> >>I'm also curious how come my powertop is showing 1000MHz with no
> >>errors in the log when I set SM1 to 975mV.
> >Buggy powertop?
>
> Plausible, but /sys/devices/system/cpu/cpu?/cpufreq/cpuinfo_cur_freq
> also reports 1GHz.
Look at /sys/kernel/debug/clock/dvfs, it shows frequencies and
voltages, as scaled by DVFS and maybe attach it to your next
email.

> I'll have to test the speed to establish it for sure, but if what
> you are saying is true, then setting SM1 upper limit to 1200 should
> have no effect anyway, because upping the voltage limit without
> changing it in all the other places you list here won't cause the
> voltage to get as high as 1200 as per what is in the git tree. Is
> that right?
Indeed. While the regulator could scale that high, the DVFS code will
only call it to scale from 750 mV to 1100 mV. At least that's what I
get told by the code.

We now have some more sane regulator ranges in git:

	SM0:  725 - 1200 => 725 - 1300
	SM1:  725 - 1200 => 725 - 1125
	LDO2: 725 - 1200 => 725 - 1275

They now actually support the default voltage levels set by the DVFS.

OK, I'll pull in a new copy. I'm still wondering how come everything is saying that the CPU is running at 1GHz at 975mV vdd_cpu, though.

Furthermore, do you have have any of the following options set the
same as I [my options being those with +, Ubuntu options are those
with -].

I'll encode mine with # previx on the same lines below.

##
## file: arch/arm/Kconfig
##
CONFIG_CC_STACKPROTECTOR=[-y]{+n}(#y)
CONFIG_GENERIC_LOCKBREAK=[-y]{+n}(#n)

##
## file: block/Kconfig
##
CONFIG_BLK_DEV_BSG=[-n]{+y}(#y)
CONFIG_BLK_DEV_INTEGRITY=[-n]{+y}(#n)

##
## file: block/Kconfig.iosched
##
CONFIG_CFQ_GROUP_IOSCHED=[-n]{+y}(#n)
CONFIG_DEFAULT_CFQ=[-n]{+y}(#n)
CONFIG_DEFAULT_NOOP=[-y]{+n}(#n)
CONFIG_DEFAULT_DEADLINE=(#y)

##
## file: drivers/char/Kconfig
##
CONFIG_DEVKMEM=[-y]{+n}(#y)
CONFIG_DEVPTS_MULTIPLE_INSTANCES=[-n]{+y}(#n)
CONFIG_TTY_PRINTK=[-y]{+n}(#y)

##
## file: drivers/gpio/Kconfig
##
CONFIG_DEBUG_GPIO=[-y]{+n}(#n)
CONFIG_GPIO_SYSFS=[-y]{+n}(#y)

##
## file: drivers/hwmon/Kconfig
##
CONFIG_HWMON=[-m]{+y}(#m)
CONFIG_HWMON_DEBUG_CHIP=[-y]{+n}(#y)


##
## file: drivers/mmc/host/Kconfig
##
CONFIG_MMC_RICOH_MMC=[-n]{+y}(#n)

##
## file: drivers/regulator/Kconfig
##
CONFIG_REGULATOR_DEBUG=[-y]{+n}(#y)
CONFIG_REGULATOR_FIXED_VOLTAGE=[-y]{+m}(#y)

##
## file: drivers/scsi/Kconfig
##
CONFIG_BLK_DEV_SD=[-y]{+m}(#y)
CONFIG_BLK_DEV_SR_VENDOR=[-n]{+y}(#n)
CONFIG_SCSI=[-y]{+m}(#y)
CONFIG_SCSI_CONSTANTS=[-n]{+y}(#n)
CONFIG_SCSI_FC_TGT_ATTRS=[-n]{+y}(#n)
CONFIG_SCSI_LOGGING=[-n]{+y}(#n)
CONFIG_SCSI_MOD=[-y]{+m}(#y)
CONFIG_SCSI_NETLINK=[-n]{+y}(#n)
CONFIG_SCSI_PROC_FS=[-y]{+n}(#y)
CONFIG_SCSI_SRP_TGT_ATTRS=[-n]{+y}(#n)

##
## file: drivers/usb/core/Kconfig
##
CONFIG_USB_DYNAMIC_MINORS=[-n]{+y}(#n)

##
## file: drivers/usb/host/Kconfig
##
CONFIG_USB_EHCI_TT_NEWSCHED=[-n]{+y}(#n)

##
## file: init/Kconfig
##
CONFIG_BLK_CGROUP=[-n]{+y}(#m)
CONFIG_CGROUP_FREEZER=[-n]{+y}(#n)
CONFIG_CGROUP_MEM_RES_CTLR=[-y]{+n}(#y)
CONFIG_EMBEDDED=[-y]{+n}(#y)
CONFIG_EXPERT=[-y]{+n}(#y)
CONFIG_IKCONFIG=[-y]{+n}(#y)
CONFIG_IKCONFIG_PROC=[-y]{+n}(#y)
CONFIG_LOCK_KERNEL=[-y]{+n}(#y)
CONFIG_MM_OWNER=[-y]{+n}(#y)
CONFIG_MODULE_FORCE_LOAD=[-n]{+y}(#n)
CONFIG_MODULE_FORCE_UNLOAD=[-n]{+y}(#n)
CONFIG_MODULE_SRCVERSION_ALL=[-y]{+n}(#y)
CONFIG_MODVERSIONS=[-n]{+y}(#n)
CONFIG_PADATA=[-n]{+y}(#n)
CONFIG_PREEMPT_RCU=[-y]{+n}(#n)
CONFIG_RCU_FAST_NO_HZ=[-n]{+y}(#n)
CONFIG_RESOURCE_COUNTERS=[-y]{+n}(#y)
CONFIG_RT_GROUP_SCHED=[-y]{+n}(#y)
CONFIG_SCHED_AUTOGROUP=[-n]{+y}(#y)
CONFIG_TREE_PREEMPT_RCU=[-y]{+n}(#n)
CONFIG_TREE_RCU=[-n]{+y}(#y)
CONFIG_USER_NS=[-n]{+y}(#n)

##
## file: kernel/Kconfig.locks
##
CONFIG_INLINE_READ_UNLOCK=[-n]{+y}(#y)
CONFIG_INLINE_READ_UNLOCK_IRQ=[-n]{+y}(#y)
CONFIG_INLINE_SPIN_UNLOCK=[-n]{+y}(#y)
CONFIG_INLINE_SPIN_UNLOCK_IRQ=[-n]{+y}(#y)
CONFIG_INLINE_WRITE_UNLOCK=[-n]{+y}(#y)
CONFIG_INLINE_WRITE_UNLOCK_IRQ=[-n]{+y}(#y)

##
## file: kernel/Kconfig.preempt
##
CONFIG_PREEMPT=[-y]{+n}(#n)
CONFIG_PREEMPT_VOLUNTARY=[-n]{+y}(#y)

##
## file: lib/Kconfig
##
CONFIG_CRC16=[-y]{+m}(#y)
CONFIG_CRC7=[-y]{+m}(#m)
CONFIG_CRC_CCITT=[-y]{+m}(#y)
CONFIG_CRC_T10DIF=[-y]{+m}(#m)
CONFIG_DECOMPRESS_XZ=[-n]{+y}(#N/A, CONFIG_XZ_DEC=m)
CONFIG_GENERIC_ALLOCATOR=[-n]{+y}(#n)
CONFIG_LIBCRC32C=[-y]{+m}(#y)
CONFIG_LZO_COMPRESS=[-y]{+m}(#m)
CONFIG_ZLIB_DEFLATE=[-y]{+m}(#y)

##
## file: lib/Kconfig.debug
##
CONFIG_BKL=[-y]{+n}(#y)
CONFIG_BOOT_PRINTK_DELAY=[-n]{+y}(#n)
CONFIG_DEBUG_PREEMPT=[-y]{+n}(#n)
CONFIG_LOCKUP_DETECTOR=[-n]{+y}(#n)
CONFIG_SCHEDSTATS=[-y]{+n}(#n)
CONFIG_STRIP_ASM_SYMS=[-n]{+y}(#n)

##
## file: mm/Kconfig
##
CONFIG_COMPACTION=[-n]{+y}(#y)
CONFIG_KSM=[-n]{+y}(#y)
CONFIG_MIGRATION=[-n]{+y}(#y)

Especially those last 3 do things with memory, so it would be
helpful to know whether you also have them.

Yes, seems I do have the last three set.

Gordan


References