Messages in this thread | | | Date | Thu, 26 Sep 2002 18:06:36 -0700 | From | george anzinger <> | Subject | Re: [PATCH] High-res-timers part 1 (core) |
| |
Benjamin LaHaise wrote: > > On Thu, Sep 26, 2002 at 05:16:35PM -0700, george anzinger wrote: > > hash list. This change makes it easy to configure the list > > size for those who are concerned with performance. It also > > eliminates the "time out" for the cascade operation every > > Could you make the list size configurable at boot time or by sysctl? > It's almost impossible for distro vendors to get these kinds of tunables > right for everyone, so making them dynamic is preferred. > > -ben Hm, that would require dynamic allocation of the memory, probably not an issue, but the masks would also need to be dynamic. The question is is it worth it. The 512 entry list seems to handle a very large number of timers with no trouble. We did tests measuring timer arm times with 4000 timers in the list. The slope was so low that we did not even try to increase the list size. -- George Anzinger george@mvista.com High-res-timers: http://sourceforge.net/projects/high-res-timers/ Preemption patch: http://www.kernel.org/pub/linux/kernel/people/rml - 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/
| |