-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Frédéric Grosshans wrote: > Le vendredi 15 avril 2005 à 13:51 +0200, Dirk Raeder a écrit : > > >>do you have a CPU that can modulate its frequency? IE clock down if there is >>low load and clock up if there is high load? > > > I don't think so (it's not a laptop). How do I check that ? > > >>In that case, activate HPET (high precision timer) in your kernel. This >>compensates the time drift caused by up/downclocking > > > Any way, HPET is activated : > root# gunzip -c /proc/config.gz | grep HPET > CONFIG_HPET_TIMER=y > CONFIG_HPET=y > # CONFIG_HPET_RTC_IRQ is not set > CONFIG_HPET_MMAP=y > Thanks for the suggestion anyway, > > Fred Hmm, activating HPET did the trick on my laptop - and I activated it on my AMD64 just to prevent time drift. So far, there is no drift (more than the usual few millisecs reported by ntp for internet delay). But I also set CONFIG_HPET_RTC_IRQ=y - that could be it.
For checking your CPU on frequency scaling: If you compiled the necessary functions into your kernel, do 'cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies' If your system reports more than one number, you have a scalable CPU. Otherwise, either recompile your kernel with the options set or look into your CPU specs. - -- Dirk Raeder I prefer encrypted and signed messages. My GPG key is available at hkp://blackhole.pca.dfn.de with ID 0x05EB5446 Registered Linux user #378554 http://counter.li.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCYLQJ2QYJ1wXrVEYRAtbFAKCYODodRHJOlWm6cPKq2qA2AaRaWQCghGEv S0CbtfwRv66rIooY4w8/8Xc= =ljkH -----END PGP SIGNATURE----- -- gentoo-user@gentoo.org mailing list