lkml.org 
[lkml]   [2005]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] dynamic tick patch
Hi!


> > > Thanks. Looks like you're running on PIT only, I guess my patch
> > > currently breaks PIT (and possibly HPET) No dmesg message for "
> > > "Using XXX for high-res timesource".
> >
> > This machine definitely has TSC... What do I have to do in .config to
> > make it do something interesting? My .config is:
>
> I suspect it's the HPET_TIMER, see below. CONFIG_X86_PM_TIMER is
> optional, otherwise TSC is used.

Now it seems to work okay, see below.

root@amd:~# dmesg | grep -i time; for i in 1 2 3 4 5; do ntpdate -t 10 tak.cesnet.cz && sleep 10; done ; date && sleep 10 && date; while [ 1 ]; do date; done |
uniq
PCI: Setting latency timer of device 0000:00:11.5 to 64
dyn-tick: Enabling dynamic tick timer
dyn-tick: Timer using dynamic tick
20 Jan 01:39:45 ntpdate[1365]: step time server 195.113.144.238 offset -3.449324 sec
20 Jan 01:40:00 ntpdate[1371]: adjust time server 195.113.144.238 offset 0.005790 sec
20 Jan 01:40:15 ntpdate[1375]: adjust time server 195.113.144.238 offset 0.024061 sec
20 Jan 01:40:31 ntpdate[1380]: adjust time server 195.113.144.238 offset 0.004277 sec
20 Jan 01:40:46 ntpdate[1384]: adjust time server 195.113.144.238 offset 0.000283 sec
Thu Jan 20 01:40:56 CET 2005
Thu Jan 20 01:41:06 CET 2005
Thu Jan 20 01:41:06 CET 2005
Thu Jan 20 01:41:07 CET 2005
Thu Jan 20 01:41:08 CET 2005
Thu Jan 20 01:41:09 CET 2005
Thu Jan 20 01:41:10 CET 2005
Thu Jan 20 01:41:11 CET 2005

Timer interrupts are no longer that common, good.

root@amd:~# cat /proc/interrupts ; sleep 10; cat /proc/interrupts
CPU0
0: 16390 IO-APIC-edge timer
1: 646 IO-APIC-edge i8042
10: 49 IO-APIC-level acpi
12: 69 IO-APIC-edge i8042
14: 1688 IO-APIC-edge ide0
15: 14 IO-APIC-edge ide1
17: 1 IO-APIC-level yenta
19: 2 IO-APIC-level ohci1394
21: 1252 IO-APIC-level ehci_hcd, uhci_hcd, uhci_hcd, uhci_hcd
22: 0 IO-APIC-level VIA8233
23: 3 IO-APIC-level eth0
NMI: 0
LOC: 20306
ERR: 0
MIS: 0
CPU0
0: 16586 IO-APIC-edge timer
1: 647 IO-APIC-edge i8042
10: 49 IO-APIC-level acpi
12: 69 IO-APIC-edge i8042
14: 1744 IO-APIC-edge ide0
15: 14 IO-APIC-edge ide1
17: 1 IO-APIC-level yenta
19: 2 IO-APIC-level ohci1394
21: 1337 IO-APIC-level ehci_hcd, uhci_hcd, uhci_hcd, uhci_hcd
22: 0 IO-APIC-level VIA8233
23: 3 IO-APIC-level eth0
NMI: 0
LOC: 20647
ERR: 0
MIS: 0

Pavel
> --- config.orig 2005-01-19 16:05:16.000000000 -0800
> +++ config 2005-01-19 16:06:07.000000000 -0800
> @@ -103,7 +103,7 @@
> CONFIG_X86_GOOD_APIC=y
> CONFIG_X86_INTEL_USERCOPY=y
> CONFIG_X86_USE_PPRO_CHECKSUM=y
> -CONFIG_HPET_TIMER=y
> +# CONFIG_HPET_TIMER is not set
> CONFIG_NO_IDLE_HZ=y
> # CONFIG_SMP is not set
> CONFIG_PREEMPT=y
> @@ -169,7 +169,7 @@
> CONFIG_ACPI_POWER=y
> CONFIG_ACPI_PCI=y
> CONFIG_ACPI_SYSTEM=y
> -# CONFIG_X86_PM_TIMER is not set
> +CONFIG_X86_PM_TIMER=y
> # CONFIG_ACPI_CONTAINER is not set
>
> #


--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.114 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site