public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Pavel Machek <pavel@suse.cz>
Cc: George Anzinger <george@mvista.com>,
	john stultz <johnstul@us.ibm.com>,
	Andrea Arcangeli <andrea@suse.de>,
	Zwane Mwaikambo <zwane@arm.linux.org.uk>,
	Con Kolivas <kernel@kolivas.org>,
	Martin Schwidefsky <schwidefsky@de.ibm.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] dynamic tick patch
Date: Wed, 19 Jan 2005 09:11:06 -0800	[thread overview]
Message-ID: <20050119171106.GA14545@atomide.com> (raw)
In-Reply-To: <20050119113642.GA1358@elf.ucw.cz>

* Pavel Machek <pavel@suse.cz> [050119 03:32]:
> Hi!
> 
> > As this patch is related to the VST/High-Res timers, there
> > are probably various things that can be merged. I have not
> > yet looked at what all could be merged.
> > 
> > I'd appreciate some comments and testing!
> 
> Good news is that it does seem to reduce number of interrupts. Bad
> news is that time now runs faster (like "sleep 10" finishes in ~5
> seconds) and that I could not measure any difference in power
> consumption.

Thanks for trying it out. I have quite accurate time here on my
systems, and sleep works as it should. I wonder what's happening on
your system? If you have a chance, could you please post the results
from following simple tests?

Regards,

Tony

# dmesg | grep -i time
Using tsc for high-res timesource
dyn-tick: Registering dynamic tick timer
per-CPU timeslice cutoff: 731.77 usecs.
task migration cache decay timeout: 1 msecs.
..TIMER: vector=0x31 pin1=2 pin2=-1
Machine check exception polling timer started.
Real Time Clock Driver v1.12
dyn-tick: Enabling dynamic tick timer
dyn-tick: Timer using dynamic tick

# for i in 1 2 3 4 5; do ntpdate -b rinkeli && sleep 10; done
19 Jan 17:03:16 ntpdate[937]: step time server 192.168.100.254 offset -0.002639 sec
19 Jan 17:03:26 ntpdate[941]: step time server 192.168.100.254 offset -0.000374 sec
19 Jan 17:03:36 ntpdate[945]: step time server 192.168.100.254 offset -0.000100 sec
19 Jan 17:03:47 ntpdate[949]: step time server 192.168.100.254 offset -0.000530 sec
19 Jan 17:03:57 ntpdate[953]: step time server 192.168.100.254 offset -0.000841 sec

# date && sleep 10 && date
Wed Jan 19 17:05:35 UTC 2005
Wed Jan 19 17:05:45 UTC 2005

# while [ 1 ]; do date; done | uniq
Wed Jan 19 17:06:14 UTC 2005
Wed Jan 19 17:06:15 UTC 2005
Wed Jan 19 17:06:16 UTC 2005
Wed Jan 19 17:06:17 UTC 2005
...

  reply	other threads:[~2005-01-19 17:13 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-19  0:05 [PATCH] dynamic tick patch Tony Lindgren
2005-01-19  0:22 ` Lee Revell
2005-01-19  1:04   ` Tony Lindgren
2005-01-19  4:21 ` Benjamin Herrenschmidt
2005-01-19  5:07   ` Tony Lindgren
2005-01-19  5:21     ` Tony Lindgren
2005-01-19  5:44       ` Benjamin Herrenschmidt
2005-01-19  6:26         ` Tony Lindgren
2005-01-19  9:45           ` Pavel Machek
2005-01-19  5:28     ` Benjamin Herrenschmidt
2005-01-19  6:37       ` Tony Lindgren
2005-01-19  7:08         ` Benjamin Herrenschmidt
2005-01-19  7:31           ` Tony Lindgren
2005-01-19 14:11       ` Stephen Frost
2005-01-19 17:17         ` Tony Lindgren
     [not found]         ` <OFDC470564.D4624EB3-ON41256F8E.00512848-41256F8E.005428CC@de.ibm.com>
2005-01-19 17:37           ` Tony Lindgren
2005-01-19  9:43 ` Pavel Machek
2005-01-19 17:13   ` Tony Lindgren
2005-01-19 17:48     ` Andrea Arcangeli
2005-01-19 18:19       ` Tony Lindgren
2005-01-19 19:12         ` Andrea Arcangeli
2005-01-19 19:17           ` Tony Lindgren
2005-01-19 19:34             ` Tony Lindgren
2005-01-19 22:42               ` Andrea Arcangeli
2005-01-19 22:59       ` George Anzinger
2005-01-19 23:17         ` Tony Lindgren
2005-01-20  0:24           ` George Anzinger
2005-01-20  8:04             ` Tony Lindgren
2005-01-20 23:10               ` George Anzinger
2005-01-21 17:35                 ` Tony Lindgren
2005-01-21 20:23                   ` George Anzinger
2005-01-19 23:26         ` Thomas Gleixner
2005-01-19 23:45           ` john stultz
2005-01-20  5:56             ` Thomas Gleixner
2005-01-20  0:39           ` George Anzinger
2005-01-20  3:15         ` Valdis.Kletnieks
2005-01-19 11:36 ` Pavel Machek
2005-01-19 17:11   ` Tony Lindgren [this message]
2005-01-19 17:30     ` Arjan van de Ven
2005-01-19 17:41       ` Tony Lindgren
2005-01-19 22:06     ` Pavel Machek
2005-01-19 23:08       ` Tony Lindgren
2005-01-19 23:46         ` Pavel Machek
2005-01-19 23:53           ` Tony Lindgren
2005-01-19 23:59         ` Pavel Machek
2005-01-20  0:07           ` Tony Lindgren
2005-01-20  0:44             ` Pavel Machek
2005-01-20  0:54             ` Pavel Machek
2005-01-20  7:39               ` Tony Lindgren
2005-01-19 22:20     ` Pavel Machek
2005-01-20  4:02 ` Zwane Mwaikambo
2005-01-21 17:48   ` Tony Lindgren
2005-01-21 18:27     ` Zwane Mwaikambo
2005-01-21 18:38       ` Tony Lindgren
2005-01-21 18:54       ` Pavel Machek
2005-01-21 21:23         ` Zwane Mwaikambo
2005-01-21 21:29           ` Pavel Machek
2005-01-21 20:25       ` George Anzinger
2005-01-21 21:38         ` Zwane Mwaikambo
2005-01-22  7:24           ` George Anzinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050119171106.GA14545@atomide.com \
    --to=tony@atomide.com \
    --cc=andrea@suse.de \
    --cc=george@mvista.com \
    --cc=johnstul@us.ibm.com \
    --cc=kernel@kolivas.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@suse.cz \
    --cc=schwidefsky@de.ibm.com \
    --cc=zwane@arm.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox