Re: Dynamic ticks in FreeBSD

2010-04-05 Thread Tsuyoshi Ozawa
Thank you for replying, and sorry for delaying to reply for my network reason. I'm very happy that you all give me very useful advice :D 2010/3/31 Andriy Gapon : > 1. Instead of firing clock (LAPIC timer) interrupt regularly with a frequency > derived from HZ, the interrupt is scheduled to fire (i

Re: Dynamic ticks in FreeBSD

2010-04-01 Thread Dag-Erling Smørgrav
Julian Elischer writes: > Who are you? and what have you done with DES? I gave him a week off... DES -- Dag-Erling Smørgrav - d...@des.no ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubsc

Re: Dynamic ticks in FreeBSD

2010-04-01 Thread Dag-Erling Smørgrav
Tsuyoshi Ozawa writes: > Julian Elischer writes: > > Who are you? and what have you done with DES? > Sorry [...] Never mind, Julian was making a joke at my expense. DES -- Dag-Erling Smørgrav - d...@des.no ___ freebsd-hackers@freebsd.org mailing list

Re: Dynamic ticks in FreeBSD

2010-03-31 Thread John Baldwin
On Tuesday 30 March 2010 9:39:04 am Tsuyoshi Ozawa wrote: > Hello, > > I started to work dynamic ticks in FreeBSD, and now experimental > code start to work roughly. > The code is here : http://github.com/oza/FreeBSD-8.0-dyntick > > The timer interrupt handler works a

Re: Dynamic ticks in FreeBSD

2010-03-31 Thread Artem Belevich
It may be worth it to look at Solaris' cyclic facillity for ideas. sys/cddl/dev/cyclic/cyclic.c --Artem On Wed, Mar 31, 2010 at 7:22 AM, Roman Divacky wrote: > On Wed, Mar 31, 2010 at 04:05:33AM -0800, Tsuyoshi Ozawa wrote: >> Thank you for replying ! >> >> The patch for FreeBSD 8.0 original s

Re: Dynamic ticks in FreeBSD

2010-03-31 Thread Roman Divacky
On Wed, Mar 31, 2010 at 04:05:33AM -0800, Tsuyoshi Ozawa wrote: > Thank you for replying ! > > The patch for FreeBSD 8.0 original source is here : > http://gist.github.com/350230 looks good I wonder - why don't we store the callouts in binary tree so the searching for nearest callout is faster?

Re: Dynamic ticks in FreeBSD

2010-03-31 Thread Andriy Gapon
on 31/03/2010 15:05 Tsuyoshi Ozawa said the following: > Thank you for replying ! > > The patch for FreeBSD 8.0 original source is here : > http://gist.github.com/350230 > If this patch cause collision, I'm going to throw patch between > FreeBSD 8.0 HEAD and my chage. (sorry for this, I cannot con

Re: Dynamic ticks in FreeBSD

2010-03-31 Thread Tsuyoshi Ozawa
Thank you for replying ! The patch for FreeBSD 8.0 original source is here : http://gist.github.com/350230 If this patch cause collision, I'm going to throw patch between FreeBSD 8.0 HEAD and my chage. (sorry for this, I cannot connect to CVS repository now for network reason. It take a few days t

Re: Dynamic ticks in FreeBSD

2010-03-30 Thread Roman Divacky
On Tue, Mar 30, 2010 at 05:39:04AM -0800, Tsuyoshi Ozawa wrote: > Hello, > > I started to work dynamic ticks in FreeBSD, and now experimental > code start to work roughly. > The code is here : http://github.com/oza/FreeBSD-8.0-dyntick this is great! would it be possible for y

Re: Dynamic ticks in FreeBSD

2010-03-30 Thread Julian Elischer
On 3/30/10 6:45 AM, Dag-Erling Smørgrav wrote: Tsuyoshi Ozawa writes: I started to work dynamic ticks in FreeBSD, and now experimental code start to work roughly. This is great! I haven't looked at the patch, but I'm very happy that someone actually implemented this. We'

Re: Dynamic ticks in FreeBSD

2010-03-30 Thread Dag-Erling Smørgrav
Tsuyoshi Ozawa writes: > I started to work dynamic ticks in FreeBSD, and now experimental > code start to work roughly. This is great! I haven't looked at the patch, but I'm very happy that someone actually implemented this. We've been talking about it for years, and ther

Dynamic ticks in FreeBSD

2010-03-30 Thread Tsuyoshi Ozawa
Hello, I started to work dynamic ticks in FreeBSD, and now experimental code start to work roughly. The code is here : http://github.com/oza/FreeBSD-8.0-dyntick The timer interrupt handler works as follows : 1. Scan callout queue and get when the timer fire. This is the value we can skip. 2. Run