Re: Improving the kernel/i386 timecounter performance (GSoC proposal)

From: David Xu <davidxu_at_freebsd.org>
Date: Sun, 29 Mar 2009 08:35:45 +0800
Julian Elischer wrote:
> Scott Long wrote:
>> I've been talking about this for years.  All I need is help with the 
>> VM magic to create the page on fork.  I also want two pages, one global
>> for gettimeofday (and any other global data we can think of) and one
>> per-process for static data like getpid/getgid.
>
> interestingly it is even feasible to have a per-thread page..
> it requires that the scheduler change a page table entry tough.
>

I will knock his door at midnight if he added such a heavy weight
task in the scheduler, TLB shutdown is horrible, and big code size
squeezing out data from CPU cache is not idea model.
scheduler should be as simple as just a context switching routine.
:-)

David Xu
Received on Sat Mar 28 2009 - 23:35:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:45 UTC