[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2.6.12-rc4 lots faster than any kernel before?



On Sun, May 15, 2005 at 06:47:12PM +0200, Wolfgang Pfeiffer wrote:
> OK Matthias: I owe you a Pizza, family-size (at least ... :)
> 
> On Sun, May 15, 2005 at 01:41:56PM +0200, Matthias Grimm wrote:
> > On Sun, 15 May 2005 13:07:58 +0200
> > Wolfgang Pfeiffer <roto@gmx.net> wrote:

               [ ... ]

> 
>               MAXIMUM SPEED AFTER REBOOT?
> 
> And I'll reboot the machine in a minute to see, whether pbbuttons will
> be able with the new settings to automatically set this machine to
> maximum speed (Maximum, because it will be connected to the
> power-adapter). Until later ...
> 
> [Minutes later:]
> 
> It didn't work:
> /var/log/syslog:
> 
> May 15 17:03:53 debby pbbuttonsd: INFO: Script
> '/etc/power/pmcs-pbbuttonsd performance ac ' lauched but killed after
> 4 seconds
> 


I seems I got it working with the same CPU_FREQ settings as in my very first
2.6.12-rc4 config on
<http://www.geocities.com/wolfgangpfeiffer/config-2.6.12-rc4-selinux1.txt>

The trick that did it, with a little help from Matthias Grimm
(Matthias: I recompiled the kernel again for getting the following to
work, curious as you made me with your suggestion how to get it
working .. :) ... :

$ diff -u /etc/pbbuttonsd.conf /etc/pbbuttonsd.conf.050519 
--- /etc/pbbuttonsd.conf        2005-05-19 21:49:48.000000000 +0200
+++ /etc/pbbuttonsd.conf.050519 2005-05-19 21:49:32.000000000 +0200
@@ -4,7 +4,7 @@
 # [SYSTEM]
 #userallowed           = "paranoid" ; user who is allowed to use IPC
 autorescan            = no     ; automatic rescan of event devices
-CmdTimeout            = 10
+CmdTimeout            = 4
 
 # [MODULE POWERSAVE]
 onAC_policy           = performance    ; nochange, performance, custom or powersave


So setting pbbuttonsd to "CmdTimeout  = 10" seems to help ... :)

The CPU_FREQ kernel .config settings (URL please see above):

$ grep -i cpu config-2.6.12-rc4-selinux1.txt                
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
# CONFIG_CPU_FREQ_DEBUG is not set
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_STAT_DETAILS=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
# CONFIG_CPU_FREQ_GOV_PERFORMANCE is not set
# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
CONFIG_CPU_FREQ_GOV_USERSPACE=y
# CONFIG_CPU_FREQ_GOV_ONDEMAND is not set
CONFIG_CPU_FREQ_PMAC=y
# CONFIG_NET_SCH_CLK_CPU is not set

HTH

Thanks, Matthias Grimm ... :)

Best Regards
  Wolfgang

-- 
Wolfgang Pfeiffer
http://profiles.yahoo.com/wolfgangpfeiffer



Reply to: