Re: [PATCH] Dynamic tick, version 050127-1

2005-02-07 Thread George Anzinger
Pavel Machek wrote: Hi! I do have CONFIG_X86_PM_TIMER enabled, but it seems by board does not have such piece of hardware: [EMAIL PROTECTED]:/usr/src/linux-mm$ dmesg | grep -i "time\|tick\|apic" PCI: Setting latency timer of device :00:11.5 to 64 [EMAIL PROTECTED]:/usr/src/linux-mm$ If you

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-07 Thread George Anzinger
Pavel Machek wrote: Hi! I do have CONFIG_X86_PM_TIMER enabled, but it seems by board does not have such piece of hardware: [EMAIL PROTECTED]:/usr/src/linux-mm$ dmesg | grep -i time\|tick\|apic PCI: Setting latency timer of device :00:11.5 to 64 [EMAIL PROTECTED]:/usr/src/linux-mm$ If you are

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-06 Thread Pavel Machek
Hi! > > > > Ok, works slightly better: time no longer runs 2x too fast. When TSC > > > > is used, I get same behaviour as before ("sleepy machine"). With > > > > "notsc", machine seems to work okay, but I still get 1000 timer > > > > interrupts a second. > > > > > > Sounds like dyn-tick did not

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-06 Thread Tony Lindgren
* Pavel Machek <[EMAIL PROTECTED]> [050206 04:15]: > Hi! > > > +extern void disable_pit_tick(void); > > +extern void reprogram_pit_tick(int jiffies_to_skip); > > +extern void reprogram_apic_timer(unsigned int count); > > +extern void reprogram_pit_tick(int jiffies_to_skip); > >

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-06 Thread Tony Lindgren
* Pavel Machek <[EMAIL PROTECTED]> [050206 00:20]: > Hi! > > > > > Currently the suggested combo is local APIC + ACPI PM timer... > > > > > > Ok, works slightly better: time no longer runs 2x too fast. When TSC > > > is used, I get same behaviour as before ("sleepy machine"). With > > >

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-06 Thread Tony Lindgren
* Pavel Machek <[EMAIL PROTECTED]> [050206 00:50]: > Hi! > > > > > Ok, works slightly better: time no longer runs 2x too fast. When TSC > > > > is used, I get same behaviour as before ("sleepy machine"). With > > > > "notsc", machine seems to work okay, but I still get 1000 timer > > > >

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-06 Thread Pavel Machek
Hi! > +extern void disable_pit_tick(void); > +extern void reprogram_pit_tick(int jiffies_to_skip); > +extern void reprogram_apic_timer(unsigned int count); > +extern void reprogram_pit_tick(int jiffies_to_skip); reprogram_pit_tick is here twice; but perhaps this should be moved to some kind of

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-06 Thread Pavel Machek
Hi! > > I do have CONFIG_X86_PM_TIMER enabled, but it seems by board does not > > have such piece of hardware: > > > > [EMAIL PROTECTED]:/usr/src/linux-mm$ dmesg | grep -i "time\|tick\|apic" > > PCI: Setting latency timer of device :00:11.5 to 64 > > [EMAIL PROTECTED]:/usr/src/linux-mm$ >

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-06 Thread Lee Revell
On Sun, 2005-02-06 at 09:11 +0100, Pavel Machek wrote: > I do have CONFIG_X86_PM_TIMER enabled, but it seems by board does not > have such piece of hardware: > > [EMAIL PROTECTED]:/usr/src/linux-mm$ dmesg | grep -i "time\|tick\|apic" > PCI: Setting latency timer of device :00:11.5 to 64 >

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-06 Thread Pavel Machek
Hi! > > > Ok, works slightly better: time no longer runs 2x too fast. When TSC > > > is used, I get same behaviour as before ("sleepy machine"). With > > > "notsc", machine seems to work okay, but I still get 1000 timer > > > interrupts a second. > > > > Sounds like your system is not running

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-06 Thread Pavel Machek
Hi! > > > Ok, works slightly better: time no longer runs 2x too fast. When TSC > > > is used, I get same behaviour as before ("sleepy machine"). With > > > "notsc", machine seems to work okay, but I still get 1000 timer > > > interrupts a second. > > ... > > > > > Sounds like your system is

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-06 Thread Pavel Machek
Hi! > > > Currently the suggested combo is local APIC + ACPI PM timer... > > > > Ok, works slightly better: time no longer runs 2x too fast. When TSC > > is used, I get same behaviour as before ("sleepy machine"). With > > "notsc", machine seems to work okay, but I still get 1000 timer > >

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-06 Thread Pavel Machek
Hi! Currently the suggested combo is local APIC + ACPI PM timer... Ok, works slightly better: time no longer runs 2x too fast. When TSC is used, I get same behaviour as before (sleepy machine). With notsc, machine seems to work okay, but I still get 1000 timer interrupts a second.

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-06 Thread Pavel Machek
Hi! Ok, works slightly better: time no longer runs 2x too fast. When TSC is used, I get same behaviour as before (sleepy machine). With notsc, machine seems to work okay, but I still get 1000 timer interrupts a second. ... Sounds like your system is not running with the

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-06 Thread Pavel Machek
Hi! Ok, works slightly better: time no longer runs 2x too fast. When TSC is used, I get same behaviour as before (sleepy machine). With notsc, machine seems to work okay, but I still get 1000 timer interrupts a second. Sounds like your system is not running with the dyn-tick...

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-06 Thread Lee Revell
On Sun, 2005-02-06 at 09:11 +0100, Pavel Machek wrote: I do have CONFIG_X86_PM_TIMER enabled, but it seems by board does not have such piece of hardware: [EMAIL PROTECTED]:/usr/src/linux-mm$ dmesg | grep -i time\|tick\|apic PCI: Setting latency timer of device :00:11.5 to 64 [EMAIL

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-06 Thread Pavel Machek
Hi! I do have CONFIG_X86_PM_TIMER enabled, but it seems by board does not have such piece of hardware: [EMAIL PROTECTED]:/usr/src/linux-mm$ dmesg | grep -i time\|tick\|apic PCI: Setting latency timer of device :00:11.5 to 64 [EMAIL PROTECTED]:/usr/src/linux-mm$ If you are

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-06 Thread Pavel Machek
Hi! +extern void disable_pit_tick(void); +extern void reprogram_pit_tick(int jiffies_to_skip); +extern void reprogram_apic_timer(unsigned int count); +extern void reprogram_pit_tick(int jiffies_to_skip); reprogram_pit_tick is here twice; but perhaps this should be moved to some kind of

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-06 Thread Tony Lindgren
* Pavel Machek [EMAIL PROTECTED] [050206 00:50]: Hi! Ok, works slightly better: time no longer runs 2x too fast. When TSC is used, I get same behaviour as before (sleepy machine). With notsc, machine seems to work okay, but I still get 1000 timer interrupts a second.

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-06 Thread Tony Lindgren
* Pavel Machek [EMAIL PROTECTED] [050206 00:20]: Hi! Currently the suggested combo is local APIC + ACPI PM timer... Ok, works slightly better: time no longer runs 2x too fast. When TSC is used, I get same behaviour as before (sleepy machine). With notsc, machine seems to work

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-06 Thread Tony Lindgren
* Pavel Machek [EMAIL PROTECTED] [050206 04:15]: Hi! +extern void disable_pit_tick(void); +extern void reprogram_pit_tick(int jiffies_to_skip); +extern void reprogram_apic_timer(unsigned int count); +extern void reprogram_pit_tick(int jiffies_to_skip); reprogram_pit_tick is here

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-06 Thread Pavel Machek
Hi! Ok, works slightly better: time no longer runs 2x too fast. When TSC is used, I get same behaviour as before (sleepy machine). With notsc, machine seems to work okay, but I still get 1000 timer interrupts a second. Sounds like dyn-tick did not get enabled then, maybe

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-05 Thread Tony Lindgren
* Tony Lindgren <[EMAIL PROTECTED]> [050205 18:39]: > * Pavel Machek <[EMAIL PROTECTED]> [050205 15:08]: > > > > Ok, works slightly better: time no longer runs 2x too fast. When TSC > > is used, I get same behaviour as before ("sleepy machine"). With > > "notsc", machine seems to work okay, but

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-05 Thread Tony Lindgren
* Pavel Machek <[EMAIL PROTECTED]> [050205 15:08]: > Hi! > > > > > > It could also be that the reprogamming of PIT timer does not work on > > > > > your machine. I chopped off the udelays there... Can you try > > > > > something like this: > > > > > > > > I added the udelays, but behaviour did

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-05 Thread Pavel Machek
Hi! > > > > It could also be that the reprogamming of PIT timer does not work on > > > > your machine. I chopped off the udelays there... Can you try > > > > something like this: > > > > > > I added the udelays, but behaviour did not change. > > > > Yeah, and if the first patch was working

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-05 Thread Pavel Machek
Hi! It could also be that the reprogamming of PIT timer does not work on your machine. I chopped off the udelays there... Can you try something like this: I added the udelays, but behaviour did not change. Yeah, and if the first patch was working better, that means the PIT

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-05 Thread Tony Lindgren
* Pavel Machek [EMAIL PROTECTED] [050205 15:08]: Hi! It could also be that the reprogamming of PIT timer does not work on your machine. I chopped off the udelays there... Can you try something like this: I added the udelays, but behaviour did not change. Yeah, and

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-05 Thread Tony Lindgren
* Tony Lindgren [EMAIL PROTECTED] [050205 18:39]: * Pavel Machek [EMAIL PROTECTED] [050205 15:08]: Ok, works slightly better: time no longer runs 2x too fast. When TSC is used, I get same behaviour as before (sleepy machine). With notsc, machine seems to work okay, but I still get 1000

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-04 Thread Tony Lindgren
* Tony Lindgren <[EMAIL PROTECTED]> [050204 11:14]: > * Zwane Mwaikambo <[EMAIL PROTECTED]> [050204 09:54]: > > On Fri, 4 Feb 2005, Tony Lindgren wrote: > > > > > * Zwane Mwaikambo <[EMAIL PROTECTED]> [050204 09:31]: > > > > On Fri, 4 Feb 2005, Tony Lindgren wrote: > > > > > > > > > Yes, it's

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-04 Thread Tony Lindgren
* Zwane Mwaikambo <[EMAIL PROTECTED]> [050204 09:54]: > On Fri, 4 Feb 2005, Tony Lindgren wrote: > > > * Zwane Mwaikambo <[EMAIL PROTECTED]> [050204 09:31]: > > > On Fri, 4 Feb 2005, Tony Lindgren wrote: > > > > > > > Yes, it's safer to keep the timer periodic, although it's > > > > used for

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-04 Thread Zwane Mwaikambo
On Fri, 4 Feb 2005, Tony Lindgren wrote: > Yes, it's safer to keep the timer periodic, although it's > used for oneshot purposes for the skips. If the timer interrupt > got missed for some reason, the system would be able to recover when > it's in periodic mode. > > And with some timers, we can

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-04 Thread Zwane Mwaikambo
On Fri, 4 Feb 2005, Tony Lindgren wrote: > * Zwane Mwaikambo <[EMAIL PROTECTED]> [050204 09:31]: > > On Fri, 4 Feb 2005, Tony Lindgren wrote: > > > > > Yes, it's safer to keep the timer periodic, although it's > > > used for oneshot purposes for the skips. If the timer interrupt > > > got missed

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-04 Thread Tony Lindgren
* Zwane Mwaikambo <[EMAIL PROTECTED]> [050204 09:31]: > On Fri, 4 Feb 2005, Tony Lindgren wrote: > > > Yes, it's safer to keep the timer periodic, although it's > > used for oneshot purposes for the skips. If the timer interrupt > > got missed for some reason, the system would be able to recover

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-04 Thread Tony Lindgren
* Zwane Mwaikambo <[EMAIL PROTECTED]> [050203 22:33]: > On Thu, 3 Feb 2005, Tony Lindgren wrote: > > > > > > It could also be that the reprogamming of PIT timer does not work on > > > > > your machine. I chopped off the udelays there... Can you try > > > > > something like this: > > > > > > > >

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-04 Thread Tony Lindgren
* Zwane Mwaikambo [EMAIL PROTECTED] [050203 22:33]: On Thu, 3 Feb 2005, Tony Lindgren wrote: It could also be that the reprogamming of PIT timer does not work on your machine. I chopped off the udelays there... Can you try something like this: I added the udelays, but

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-04 Thread Tony Lindgren
* Zwane Mwaikambo [EMAIL PROTECTED] [050204 09:31]: On Fri, 4 Feb 2005, Tony Lindgren wrote: Yes, it's safer to keep the timer periodic, although it's used for oneshot purposes for the skips. If the timer interrupt got missed for some reason, the system would be able to recover when

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-04 Thread Zwane Mwaikambo
On Fri, 4 Feb 2005, Tony Lindgren wrote: * Zwane Mwaikambo [EMAIL PROTECTED] [050204 09:31]: On Fri, 4 Feb 2005, Tony Lindgren wrote: Yes, it's safer to keep the timer periodic, although it's used for oneshot purposes for the skips. If the timer interrupt got missed for some

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-04 Thread Zwane Mwaikambo
On Fri, 4 Feb 2005, Tony Lindgren wrote: Yes, it's safer to keep the timer periodic, although it's used for oneshot purposes for the skips. If the timer interrupt got missed for some reason, the system would be able to recover when it's in periodic mode. And with some timers, we can do the

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-04 Thread Tony Lindgren
* Zwane Mwaikambo [EMAIL PROTECTED] [050204 09:54]: On Fri, 4 Feb 2005, Tony Lindgren wrote: * Zwane Mwaikambo [EMAIL PROTECTED] [050204 09:31]: On Fri, 4 Feb 2005, Tony Lindgren wrote: Yes, it's safer to keep the timer periodic, although it's used for oneshot purposes for the

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-04 Thread Tony Lindgren
* Tony Lindgren [EMAIL PROTECTED] [050204 11:14]: * Zwane Mwaikambo [EMAIL PROTECTED] [050204 09:54]: On Fri, 4 Feb 2005, Tony Lindgren wrote: * Zwane Mwaikambo [EMAIL PROTECTED] [050204 09:31]: On Fri, 4 Feb 2005, Tony Lindgren wrote: Yes, it's safer to keep the timer

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-03 Thread Zwane Mwaikambo
On Thu, 3 Feb 2005, Tony Lindgren wrote: > > > > It could also be that the reprogamming of PIT timer does not work on > > > > your machine. I chopped off the udelays there... Can you try > > > > something like this: > > > > > > I added the udelays, but behaviour did not change. > > > > Yeah,

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-03 Thread Tony Lindgren
* Tony Lindgren <[EMAIL PROTECTED]> [050203 15:07]: > * Pavel Machek <[EMAIL PROTECTED]> [050203 02:57]: > > Hi! > > > > > > > > > > I used your config advices from second mail, still it does not > > > > > > > > work as > > > > > > > > expected: system gets "too sleepy". Like it takes a nap

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-03 Thread Tony Lindgren
* Pavel Machek <[EMAIL PROTECTED]> [050203 02:57]: > Hi! > > > > > > > > I used your config advices from second mail, still it does not > > > > > > > work as > > > > > > > expected: system gets "too sleepy". Like it takes a nap during > > > > > > > boot > > > > > > > after "dyn-tick: Maximum

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-03 Thread Pavel Machek
Hi! > > > > > > I used your config advices from second mail, still it does not work > > > > > > as > > > > > > expected: system gets "too sleepy". Like it takes a nap during boot > > > > > > after "dyn-tick: Maximum ticks to skip limited to 1339", and key is > > > > > > needed to make it

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-03 Thread Pavel Machek
Hi! I used your config advices from second mail, still it does not work as expected: system gets too sleepy. Like it takes a nap during boot after dyn-tick: Maximum ticks to skip limited to 1339, and key is needed to make it continue boot. Then cursor stops blinking

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-03 Thread Tony Lindgren
* Pavel Machek [EMAIL PROTECTED] [050203 02:57]: Hi! I used your config advices from second mail, still it does not work as expected: system gets too sleepy. Like it takes a nap during boot after dyn-tick: Maximum ticks to skip limited to 1339, and key

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-03 Thread Tony Lindgren
* Tony Lindgren [EMAIL PROTECTED] [050203 15:07]: * Pavel Machek [EMAIL PROTECTED] [050203 02:57]: Hi! I used your config advices from second mail, still it does not work as expected: system gets too sleepy. Like it takes a nap during boot after

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-03 Thread Zwane Mwaikambo
On Thu, 3 Feb 2005, Tony Lindgren wrote: It could also be that the reprogamming of PIT timer does not work on your machine. I chopped off the udelays there... Can you try something like this: I added the udelays, but behaviour did not change. Yeah, and if the first patch

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-02 Thread Tony Lindgren
* Pavel Machek <[EMAIL PROTECTED]> [050202 06:13]: > > Hi! > > > > > > I used your config advices from second mail, still it does not work as > > > > > expected: system gets "too sleepy". Like it takes a nap during boot > > > > > after "dyn-tick: Maximum ticks to skip limited to 1339", and key

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-02 Thread Pavel Machek
Hi! > > > > I used your config advices from second mail, still it does not work as > > > > expected: system gets "too sleepy". Like it takes a nap during boot > > > > after "dyn-tick: Maximum ticks to skip limited to 1339", and key is > > > > needed to make it continue boot. Then cursor stops

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-02 Thread Pavel Machek
Hi! > > > Hmmm, that sounds like the local APIC does not wake up the PIT > > > interrupt properly after sleep. Hitting the keys causes the timer > > > interrupt to get called, and that explains why it keeps running. But > > > the timer ticks are not happening as they should for some reason. > > >

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-02 Thread Pavel Machek
Hi! > I don't think it's HPET timer, or CONFIG_SMP. It also looks like your > local APIC timer is working. > > If you have a serial console, you can put one letter printks in the > code. Can you check if you ever get to smp_apic_timer_interrupt()? > That's where you should get to after the

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-02 Thread Pavel Machek
Hi! > > > Hmmm, that sounds like the local APIC does not wake up the PIT > > > interrupt properly after sleep. Hitting the keys causes the timer > > > interrupt to get called, and that explains why it keeps running. But > > > the timer ticks are not happening as they should for some reason. > > >

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-02 Thread Pavel Machek
Hi! I don't think it's HPET timer, or CONFIG_SMP. It also looks like your local APIC timer is working. If you have a serial console, you can put one letter printks in the code. Can you check if you ever get to smp_apic_timer_interrupt()? That's where you should get to after the sleep, and

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-02 Thread Pavel Machek
Hi! Hmmm, that sounds like the local APIC does not wake up the PIT interrupt properly after sleep. Hitting the keys causes the timer interrupt to get called, and that explains why it keeps running. But the timer ticks are not happening as they should for some reason. This should

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-02 Thread Pavel Machek
Hi! Hmmm, that sounds like the local APIC does not wake up the PIT interrupt properly after sleep. Hitting the keys causes the timer interrupt to get called, and that explains why it keeps running. But the timer ticks are not happening as they should for some reason. This should

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-02 Thread Pavel Machek
Hi! I used your config advices from second mail, still it does not work as expected: system gets too sleepy. Like it takes a nap during boot after dyn-tick: Maximum ticks to skip limited to 1339, and key is needed to make it continue boot. Then cursor stops blinking and

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-02 Thread Tony Lindgren
* Pavel Machek [EMAIL PROTECTED] [050202 06:13]: Hi! I used your config advices from second mail, still it does not work as expected: system gets too sleepy. Like it takes a nap during boot after dyn-tick: Maximum ticks to skip limited to 1339, and key is needed to make it

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-01 Thread Eric St-Laurent
On Tue, 2005-02-01 at 15:20 -0500, Lee Revell wrote: > I was wondering how Windows handles high res timers, if at all. The > reason I ask is because I have been reverse engineering a Windows ASIO > driver, and I find that if the latency is set below about 5ms, by By default, Windows

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-01 Thread Tony Lindgren
* Lee Revell <[EMAIL PROTECTED]> [050201 12:20]: > On Thu, 2005-01-27 at 13:29 -0800, Tony Lindgren wrote: > > Hi all, > > > > Thanks for all the comments, here's an updated version of the dynamic > > tick patch. > > Hi, > > I was wondering how Windows handles high res timers, if at all. The >

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-01 Thread Tony Lindgren
* Pavel Machek <[EMAIL PROTECTED]> [050201 13:50]: > Hi! > > > > I used your config advices from second mail, still it does not work as > > > expected: system gets "too sleepy". Like it takes a nap during boot > > > after "dyn-tick: Maximum ticks to skip limited to 1339", and key is > > > needed

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-01 Thread Pavel Machek
Hi! > > I used your config advices from second mail, still it does not work as > > expected: system gets "too sleepy". Like it takes a nap during boot > > after "dyn-tick: Maximum ticks to skip limited to 1339", and key is > > needed to make it continue boot. Then cursor stops blinking and > >

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-01 Thread Tony Lindgren
* Pavel Machek <[EMAIL PROTECTED]> [050201 03:03]: > Hi! > > > Thanks for all the comments, here's an updated version of the dynamic > > tick patch. > > > > I've fixed couple of things: > > > > - Dyn-tick now supports local APIC timer. This allows longer sleep time > > inbetween ticks, over

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-01 Thread Lee Revell
On Thu, 2005-01-27 at 13:29 -0800, Tony Lindgren wrote: > Hi all, > > Thanks for all the comments, here's an updated version of the dynamic > tick patch. Hi, I was wondering how Windows handles high res timers, if at all. The reason I ask is because I have been reverse engineering a Windows

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-01 Thread Pavel Machek
Hi! > Thanks for all the comments, here's an updated version of the dynamic > tick patch. > > I've fixed couple of things: > > - Dyn-tick now supports local APIC timer. This allows longer sleep time > inbetween ticks, over 1000 ticks compared to 54 ticks with PIT timer. > It seems to stop

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-01 Thread Pavel Machek
Hi! Thanks for all the comments, here's an updated version of the dynamic tick patch. I've fixed couple of things: - Dyn-tick now supports local APIC timer. This allows longer sleep time inbetween ticks, over 1000 ticks compared to 54 ticks with PIT timer. It seems to stop timers on

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-01 Thread Lee Revell
On Thu, 2005-01-27 at 13:29 -0800, Tony Lindgren wrote: Hi all, Thanks for all the comments, here's an updated version of the dynamic tick patch. Hi, I was wondering how Windows handles high res timers, if at all. The reason I ask is because I have been reverse engineering a Windows ASIO

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-01 Thread Tony Lindgren
* Pavel Machek [EMAIL PROTECTED] [050201 03:03]: Hi! Thanks for all the comments, here's an updated version of the dynamic tick patch. I've fixed couple of things: - Dyn-tick now supports local APIC timer. This allows longer sleep time inbetween ticks, over 1000 ticks compared

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-01 Thread Pavel Machek
Hi! I used your config advices from second mail, still it does not work as expected: system gets too sleepy. Like it takes a nap during boot after dyn-tick: Maximum ticks to skip limited to 1339, and key is needed to make it continue boot. Then cursor stops blinking and machine is hung

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-01 Thread Tony Lindgren
* Pavel Machek [EMAIL PROTECTED] [050201 13:50]: Hi! I used your config advices from second mail, still it does not work as expected: system gets too sleepy. Like it takes a nap during boot after dyn-tick: Maximum ticks to skip limited to 1339, and key is needed to make it continue

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-01 Thread Tony Lindgren
* Lee Revell [EMAIL PROTECTED] [050201 12:20]: On Thu, 2005-01-27 at 13:29 -0800, Tony Lindgren wrote: Hi all, Thanks for all the comments, here's an updated version of the dynamic tick patch. Hi, I was wondering how Windows handles high res timers, if at all. The reason I ask is

Re: [PATCH] Dynamic tick, version 050127-1

2005-02-01 Thread Eric St-Laurent
On Tue, 2005-02-01 at 15:20 -0500, Lee Revell wrote: I was wondering how Windows handles high res timers, if at all. The reason I ask is because I have been reverse engineering a Windows ASIO driver, and I find that if the latency is set below about 5ms, by By default, Windows multimedia

Re: [PATCH] Dynamic tick, version 050127-1

2005-01-27 Thread Tony Lindgren
* Tony Lindgren <[EMAIL PROTECTED]> [050127 13:34]: > Hi all, > > Thanks for all the comments, here's an updated version of the dynamic > tick patch. Oops, I guess I should test before posting :) Looks like CONFIG_X86_LOCAL_APIC=y is currenly needed on uniprocessor machines to compile. Also

[PATCH] Dynamic tick, version 050127-1

2005-01-27 Thread Tony Lindgren
Hi all, Thanks for all the comments, here's an updated version of the dynamic tick patch. I've fixed couple of things: - Dyn-tick now supports local APIC timer. This allows longer sleep time inbetween ticks, over 1000 ticks compared to 54 ticks with PIT timer. It seems to stop timers on SMP

[PATCH] Dynamic tick, version 050127-1

2005-01-27 Thread Tony Lindgren
Hi all, Thanks for all the comments, here's an updated version of the dynamic tick patch. I've fixed couple of things: - Dyn-tick now supports local APIC timer. This allows longer sleep time inbetween ticks, over 1000 ticks compared to 54 ticks with PIT timer. It seems to stop timers on SMP

Re: [PATCH] Dynamic tick, version 050127-1

2005-01-27 Thread Tony Lindgren
* Tony Lindgren [EMAIL PROTECTED] [050127 13:34]: Hi all, Thanks for all the comments, here's an updated version of the dynamic tick patch. Oops, I guess I should test before posting :) Looks like CONFIG_X86_LOCAL_APIC=y is currenly needed on uniprocessor machines to compile. Also