Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Time issues with netbsd 4.0



"Derrick Lobo" wrote:

> Thanks Simon
> 
> I have already using the sysctl parameter however I would prefer to add it
> to the kernel so that I do not have to worry about managing the sysctl file.
> 
> How do I add this option to the kernel while building one is the question..

It comes down to personal preference I guess.  To me, having a single
relatively non-changing file in /etc that gives the same behavour
regardless of what kernel I'm booting seems like less maintenance :-)

That said, I don't think there's a kernel option to do what you want -
you'd probably need to play with tc_quality value in arch/x86/x86/tsc.c
to bump it higher than than whatever is the default timecounter.  And
that's even more maintenance again...

It would also be nice to work out what the underlying problem is.  What
is the output of "sysctl kern.timecounter" on your system (before you
override kern.timecounter.hardware)?

Simon.


Home | Main Index | Thread Index | Old Index