[hoary] entries in /etc/sysctl.conf

Cef cef at optus.net
Mon Mar 7 20:26:17 UTC 2005


On Tue, 8 Mar 2005 04:33, ulrich steffens wrote:
> hi list,
> for some reason i read that increasing the value of
> '/proc/sys/dev/rtc/max-user-freq' to 1024 will enhance system
> performance while playing video/games, i added the entry
> 'dev/rtc/max-user-freq=1024' to /etc/sysctl.conf.
> (and indeed when playing Doom3 this makes a huge difference, if i
> manually increase this key)
>
> but everytime i start ubuntu it says
> 'error : dev.rtc.max-user-freq is an unknown key'
>
> and while i haven't the slightest clue where to look, can someone please
> point me in the right direction?

It could be possible that the sysctl entry you're trying to set isn't there at 
the time sysctl runs. I'm guessing this is due to a module being loaded by 
hotplug.

Try running 'sudo sysctl -P' yourself. If this works, then sysctl needs to be 
invoked again at boot, probably after hotplug gets run. You could then create 
a new script that contains 'sysctl -P', and make sure it's invoked after 
hotplug in your startup scripts.

-- 
 Stuart Young - aka Cefiar - cef at optus.net




More information about the ubuntu-users mailing list