Re: [PATCH] Dynamic tick for x86 version 050602-2

Tony Lindgren
2005-06-02T20:36:06Z

* Christian Hesse <mail@earthworm.de> [050602 13:04]:
> On Thursday 02 June 2005 19:42, Tony Lindgren wrote:
> > * Christian Hesse <mail@earthworm.de> [050602 01:31]:
> > > On Thursday 02 June 2005 03:36, Tony Lindgren wrote:
> > > > Hi all,
> > > >
> > > > Here's an updated version of the dynamic tick patch.
> > > >
> > > > It's mostly clean-up and it's now using the standard
> > > > monotonic_clock() functions as suggested by John Stultz.
> > > >
> > > > Please let me know of any issues with the patch. I'll continue to do
> > > > more clean-up on it, but I think the basic functionality is done.
> > >
> > > I would like to test it, but have some trouble. The patch applies cleanly
> > > and everything compiles fine, but linking fails:
> > >
> > > [ linker errors ]
> >
> > Should be fixed now, the header was defining it as a function un UP
> > system with no local apic. Can you try the following version?
>
> This one compiles and links without problems.
>
> The reason I want to use this patch is that I hear a high pitched noise [1]
> when running with 1000Hz and the processor is idle. With this patch I could
> use 1000Hz without any noise.

Heh!

> But I found some problems on my system:
>
> - time does not run the correct speed, it was some minutes in future after I
> had compiled a new kernel

Could you please post output of the following commands:

$ dmesg | grep -i "time\|tick\|apic"

# for i in 1 2 3 4 5; do ntpdate -b someserver.somewhere && sleep 10; done

Also, please attach your .config file too.

> - pressing a key on the keyboard sometimes results in two or more characters,
> not only one
>
> - mouse misses some events, e.g. clicks are not recognized (synaptics
> touchpad)
>
> - using software suspend 2.1.8.10 I can suspend the system, but it hangs while
> resuming

None of this should happen...

Tony